summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-11-02 00:15:19 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-11-02 00:15:19 +0100
commit86ccf1964b5e30ead1b5f0d8ad376f9aa655d684 (patch)
treee15c0c338518c34c1e7066a1bded2ade641564f2 /hosts
parent42984e77041cfc95d333319bef0b2d8f441f56d3 (diff)
downloadnixos-86ccf1964b5e30ead1b5f0d8ad376f9aa655d684.tar
nixos-86ccf1964b5e30ead1b5f0d8ad376f9aa655d684.tar.gz
nixos-86ccf1964b5e30ead1b5f0d8ad376f9aa655d684.tar.bz2
nixos-86ccf1964b5e30ead1b5f0d8ad376f9aa655d684.tar.xz
nixos-86ccf1964b5e30ead1b5f0d8ad376f9aa655d684.zip
tmpfs-root system-profile
Diffstat (limited to 'hosts')
-rw-r--r--hosts/eostre/default.nix3
-rw-r--r--hosts/surtr/default.nix7
-rw-r--r--hosts/vidhar/default.nix8
3 files changed, 2 insertions, 16 deletions
diff --git a/hosts/eostre/default.nix b/hosts/eostre/default.nix
index 4aa6473e..e20929b4 100644
--- a/hosts/eostre/default.nix
+++ b/hosts/eostre/default.nix
@@ -67,9 +67,6 @@ with lib;
67 zramSwap.enable = true; 67 zramSwap.enable = true;
68 68
69 system.stateVersion = config.system.nixos.release; # No state 69 system.stateVersion = config.system.nixos.release; # No state
70 security.sudo.extraConfig = ''
71 Defaults lecture = never
72 '';
73 70
74 71
75 time.timeZone = "Europe/Berlin"; 72 time.timeZone = "Europe/Berlin";
diff --git a/hosts/surtr/default.nix b/hosts/surtr/default.nix
index e031c9b3..92d0088c 100644
--- a/hosts/surtr/default.nix
+++ b/hosts/surtr/default.nix
@@ -1,7 +1,7 @@
1{ flake, pkgs, lib, ... }: 1{ flake, pkgs, lib, ... }:
2{ 2{
3 imports = with flake.nixosModules.systemProfiles; [ 3 imports = with flake.nixosModules.systemProfiles; [
4 qemu-guest openssh rebuild-machines zfs 4 tmpfs-root qemu-guest openssh rebuild-machines zfs
5 ./zfs.nix ./dns ./tls ./http ./bifrost ./matrix ./postgresql.nix ./prometheus ./email ./vpn 5 ./zfs.nix ./dns ./tls ./http ./bifrost ./matrix ./postgresql.nix ./prometheus ./email ./vpn
6 ]; 6 ];
7 7
@@ -30,11 +30,6 @@
30 }; 30 };
31 31
32 fileSystems = { 32 fileSystems = {
33 "/" = {
34 fsType = "tmpfs";
35 options = [ "mode=0755" ];
36 };
37
38 "/boot" = 33 "/boot" =
39 { device = "/dev/disk/by-label/boot"; 34 { device = "/dev/disk/by-label/boot";
40 fsType = "vfat"; 35 fsType = "vfat";
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix
index fc77f03c..2f86c368 100644
--- a/hosts/vidhar/default.nix
+++ b/hosts/vidhar/default.nix
@@ -5,6 +5,7 @@ with lib;
5{ 5{
6 imports = with flake.nixosModules.systemProfiles; [ 6 imports = with flake.nixosModules.systemProfiles; [
7 ./zfs.nix ./network ./samba.nix ./dns ./prometheus ./borg 7 ./zfs.nix ./network ./samba.nix ./dns ./prometheus ./borg
8 tmpfs-root
8 initrd-all-crypto-modules default-locale openssh rebuild-machines 9 initrd-all-crypto-modules default-locale openssh rebuild-machines
9 build-server 10 build-server
10 initrd-ssh 11 initrd-ssh
@@ -55,13 +56,6 @@ with lib;
55 }; 56 };
56 }; 57 };
57 58
58 fileSystems = {
59 "/" = {
60 fsType = "tmpfs";
61 options = [ "mode=0755" ];
62 };
63 };
64
65 services.timesyncd.enable = false; 59 services.timesyncd.enable = false;
66 services.chrony = { 60 services.chrony = {
67 enable = true; 61 enable = true;