From d650f153a10e2d29c1f46e14f8c329ef3ca146cc Mon Sep 17 00:00:00 2001 From: prescientmoon Date: Tue, 27 Aug 2024 22:11:56 +0200 Subject: [PATCH] Update iso again --- home/iso.nix | 29 ----------------------------- hosts/nixos/iso/default.nix | 24 ++++++++++++++---------- 2 files changed, 14 insertions(+), 39 deletions(-) delete mode 100644 home/iso.nix diff --git a/home/iso.nix b/home/iso.nix deleted file mode 100644 index e10150d..0000000 --- a/home/iso.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ pkgs, ... }: -{ - # {{{ Imports - imports = [ - ./global.nix - ./features/desktop/foot.nix - ./features/wayland/hyprland - ]; - # }}} - # {{{ Arbitrary extra packages - programs.firefox.enable = true; - - home.packages = - let - cloneConfig = pkgs.writeShellScriptBin "liftoff" '' - git clone git@github.com:prescientmoon/everything-nix.git - cd everything-nix - ''; - in - with pkgs; - [ - sops # Secret editing - neovim # Text editor - cloneConfig # Clones my nixos config from github - ]; - # }}} - - home.stateVersion = "24.05"; -} diff --git a/hosts/nixos/iso/default.nix b/hosts/nixos/iso/default.nix index eb56492..5549c46 100644 --- a/hosts/nixos/iso/default.nix +++ b/hosts/nixos/iso/default.nix @@ -14,23 +14,16 @@ imports = builtins.attrValues outputs.nixosModules ++ [ "${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix" - inputs.stylix.nixosModules.stylix inputs.sops-nix.nixosModules.sops - ../../../common - ../common/users/pilot.nix ../common/global/wireless - ../common/global/services/openssh.nix ../common/global/cli/fish.nix - ../common/global/cli/htop.nix - ../common/optional/desktop - ../common/optional/wayland/hyprland.nix ../common/optional/services/kanata.nix ]; # }}} # {{{ Automount hermes fileSystems."/hermes" = { - device = "/dev/disk/by-uuid/7FE7-CA68"; + device = "/dev/disk/by-uuid/41311200-3403-4324-9ad3-4fc45a061152"; neededForBoot = true; options = [ "nofail" @@ -54,8 +47,19 @@ # Tell sops-nix to use the hermes keys for decrypting secrets sops.age.sshKeyPaths = [ "/hermes/secrets/hermes/ssh_host_ed25519_key" ]; - # Set username - satellite.pilot.name = "moon"; + environment.systemPackages = + let + cloneConfig = pkgs.writeShellScriptBin "liftoff" '' + git clone git@github.com:prescientmoon/everything-nix.git + cd everything-nix + ''; + in + with pkgs; + [ + sops # Secret editing + neovim # Text editor + cloneConfig # Clones my nixos config from github + ]; # Fast but bad compression # isoImage.squashfsCompression = "gzip -Xcompression-level 1";