From 61537e1ebb06bb7e1ef1bf9a84eeee5286594c97 Mon Sep 17 00:00:00 2001 From: ediblerope Date: Wed, 3 Dec 2025 16:14:14 +0000 Subject: [PATCH] Update common.nix --- common.nix | 31 ++++++++++--------------------- 1 file changed, 10 insertions(+), 21 deletions(-) diff --git a/common.nix b/common.nix index 413d81f..ca56234 100644 --- a/common.nix +++ b/common.nix @@ -7,12 +7,22 @@ imports = [ ./settings/gnome.nix ./settings/locale.nix ./settings/audio.nix + ./settings/users.nix # Add all your hosts here ]; # Use latest kernel boot.kernelPackages = pkgs.linuxPackages_latest; +# Allow unfree packages +nixpkgs.config.allowUnfree = true; + +# Services +services.flatpak.enable = true; + +# Enable networking +networking.networkmanager.enable = true; + # Shell aliases environment.shellAliases = { update = "sudo nixos-rebuild switch --upgrade --option tarball-ttl 0"; @@ -25,27 +35,6 @@ environment.systemPackages = with pkgs; [ git ]; -# Define a user account. Don't forget to set a password with ‘passwd’. -users.users.fred = { - isNormalUser = true; - description = "fred"; - extraGroups = [ "networkmanager" "wheel" ]; - packages = with pkgs; [ - bazaar - fastfetch - ]; - }; -# Allow unfree packages -nixpkgs.config.allowUnfree = true; - -# Services -services.flatpak.enable = true; - -###################### -##BORING STUFF BELOW## -###################### -# Enable networking -networking.networkmanager.enable = true; }