aboutsummaryrefslogtreecommitdiff
path: root/modules/common/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/common/default.nix45
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
+ ];
+}
+
Directive (EU) 2019/790, Article 4(3); all rights regarding Text and Data Mining (TDM) are reserved.