From bfd970a07c231b5781871c16cb4612eb4c6b8fd4 Mon Sep 17 00:00:00 2001 From: aethrvmn Date: Sun, 31 Aug 2025 16:21:34 +0200 Subject: imported system/home-manager config --- modules/common/default.nix | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 modules/common/default.nix (limited to 'modules/common/default.nix') 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 + # or + # $ nh search + environment.systemPackages = with pkgs; [ + alacritty + git + helix + xdg-utils + ]; +} + -- cgit v1.2.3