This commit is contained in:
lsoriano-mcm
2025-06-28 21:16:53 -05:00
parent bdab858be2
commit fba74facdc
2 changed files with 5 additions and 13 deletions
-7
View File
@@ -60,13 +60,6 @@
./hosts/desktop/configuration.nix ./hosts/desktop/configuration.nix
]; ];
}; };
headless = lib.nixosSystem {
inherit system;
specialArgs = args;
modules = [
./hosts/headless/configuration.nix
];
};
}; };
homeConfigurations = { homeConfigurations = {
desktop = home-manager.lib.homeManagerConfiguration { desktop = home-manager.lib.homeManagerConfiguration {
+5 -6
View File
@@ -1,7 +1,6 @@
{ {
pkgs, pkgs,
general, myConfig,
builds,
inputs, inputs,
... ...
}: { }: {
@@ -12,16 +11,16 @@
../../modules/system.nix ../../modules/system.nix
]; ];
environment.systemPackages = with pkgs; []; environment.systemPackages = [];
nixpkgs.config.allowUnfree = general.allowUnfree; nixpkgs.config.allowUnfree = myConfig.general.allowUnfree;
nix.settings = { nix.settings = {
trusted-users = builds.builder.trustedUsers; trusted-users = myConfig.builds.builder.trustedUsers;
experimental-features = ["nix-command" "flakes"]; experimental-features = ["nix-command" "flakes"];
}; };
programs.ssh.extraConfig = general.ssh.extraConfig; programs.ssh.extraConfig = myConfig.general.ssh.extraConfig;
nix.distributedBuilds = true; nix.distributedBuilds = true;
nix.settings.builders-use-substitutes = true; nix.settings.builders-use-substitutes = true;