about summary refs log tree commit diff
path: root/hosts/commons/system
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hosts/commons/system/boot.nix8
-rw-r--r--hosts/commons/system/default.nix (renamed from modules/systems/default.nix)5
-rw-r--r--hosts/commons/system/motd.nix (renamed from modules/systems/motd.nix)0
-rw-r--r--hosts/commons/system/network.nix (renamed from hosts/commons/network.nix)0
-rw-r--r--hosts/commons/system/nix.nix (renamed from modules/systems/nix.nix)0
-rw-r--r--hosts/commons/system/software.nix (renamed from modules/systems/software.nix)0
-rw-r--r--hosts/commons/system/ssh.nix (renamed from modules/systems/ssh.nix)0
-rw-r--r--hosts/commons/system/users.nix (renamed from modules/systems/users.nix)0
8 files changed, 10 insertions, 3 deletions
diff --git a/hosts/commons/system/boot.nix b/hosts/commons/system/boot.nix
new file mode 100644
index 0000000..974b072
--- /dev/null
+++ b/hosts/commons/system/boot.nix
@@ -0,0 +1,8 @@
+{ pkgs, config, lib, ... }:
+
+{
+  boot = {
+    kernelPackages = pkgs.linuxPackages_latest;
+    tmpOnTmpfs = true;
+  };
+}
diff --git a/modules/systems/default.nix b/hosts/commons/system/default.nix
index 27fb53b..64cb51b 100644
--- a/modules/systems/default.nix
+++ b/hosts/commons/system/default.nix
@@ -2,16 +2,15 @@
 
 {
   imports = [
+    ./boot.nix
     ./motd.nix
+    ./network.nix
     ./nix.nix
     ./software.nix
     ./ssh.nix
     ./users.nix
   ];
 
-  boot.kernelPackages = pkgs.linuxPackages_latest;
-  boot.tmpOnTmpfs = true;
-
   # Select internationalisation properties.
   i18n.defaultLocale = "en_US.UTF-8";
   console = {
diff --git a/modules/systems/motd.nix b/hosts/commons/system/motd.nix
index 898d03f..898d03f 100644
--- a/modules/systems/motd.nix
+++ b/hosts/commons/system/motd.nix
diff --git a/hosts/commons/network.nix b/hosts/commons/system/network.nix
index df5aa27..df5aa27 100644
--- a/hosts/commons/network.nix
+++ b/hosts/commons/system/network.nix
diff --git a/modules/systems/nix.nix b/hosts/commons/system/nix.nix
index 48379a4..48379a4 100644
--- a/modules/systems/nix.nix
+++ b/hosts/commons/system/nix.nix
diff --git a/modules/systems/software.nix b/hosts/commons/system/software.nix
index fa919ae..fa919ae 100644
--- a/modules/systems/software.nix
+++ b/hosts/commons/system/software.nix
diff --git a/modules/systems/ssh.nix b/hosts/commons/system/ssh.nix
index 0ecca80..0ecca80 100644
--- a/modules/systems/ssh.nix
+++ b/hosts/commons/system/ssh.nix
diff --git a/modules/systems/users.nix b/hosts/commons/system/users.nix
index 2b769c4..2b769c4 100644
--- a/modules/systems/users.nix
+++ b/hosts/commons/system/users.nix