nixos-config/hosts/graphical-installer/default.nix
Gabriel Arazas a1656caa3a hosts/graphical-installer: fix the erroneous attribute
Pretty much indicates how much I use it. :)
2022-11-30 08:36:37 +08:00

55 lines
1.1 KiB
Nix

{ self, lib, config, pkgs, inputs, modulesPath, ... }:
{
imports = [
"${modulesPath}/installer/cd-dvd/installation-cd-graphical-base.nix"
(lib.getUser "nixos" "nixos")
];
isoImage = {
isoBaseName = config.networking.hostName;
contents = [{
source = self;
target = "/bootstrap/";
}];
storeContents = [
self.devShells.${config.nixpkgs.system}.default
] ++ builtins.attrValues inputs;
};
profiles = {
desktop = {
enable = true;
fonts.enable = true;
};
dev = {
enable = true;
shell.enable = true;
neovim.enable = true;
};
};
workflows.workflows.a-happy-gnome.enable = true;
services.xserver.displayManager = {
gdm = {
enable = true;
autoSuspend = false;
};
autoLogin = {
enable = true;
user = "nixos";
};
};
networking.hostName = "graphical-installer";
boot = {
kernelPackages = pkgs.linuxPackages_latest;
loader.systemd-boot.enable = true;
supportedFilesystems = lib.mkForce [ "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "ntfs" "cifs" ];
};
users.users.root.password = "";
}