mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-08 17:27:22 +08:00
fix
This commit is contained in:
parent
3cd8b9ea57
commit
b37fe38117
1 changed files with 4 additions and 6 deletions
10
flake.nix
10
flake.nix
|
|
@ -22,7 +22,7 @@
|
|||
let
|
||||
system = "x86_64-linux";
|
||||
# Make configuration for any computer I use in my home office.
|
||||
mkHomeMachine = bare: configurationNix: extraModules: nixpkgs.lib.nixosSystem {
|
||||
mkHomeMachine = configurationNix: extraModules: nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
# Arguments to pass to all modules.
|
||||
specialArgs = { inherit system inputs; };
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.srid = import ./home.nix {
|
||||
inherit inputs system bare;
|
||||
inherit inputs system;
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
};
|
||||
}
|
||||
|
|
@ -58,7 +58,6 @@
|
|||
#
|
||||
nixosConfigurations = {
|
||||
p71 = mkHomeMachine
|
||||
false
|
||||
./hosts/p71.nix
|
||||
[
|
||||
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-p53
|
||||
|
|
@ -81,9 +80,8 @@
|
|||
./features/gnome.nix
|
||||
./features/desktopish/guiapps.nix
|
||||
];
|
||||
facade = mkHomeMachine
|
||||
true
|
||||
./hosts/facade.nix
|
||||
ryzen9 = mkHomeMachine
|
||||
./hosts/ryzen9.nix
|
||||
[
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue