diff --git a/flake.nix b/flake.nix index 6e2d0e6..bffbfec 100644 --- a/flake.nix +++ b/flake.nix @@ -51,7 +51,7 @@ in { nixosConfigurations = let - normalSys = name: config: nixpkgs.lib.nixosSystem { + normalSys = name: hostConfig: nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit inputs; @@ -59,7 +59,7 @@ modules = [ ({ config, pkgs, ... }: { # Make "pkgs.unstable" etc. available - nixpkgs.overlays = [ pkgs-overlay ] ++ config.overlays or [ ]; + nixpkgs.overlays = [ pkgs-overlay ] ++ hostConfig.overlays or [ ]; }) ./hosts/${name}/configuration.nix @@ -69,9 +69,9 @@ home-manager.useUserPackages = true; home-manager.users = { "felixalb" = import ./hosts/${name}/home.nix; - } // config.home-manager-users or { }; + } // hostConfig.home-manager-users or { }; } - ] ++ config.modules or [ ]; + ] ++ hostConfig.modules or [ ]; }; in { @@ -107,8 +107,7 @@ morn = normalSys "morn" { }; # Home desktop - sisko = normalSys "sisko" { - }; + sisko = normalSys "sisko" { }; }; # Daily driver macbook diff --git a/hosts/sisko/configuration.nix b/hosts/sisko/configuration.nix index 2105396..18d2b02 100644 --- a/hosts/sisko/configuration.nix +++ b/hosts/sisko/configuration.nix @@ -57,6 +57,10 @@ spiceUSBRedirection.enable = true; }; + environment.systemPackages = with pkgs; [ + virtiofsd + ]; + nixpkgs.config = { allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "copilot.vim" @@ -68,6 +72,7 @@ permittedInsecurePackages = [ "openssl-1.1.1w" ]; + rocmSupport = true; }; services.fwupd.enable = true; diff --git a/hosts/sisko/home.nix b/hosts/sisko/home.nix index fdbb1ef..637f85c 100644 --- a/hosts/sisko/home.nix +++ b/hosts/sisko/home.nix @@ -31,7 +31,7 @@ swayimg thunderbird tor-browser - unstable.bambu-studio + # unstable.bambu-studio unstable.bolt-launcher exiftool