Add a profile for the office computer

This commit is contained in:
Manuel Thalmann 2024-12-30 12:08:51 +01:00
parent 39f522dc60
commit 63c4f815c5
2 changed files with 40 additions and 20 deletions

View file

@ -46,26 +46,7 @@
DerGeret = import ./profiles/machines/manuel/DerGeret/Arch/config.nix; DerGeret = import ./profiles/machines/manuel/DerGeret/Arch/config.nix;
ManuSurface = import ./profiles/machines/manuel/ManuSurface/Arch/config.nix; ManuSurface = import ./profiles/machines/manuel/ManuSurface/Arch/config.nix;
server = import ./profiles/machines/manuel/server.nix; server = import ./profiles/machines/manuel/server.nix;
clean = { ... }: { Office = import ./profiles/machines/manuel/office.nix;
imports = [
./lib/modules/valhalla.nix
];
config = {
valhalla = {
hostname = "Falcon";
windows = {
users.LocalAdmin = {
groups = [ "Administrators" ];
programs.oh-my-posh.theme.source = ./profiles/users/manuel/manuel.omp.json;
};
};
software.essential = true;
};
};
};
}; };
}; };
} }

View file

@ -0,0 +1,39 @@
{ lib, ... }: {
imports = [
./defaults.nix
./Generic/Arch/config.nix
];
config = {
valhalla = {
hostname = "falcon";
hidpi = true;
linux.secureBoot = true;
windows = {
dualboot = {
enable = true;
linuxPercentage = 70;
};
users.manuel = {
groups = [ "Administrators" ];
};
};
fileSystems.diskSetup.devices.OS.partitions = {
# Keep Windows' boot partition
Boot.keepExisting = true;
Windows = {
index = 6;
label = "Windows";
format = "ntfs";
mountPoint = "/media/win";
mountOptions = [ "force" ];
keepExisting = true;
};
};
};
};
}