1
Fork 0

Update iso again

This commit is contained in:
prescientmoon 2024-08-27 22:11:56 +02:00
parent 1b962254d1
commit d650f153a1
Signed by: prescientmoon
SSH key fingerprint: SHA256:WFp/cO76nbarETAoQcQXuV+0h7XJsEsOCI0UsyPIy6U
2 changed files with 14 additions and 39 deletions

View file

@ -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";
}

View file

@ -14,23 +14,16 @@
imports = builtins.attrValues outputs.nixosModules ++ [ imports = builtins.attrValues outputs.nixosModules ++ [
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix" "${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
inputs.stylix.nixosModules.stylix
inputs.sops-nix.nixosModules.sops inputs.sops-nix.nixosModules.sops
../../../common
../common/users/pilot.nix
../common/global/wireless ../common/global/wireless
../common/global/services/openssh.nix
../common/global/cli/fish.nix ../common/global/cli/fish.nix
../common/global/cli/htop.nix
../common/optional/desktop
../common/optional/wayland/hyprland.nix
../common/optional/services/kanata.nix ../common/optional/services/kanata.nix
]; ];
# }}} # }}}
# {{{ Automount hermes # {{{ Automount hermes
fileSystems."/hermes" = { fileSystems."/hermes" = {
device = "/dev/disk/by-uuid/7FE7-CA68"; device = "/dev/disk/by-uuid/41311200-3403-4324-9ad3-4fc45a061152";
neededForBoot = true; neededForBoot = true;
options = [ options = [
"nofail" "nofail"
@ -54,8 +47,19 @@
# Tell sops-nix to use the hermes keys for decrypting secrets # Tell sops-nix to use the hermes keys for decrypting secrets
sops.age.sshKeyPaths = [ "/hermes/secrets/hermes/ssh_host_ed25519_key" ]; sops.age.sshKeyPaths = [ "/hermes/secrets/hermes/ssh_host_ed25519_key" ];
# Set username environment.systemPackages =
satellite.pilot.name = "moon"; 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 # Fast but bad compression
# isoImage.squashfsCompression = "gzip -Xcompression-level 1"; # isoImage.squashfsCompression = "gzip -Xcompression-level 1";