diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-05-16 16:06:11 +0300 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-05-16 16:06:11 +0300 |
| commit | 2c5db1c0de31ac1b16f77d5b2b7412e1d4e4afc3 (patch) | |
| tree | 7c6bb44aa007a2a89fb96e699a294c035d080a25 /hosts/laptop.nix | |
| parent | 4423b2f08f38c60b1e93c8a2182e6826768ceaa2 (diff) | |
Refactored NixOS config to be more modular
Diffstat (limited to 'hosts/laptop.nix')
| -rw-r--r-- | hosts/laptop.nix | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/hosts/laptop.nix b/hosts/laptop.nix index bf25017..f4a2603 100644 --- a/hosts/laptop.nix +++ b/hosts/laptop.nix @@ -1,22 +1,13 @@ -{ pkgs, inputs, ... }: { +{ ... }: { imports = [ ./hardware-configuration-laptop.nix - ../modules/common.nix - ../modules/kde.nix - ../modules/networking.nix + ./configuration.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; - }; - }; + development.enable = true; + } |
