modified some files, removed backup files
This commit is contained in:
36
flake.nix
36
flake.nix
@@ -44,25 +44,23 @@
|
||||
lib = inputs.nixpkgs.lib;
|
||||
home-manager = inputs.home-manager;
|
||||
in {
|
||||
nixosConfiguration = {
|
||||
system = lib.nixosSystem {
|
||||
system = systemSettings.system;
|
||||
modules = [
|
||||
("./machines/" + systemSettings.machine + "/configuration.nix")
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.${userSettings.username} = import ("./machines/" + systemSettings.machine + "/home.nix");
|
||||
home-manager.extraSpecialArgs = {
|
||||
inherit userSettings;
|
||||
};
|
||||
}
|
||||
];
|
||||
specialArgs = {
|
||||
inherit systemSettings;
|
||||
inherit userSettings;
|
||||
inherit inputs;
|
||||
};
|
||||
nixosConfigurations.system = lib.nixosSystem {
|
||||
system = systemSettings.system;
|
||||
modules = [
|
||||
(./. + "/machines" + ("/" + systemSettings.machine) + "/configuration.nix")
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.${userSettings.username} = import (./. + "/machines" + ("/" + systemSettings.machine) + "/home.nix");
|
||||
home-manager.extraSpecialArgs = {
|
||||
inherit userSettings;
|
||||
};
|
||||
}
|
||||
];
|
||||
specialArgs = {
|
||||
inherit systemSettings;
|
||||
inherit userSettings;
|
||||
inherit inputs;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user