mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
52 lines
1019 B
Nix
52 lines
1019 B
Nix
{ lib, config, pkgs, inputs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
(lib.getUser "nixos" "nixos")
|
|
];
|
|
|
|
isoImage = {
|
|
isoBaseName = config.networking.hostName;
|
|
contents = [{
|
|
source = inputs.self;
|
|
target = "/bootstrap/";
|
|
}];
|
|
storeContents = [
|
|
inputs.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";
|
|
};
|
|
};
|
|
|
|
boot = {
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
|
loader.systemd-boot.enable = true;
|
|
supportedFilesystems = lib.mkForce [ "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "ntfs" "cifs" ];
|
|
};
|
|
|
|
users.users.root.password = "";
|
|
|
|
}
|