diff --git a/nixos/common.nix b/nixos/common.nix index fac3781..1a7869c 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -1,4 +1,4 @@ -{ ... }: +{ pkgs, ... }: { nix.settings.experimental-features = "nix-command flakes"; @@ -18,4 +18,22 @@ LC_TELEPHONE = "en_GB.UTF-8"; LC_TIME = "en_GB.UTF-8"; }; + + users.users.irl = { + isNormalUser = true; + description = "irl"; + extraGroups = [ + "networkmanager" + "wheel" + ]; + }; + + nixpkgs.config.allowUnfree = true; + + environment.systemPackages = with pkgs; [ + curl + home-manager + neovim + wget + ]; } diff --git a/nixos/hosts/laptop/default.nix b/nixos/hosts/laptop/default.nix index 21e6574..6c87681 100644 --- a/nixos/hosts/laptop/default.nix +++ b/nixos/hosts/laptop/default.nix @@ -32,24 +32,6 @@ pulse.enable = true; }; - users.users.irl = { - isNormalUser = true; - description = "irl"; - extraGroups = [ - "networkmanager" - "wheel" - ]; - }; - - nixpkgs.config.allowUnfree = true; - - environment.systemPackages = with pkgs; [ - curl - home-manager - neovim - wget - ]; - hardware.gpgSmartcards.enable = true; programs.gnupg.agent = { enable = true;