feat: fw remove unstable packages
This commit is contained in:
parent
eccac4d4a2
commit
aaf5f79895
2 changed files with 4 additions and 12 deletions
|
|
@ -1,11 +1,7 @@
|
|||
{ config, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
unstable = import
|
||||
(builtins.fetchTarball https://github.com/nixos/nixpkgs/tarball/nixpkgs-unstable)
|
||||
# reuse the current configuration
|
||||
{ config = config.nixpkgs.config; };
|
||||
in {
|
||||
services.home-assistant.customComponents = with unstable.home-assistant-custom-components; [
|
||||
services.home-assistant.customComponents = with pkgs.home-assistant-custom-components; [
|
||||
epex_spot
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -2,10 +2,6 @@
|
|||
|
||||
let
|
||||
hostname = "vscode-server";
|
||||
unstable = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz") {
|
||||
config = config.nixpkgs.config;
|
||||
system = pkgs.system;
|
||||
};
|
||||
in {
|
||||
microvm.vms.${hostname} = {
|
||||
autostart = true;
|
||||
|
|
@ -24,7 +20,7 @@ in {
|
|||
};
|
||||
|
||||
environment.systemPackages = [
|
||||
unstable.ddev
|
||||
pkgs.ddev
|
||||
];
|
||||
|
||||
# Docker is required for ddev
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue