diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-04-20 01:34:33 +0300 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-04-20 01:34:33 +0300 |
| commit | 286340b6f12e438616c01018ec8882e46f63f846 (patch) | |
| tree | 4deea2baf11520cc5d56bd1a9ff2b00ff6e196df /hosts/laptop.nix | |
| parent | 0c9444b0ce0fe243d857a00ac7f646c3adac0aa2 (diff) | |
Refactored nix config to make it slightly more modular
Diffstat (limited to 'hosts/laptop.nix')
| -rw-r--r-- | hosts/laptop.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/hosts/laptop.nix b/hosts/laptop.nix new file mode 100644 index 0000000..c9eea83 --- /dev/null +++ b/hosts/laptop.nix @@ -0,0 +1,22 @@ +{ config, pkgs, inputs, ... }: { + + imports = [ + ./hardware-configuration-laptop.nix + ../modules/common.nix + ../modules/kde.nix + ../modules/networking.nix + ../modules/laptop.nix + inputs.home-manager.nixosModules.default + ]; + + networking.hostName = "kyren-laptop"; + + home-manager = { + extraSpecialArgs = { inherit inputs pkgs; }; + useUserPackages = true; + useGlobalPkgs = true; + users = { + "kyren" = import ./home.nix; + }; + }; +} |
