diff options
Diffstat (limited to 'modules/common/default.nix')
| -rw-r--r-- | modules/common/default.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/modules/common/default.nix b/modules/common/default.nix new file mode 100644 index 0000000..f34cd8f --- /dev/null +++ b/modules/common/default.nix @@ -0,0 +1,45 @@ +{ config, pkgs, ... }: +{ + imports =[ + # names are self explanatory + ./adguard + ./fonts + ./gnupg + ./i18n + ./nh + ./pipewire + ./searx + ./ssh + ./users + ./xserver + ]; + + nix = { + settings = { + # Enable flakes + experimental-features = [ "nix-command" "flakes" ]; + + # Optimize storage + auto-optimise-store = true; + }; + }; + + # Allow unfree packages + nixpkgs = { + config.allowUnfree = true; + }; + + # List packages installed in system profile. + # These should be tools in case user tools brake. + # To search, run: + # $ nix search <pkgname> + # or + # $ nh search <pkgname> + environment.systemPackages = with pkgs; [ + alacritty + git + helix + xdg-utils + ]; +} + |
