summaryrefslogtreecommitdiff
path: root/nixos/features/global
diff options
context:
space:
mode:
authortriethyl <triethylammonium@pm.me>2025-09-02 10:48:21 -0400
committertriethyl <triethylammonium@pm.me>2025-09-02 10:48:21 -0400
commit31c316d19cd974bb81a5d6de62142ff24db1c78e (patch)
treecb941422c76cb8953830a8d58c8e14dca1a10319 /nixos/features/global
parent1c21018347aa277caba74e554cb8d1b1e7fc6bed (diff)
reorganized directory structure
Diffstat (limited to 'nixos/features/global')
-rw-r--r--nixos/features/global/agenix.nix7
-rw-r--r--nixos/features/global/nix.nix13
-rw-r--r--nixos/features/global/noxterm.nix3
3 files changed, 23 insertions, 0 deletions
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 ];
+}