2023-06-23 03:46:37 +00:00
|
|
|
{ lib, config, pkgs, inputs, ... }:
|
2022-03-01 15:07:56 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
(lib.getUser "nixos" "nixos")
|
|
|
|
];
|
|
|
|
|
|
|
|
isoImage = {
|
|
|
|
isoBaseName = config.networking.hostName;
|
|
|
|
contents = [{
|
2023-06-23 03:46:37 +00:00
|
|
|
source = inputs.self;
|
2022-03-01 15:07:56 +00:00
|
|
|
target = "/bootstrap/";
|
|
|
|
}];
|
|
|
|
storeContents = [
|
2023-06-23 03:46:37 +00:00
|
|
|
inputs.self.devShells.${config.nixpkgs.system}.default
|
2022-03-01 15:07:56 +00:00
|
|
|
] ++ builtins.attrValues inputs;
|
|
|
|
};
|
|
|
|
|
|
|
|
profiles = {
|
2022-11-29 13:03:30 +00:00
|
|
|
desktop = {
|
2022-03-01 15:07:56 +00:00
|
|
|
enable = true;
|
|
|
|
fonts.enable = true;
|
|
|
|
};
|
|
|
|
dev = {
|
|
|
|
enable = true;
|
|
|
|
shell.enable = true;
|
|
|
|
neovim.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-09-01 14:44:37 +00:00
|
|
|
workflows.workflows.a-happy-gnome.enable = true;
|
2022-03-01 15:07:56 +00:00
|
|
|
services.xserver.displayManager = {
|
|
|
|
gdm = {
|
|
|
|
enable = true;
|
|
|
|
autoSuspend = false;
|
|
|
|
};
|
|
|
|
autoLogin = {
|
|
|
|
enable = true;
|
|
|
|
user = "nixos";
|
|
|
|
};
|
|
|
|
};
|
2022-11-29 02:46:14 +00:00
|
|
|
|
|
|
|
boot = {
|
|
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
loader.systemd-boot.enable = true;
|
|
|
|
supportedFilesystems = lib.mkForce [ "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "ntfs" "cifs" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
users.users.root.password = "";
|
|
|
|
|
2022-03-01 15:07:56 +00:00
|
|
|
}
|