nixos-config/hosts/graphical-installer/default.nix
Gabriel Arazas 7ae53c1563 profiles/desktop: rename into profiles/system
It is causing some confusion since it is slowly gaining some
non-desktop-related functions too. A rename would be appropriate now.
2022-04-17 11:00:38 +08:00

50 lines
1.0 KiB
Nix

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