From b37bb85cd72dc3aca02aaa99d944f92ce75246f2 Mon Sep 17 00:00:00 2001 From: Christian Date: Fri, 17 Apr 2026 12:03:46 -0500 Subject: Formatting --- modules/common.nix | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) (limited to 'modules/common.nix') 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; } - -- cgit v1.2.3