summaryrefslogtreecommitdiff
path: root/features/system/global
diff options
context:
space:
mode:
authoroutremonde <outremonde@vivaldi.net>2025-06-10 20:32:00 -0400
committeroutremonde <outremonde@vivaldi.net>2025-06-10 20:32:00 -0400
commit9786eb8672213344d8d1b7bdef12bc94510b20db (patch)
treeb7d79440800c92d32187ab32c636b0830c94a610 /features/system/global
initialized repository
Former-commit-id: 84647f22b951a957b2b83885b612115d473f6626
Diffstat (limited to 'features/system/global')
-rw-r--r--features/system/global/agenix.nix7
-rw-r--r--features/system/global/nix.nix13
-rw-r--r--features/system/global/noxterm.nix3
3 files changed, 23 insertions, 0 deletions
diff --git a/features/system/global/agenix.nix b/features/system/global/agenix.nix
new file mode 100644
index 0000000..f232886
--- /dev/null
+++ b/features/system/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/features/system/global/nix.nix b/features/system/global/nix.nix
new file mode 100644
index 0000000..a0ece02
--- /dev/null
+++ b/features/system/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/features/system/global/noxterm.nix b/features/system/global/noxterm.nix
new file mode 100644
index 0000000..44c0917
--- /dev/null
+++ b/features/system/global/noxterm.nix
@@ -0,0 +1,3 @@
+{ pkgs, ... }: {
+ services.xserver.excludePackages = [ pkgs.xterm ];
+}