diff options
author | Simon Parri <simonparri@ganzeria.com> | 2025-06-14 15:01:30 -0500 |
---|---|---|
committer | Simon Parri <simonparri@ganzeria.com> | 2025-06-14 15:01:30 -0500 |
commit | 4e970f7cc35d2747af0baa6fca9df5abc18bee43 (patch) | |
tree | 4d1b5b1550d487c246cc90e7b0b735989958f6b5 /hosts/ades/iso.nix | |
parent | fdd799bf06c5d40cb8a3e8292ee76bff265765f9 (diff) | |
download | nixos-config-4e970f7cc35d2747af0baa6fca9df5abc18bee43.tar.gz nixos-config-4e970f7cc35d2747af0baa6fca9df5abc18bee43.zip |
hosts: Rename ades/* to bean/*
Diffstat (limited to 'hosts/ades/iso.nix')
-rw-r--r-- | hosts/ades/iso.nix | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/hosts/ades/iso.nix b/hosts/ades/iso.nix deleted file mode 100644 index b970685..0000000 --- a/hosts/ades/iso.nix +++ /dev/null @@ -1,71 +0,0 @@ -{ modulesPath, lib, tlib, config, pkgs, ... }: - -let - inherit (lib.attrsets) - mergeAttrsList; - inherit (builtins) - map; - - mkThinShim = tlib.mkThinShim pkgs; - - shimmedPackages = [ - "wesnoth" - "luanti" - "superTuxKart" - "mindustry" - "shattered-pixel-dungeon" - "bzflag" - "teeworlds" - "xonotic-glx" - "taisei" - "unvanquished" - "zeroad" - ]; -in -rec { - imports = [ - (modulesPath + "/installer/cd-dvd/iso-image.nix") - ]; - - isoImage = { - makeBiosBootable = true; - makeEfiBootable = true; - makeUsbBootable = true; - - isoBaseName = lib.mkImageMediaOverride "nixos-styx"; - - prependToMenuLabel = "Ades ("; - appendToMenuLabel = ") Live System"; - }; - - users.users.ades = { - description = "Ades"; - isNormalUser = true; - homeMode = "755"; - extraGroups = [ - "disk" "cdrom" - "audio" "video" - "lp" "networkmanager" - ]; - initialPassword = "persephone"; - }; - users.users.root.initialPassword = "olympus"; - - services.getty.autologinUser = "ades"; - services.getty.helpLine = '' - As you can see, you are automatically logged in to the "ades" user. - Run `startx' to obtain a graphical session. - - The password for the "ades" user is: ${users.users.ades.initialPassword} - The password for the "root" user is: ${users.users.root.initialPassword} - ''; - - nixpkgs.overlays = [ - (final: prev: - mergeAttrsList - (map (pname: { - "${pname}" = (mkThinShim prev.${pname} "nixpkgs#${pname}"); - }) - shimmedPackages)) - ]; -} |