diff --git a/flake.nix b/flake.nix index 96dea89..590881f 100644 --- a/flake.nix +++ b/flake.nix @@ -60,13 +60,6 @@ ./hosts/desktop/configuration.nix ]; }; - headless = lib.nixosSystem { - inherit system; - specialArgs = args; - modules = [ - ./hosts/headless/configuration.nix - ]; - }; }; homeConfigurations = { desktop = home-manager.lib.homeManagerConfiguration { diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix index 049f67f..c976776 100644 --- a/hosts/desktop/configuration.nix +++ b/hosts/desktop/configuration.nix @@ -1,7 +1,6 @@ { pkgs, - general, - builds, + myConfig, inputs, ... }: { @@ -12,16 +11,16 @@ ../../modules/system.nix ]; - environment.systemPackages = with pkgs; []; + environment.systemPackages = []; - nixpkgs.config.allowUnfree = general.allowUnfree; + nixpkgs.config.allowUnfree = myConfig.general.allowUnfree; nix.settings = { - trusted-users = builds.builder.trustedUsers; + trusted-users = myConfig.builds.builder.trustedUsers; experimental-features = ["nix-command" "flakes"]; }; - programs.ssh.extraConfig = general.ssh.extraConfig; + programs.ssh.extraConfig = myConfig.general.ssh.extraConfig; nix.distributedBuilds = true; nix.settings.builders-use-substitutes = true;