mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
d6f3f11611
Ehhh... It's going to have an error since the wireless network setup does not have enough priority for the appropriate image format configuration.
56 lines
1.1 KiB
Nix
56 lines
1.1 KiB
Nix
{ self, lib, config, pkgs, inputs, modulesPath, ... }:
|
|
|
|
{
|
|
imports = [
|
|
(lib.getUser "nixos" "nixos")
|
|
];
|
|
|
|
isoImage = {
|
|
isoBaseName = config.networking.hostName;
|
|
contents = [{
|
|
source = self;
|
|
target = "/bootstrap/";
|
|
}];
|
|
storeContents = [
|
|
self.devShells.${config.nixpkgs.system}.default
|
|
] ++ builtins.attrValues inputs;
|
|
};
|
|
|
|
networking.wireless.enable = lib.mkForce false;
|
|
|
|
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 = "";
|
|
|
|
}
|