Minor refactor
This commit is contained in:
parent
e4a14d6c24
commit
d0caa47c9d
2 changed files with 7 additions and 7 deletions
13
flake.nix
13
flake.nix
|
@ -17,7 +17,7 @@
|
|||
imports = [ home-manager.nixosModules.home-manager ];
|
||||
config = {
|
||||
home-manager.users."riley" = a: lib.pipe a [
|
||||
(import path)
|
||||
(import "${path}/home.nix")
|
||||
(x: x // { imports = [ ./shared/home ]; })
|
||||
];
|
||||
};
|
||||
|
@ -27,7 +27,7 @@
|
|||
"thor" = lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
(mkUserConfig ./system/thor/home.nix)
|
||||
(mkUserConfig ./system/thor)
|
||||
./system/thor/core.nix
|
||||
./shared/core
|
||||
];
|
||||
|
@ -38,7 +38,7 @@
|
|||
"odin" = lib.nixosSystem {
|
||||
system = "aarch64-linux";
|
||||
modules = [
|
||||
(mkUserConfig ./system/odin/home.nix)
|
||||
(mkUserConfig ./system/odin)
|
||||
./system/odin/core.nix
|
||||
./shared/core
|
||||
];
|
||||
|
@ -48,13 +48,12 @@
|
|||
};
|
||||
|
||||
# Configurations for non-NixOS machines.
|
||||
homeConfigurations = {
|
||||
homeConfigurations = with home-manager.lib; {
|
||||
|
||||
"dev-lt-63" = home-manager.lib.homeManagerConfiguration {
|
||||
"dev-lt-63" = homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages."x86_64-linux";
|
||||
modules = [
|
||||
./system/dev-lt-63/home.nix
|
||||
./shared/home
|
||||
(mkUserConfig ./system/dev-lt-63)
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
|
||||
};
|
||||
|
||||
time.timeZone = "Europe/Amsterdam";
|
||||
environment.systemPackages = (import ../env.nix pkgs);
|
||||
|
||||
services.earlyoom.enable = true;
|
||||
|
|
Loading…
Reference in a new issue