aboutsummaryrefslogtreecommitdiff
path: root/hosts/common
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-05 17:02:58 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-05 17:02:58 -0700
commite69ed57ab173b558c3e8bcdb3cbc228fc7ccbc3a (patch)
tree2334080d13341b3af19671ec94dd518d97f55959 /hosts/common
parentsound: add a new module (diff)
downloadinfra-e69ed57ab173b558c3e8bcdb3cbc228fc7ccbc3a.tar.gz
nix: refactor to a module
Diffstat (limited to 'hosts/common')
-rw-r--r--hosts/common/system/default.nix1
-rw-r--r--hosts/common/system/nix.nix18
2 files changed, 0 insertions, 19 deletions
diff --git a/hosts/common/system/default.nix b/hosts/common/system/default.nix
index f519766..2e34ede 100644
--- a/hosts/common/system/default.nix
+++ b/hosts/common/system/default.nix
@@ -6,7 +6,6 @@
./hardware.nix
./locale.nix
./network.nix
- ./nix.nix
./security.nix
./software.nix
./ssh.nix
diff --git a/hosts/common/system/nix.nix b/hosts/common/system/nix.nix
deleted file mode 100644
index 48379a4..0000000
--- a/hosts/common/system/nix.nix
+++ /dev/null
@@ -1,18 +0,0 @@
-{ lib, pkgs, ... }:
-
-{
- # Enable flakes and new 'nix' command
- nix = {
- package = pkgs.nixFlakes;
- extraOptions = ''
- experimental-features = nix-command flakes
- '';
- autoOptimiseStore = true;
- trustedUsers = [ "root" "@wheel" ];
-
- gc = {
- automatic = true;
- options = "--delete-older-than 14d";
- };
- };
-}