diff --git a/nixos/config/balthasar.nix b/nixos/config/balthasar.nix new file mode 100644 index 0000000..622e5e4 --- /dev/null +++ b/nixos/config/balthasar.nix @@ -0,0 +1,3 @@ +{ self, ... }: { lib, config, pkgs, ... }: { + imports = with self.nixosModules; [ magi ]; +} diff --git a/nixos/config/casper.nix b/nixos/config/casper.nix new file mode 100644 index 0000000..622e5e4 --- /dev/null +++ b/nixos/config/casper.nix @@ -0,0 +1,3 @@ +{ self, ... }: { lib, config, pkgs, ... }: { + imports = with self.nixosModules; [ magi ]; +} diff --git a/nixos/config/melchior.nix b/nixos/config/melchior.nix new file mode 100644 index 0000000..622e5e4 --- /dev/null +++ b/nixos/config/melchior.nix @@ -0,0 +1,3 @@ +{ self, ... }: { lib, config, pkgs, ... }: { + imports = with self.nixosModules; [ magi ]; +} diff --git a/nixos/module/magi.nix b/nixos/module/magi.nix index 7ac1f2d..a5c3b2e 100644 --- a/nixos/module/magi.nix +++ b/nixos/module/magi.nix @@ -1,4 +1,10 @@ { self, ... }: { lib, config, pkgs, ... }: { + imports = with self.nixosModules; [ + default + mimalloc + physical + ]; + boot.kernelPackages = let inherit (self.packages.x86_64-linux) linux-hardened; in pkgs.linuxPackagesFor (linux-hardened.override { @@ -56,4 +62,12 @@ CEPH_FS_POSIX_ACL = true; }); }); + + ephemeral = { + device = "nodev"; + boot = { + device = "nodev"; + fsType = "vfat"; + }; + }; }