diff options
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)) - ]; -} |