feat: fw remove unstable packages
This commit is contained in:
@@ -1,11 +1,7 @@
|
|||||||
{ config, ... }:
|
{ config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
unstable = import
|
|
||||||
(builtins.fetchTarball https://github.com/nixos/nixpkgs/tarball/nixpkgs-unstable)
|
|
||||||
# reuse the current configuration
|
|
||||||
{ config = config.nixpkgs.config; };
|
|
||||||
in {
|
in {
|
||||||
services.home-assistant.customComponents = with unstable.home-assistant-custom-components; [
|
services.home-assistant.customComponents = with pkgs.home-assistant-custom-components; [
|
||||||
epex_spot
|
epex_spot
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -2,10 +2,6 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
hostname = "vscode-server";
|
hostname = "vscode-server";
|
||||||
unstable = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz") {
|
|
||||||
config = config.nixpkgs.config;
|
|
||||||
system = pkgs.system;
|
|
||||||
};
|
|
||||||
in {
|
in {
|
||||||
microvm.vms.${hostname} = {
|
microvm.vms.${hostname} = {
|
||||||
autostart = true;
|
autostart = true;
|
||||||
@@ -24,7 +20,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
unstable.ddev
|
pkgs.ddev
|
||||||
];
|
];
|
||||||
|
|
||||||
# Docker is required for ddev
|
# Docker is required for ddev
|
||||||
|
|||||||
Reference in New Issue
Block a user