diff options
| author | Christian <[email protected]> | 2026-04-17 12:03:46 -0500 |
|---|---|---|
| committer | Christian <[email protected]> | 2026-04-17 12:03:46 -0500 |
| commit | b37bb85cd72dc3aca02aaa99d944f92ce75246f2 (patch) | |
| tree | bc185b306e5af248b866240dcc4771845811b760 /modules/common.nix | |
| parent | 0b77660443280e0dbfccf1b55785ea6db5ac2d62 (diff) | |
Formatting
Diffstat (limited to 'modules/common.nix')
| -rw-r--r-- | modules/common.nix | 29 |
1 files changed, 22 insertions, 7 deletions
diff --git a/modules/common.nix b/modules/common.nix index 6ca9591..091b8c9 100644 --- a/modules/common.nix +++ b/modules/common.nix @@ -1,4 +1,10 @@ -{ config, lib, pkgs, inputs, ... }: +{ + config, + lib, + pkgs, + inputs, + ... +}: { imports = [ @@ -9,7 +15,10 @@ nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ]; # Experimental features - nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nix.settings.experimental-features = [ + "nix-command" + "flakes" + ]; # Configure network connections interactively with nmcli or nmtui. networking.networkmanager.enable = true; @@ -30,10 +39,17 @@ # User users.users.christian = { - isNormalUser = true; - extraGroups = [ "wheel" "video" "render" "docker" ]; - }; - home-manager.users.christian = import ./home/christian.nix; + isNormalUser = true; + extraGroups = [ + "wheel" + "video" + "render" + "docker" + ]; + }; + home-manager.users.christian = { + imports = [ ./home/christian.nix ]; + }; home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; @@ -70,4 +86,3 @@ programs.nix-index-database.comma.enable = true; programs.command-not-found.enable = false; } - |
