From 31c316d19cd974bb81a5d6de62142ff24db1c78e Mon Sep 17 00:00:00 2001 From: triethyl Date: Tue, 2 Sep 2025 10:48:21 -0400 Subject: reorganized directory structure --- nixos/features/global/agenix.nix | 7 +++++++ nixos/features/global/nix.nix | 13 +++++++++++++ nixos/features/global/noxterm.nix | 3 +++ 3 files changed, 23 insertions(+) create mode 100644 nixos/features/global/agenix.nix create mode 100644 nixos/features/global/nix.nix create mode 100644 nixos/features/global/noxterm.nix (limited to 'nixos/features/global') diff --git a/nixos/features/global/agenix.nix b/nixos/features/global/agenix.nix new file mode 100644 index 0000000..f232886 --- /dev/null +++ b/nixos/features/global/agenix.nix @@ -0,0 +1,7 @@ +{ pkgs, inputs, ...}: { + imports = [ inputs.agenix.nixosModules.default ]; + environment.systemPackages = [ + inputs.agenix.packages.${pkgs.system}.default + ]; + age.identityPaths = [ "/etc/ssh/ssh_host_ed25519_key" ]; +} diff --git a/nixos/features/global/nix.nix b/nixos/features/global/nix.nix new file mode 100644 index 0000000..a0ece02 --- /dev/null +++ b/nixos/features/global/nix.nix @@ -0,0 +1,13 @@ +{ ... }: { + nix = { + settings = { + experimental-features = [ "nix-command" "flakes" ]; + auto-optimise-store = true; + }; + gc = { + automatic = true; + dates = "daily"; + options = "-d 5"; + }; + }; +} diff --git a/nixos/features/global/noxterm.nix b/nixos/features/global/noxterm.nix new file mode 100644 index 0000000..44c0917 --- /dev/null +++ b/nixos/features/global/noxterm.nix @@ -0,0 +1,3 @@ +{ pkgs, ... }: { + services.xserver.excludePackages = [ pkgs.xterm ]; +} -- cgit v1.2.3