Skip to content

Commit

Permalink
2024/07/14-00:14:11
Browse files Browse the repository at this point in the history
  • Loading branch information
1nv0k32 committed Jul 13, 2024
1 parent 82af122 commit 483dfd9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 18 deletions.
2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@
];
};
}

# vim:expandtab ts=2 sw=2
18 changes: 4 additions & 14 deletions misc/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,10 @@
user-config.baseModules ++ localModules ++ [ (import "${inputs.user-config}/system/z13.nix") ];
};

"vmnyx" = user-config.inputs.nixpkgs.lib.nixosSystem {
"wslnix" = user-config.inputs.nixpkgs.lib.nixosSystem {
system = user-config.system;
specialArgs = {
hostName = "vmnyx";
stateVersion = user-config.stateVersion;
system = user-config.system;
inputs = user-config.inputs;
};
modules =
user-config.baseModules ++ localModules ++ [ (import "${inputs.user-config}/system/vm.nix") ];
};

"nixos" = user-config.inputs.nixpkgs.lib.nixosSystem {
system = user-config.system;
specialArgs = {
hostName = "nixos";
hostName = "wslnix";
stateVersion = user-config.stateVersion;
system = user-config.system;
inputs = user-config.inputs;
Expand All @@ -60,3 +48,5 @@
};
};
}

# vim:expandtab ts=2 sw=2
12 changes: 8 additions & 4 deletions src/base.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@ with lib;
imports = [ (import ./users.nix) ];

nix = {
settings.experimental-features = mkDefault [
"nix-command"
"flakes"
];
optimise.automatic = mkDefault true;
settings = {
auto-optimise-store = mkDefault true;
experimental-features = mkDefault [
"nix-command"
"flakes"
];
};
};

documentation.nixos.enable = mkDefault false;
Expand Down

0 comments on commit 483dfd9

Please sign in to comment.