From 3c1c079d19ffe515a7077cdb31124e9d42af5f79 Mon Sep 17 00:00:00 2001 From: blahai Date: Sun, 27 Oct 2024 03:07:44 +0300 Subject: [PATCH] new host: Epimetheus (installer) --- flake.nix | 20 ++++++++++------ hosts/epimetheus/configuration.nix | 37 ++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 7 deletions(-) create mode 100644 hosts/epimetheus/configuration.nix diff --git a/flake.nix b/flake.nix index 635ae58..7f2b326 100644 --- a/flake.nix +++ b/flake.nix @@ -76,13 +76,13 @@ ]; }; - helios = nixpkgs.lib.nixosSystem { - modules = [ - ./hosts/helios/configuration.nix - # inputs.home-manager.nixosModules.default - chaotic.nixosModules.default - ]; - }; + # helios = nixpkgs.lib.nixosSystem { + # modules = [ + # ./hosts/helios/configuration.nix + # # inputs.home-manager.nixosModules.default + # chaotic.nixosModules.default + # ]; + # }; theia = nixpkgs.lib.nixosSystem { modules = [ @@ -90,6 +90,12 @@ disko.nixosModules.disko ]; }; + + epimetheus = nixpkgs.lib.nixosSystem { + modules = [ + ./hosts/epimetheus/configuration.nix + ]; + }; }; }; } diff --git a/hosts/epimetheus/configuration.nix b/hosts/epimetheus/configuration.nix new file mode 100644 index 0000000..266f604 --- /dev/null +++ b/hosts/epimetheus/configuration.nix @@ -0,0 +1,37 @@ +{ pkgs, modulesPath, ... }: { + + imports = [ + "${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix" + ]; + + boot.kernelPackages = pkgs.linuxPackages_6_11; + + nixpkgs.hostPlatform = "x86_64-linux"; + + environment.systemPackages = with pkgs; [ + neovim + disko + parted + git + nixd + ]; + + networking = { + networkmanager.enable = true; + wireless.enable = true; + }; + + nix = { + package = pkgs.lix; + settings = { + experimental-features = [ "nix-command" "flakes" "auto-allocate-uids" ]; + max-jobs = "auto"; + sandbox = true; + auto-optimise-store = true; + keep-going = true; + warn-dirty = false; + use-xdg-base-directories = true; + }; + }; + +}