Added desktop device. Still need to generate hardware-config

This commit is contained in:
Jurn Wubben 2025-07-09 20:08:03 +02:00
parent c1808817df
commit 265f2d11bb
3 changed files with 48 additions and 0 deletions

View file

@ -20,6 +20,7 @@ in {
"laptop"
"lapserv"
"minimal"
"desktop"
];
in {
# Systems

38
hosts/desktop/default.nix Normal file
View file

@ -0,0 +1,38 @@
{
imports = [
./hardware-configuration.nix
];
niksos = {
hardware = {
bluetooth = true;
printer = true;
};
neovim = true;
desktop = {
games = true;
enable = true;
hyprland = false; #TODO: flip both, just trying if it works.
kde = true;
};
};
home-manager.users.jsw.wayland.windowManager.hyprland.settings = {
monitor = [
"DP-3,2560x1440@165,0x0,1,vrr,1"
"HDMI-A-1,1920x1080,2560x540,1"
];
workspace = [
"workspace = 1, monitor:DP-3"
"workspace = 2, monitor:DP-3"
"workspace = 3, monitor:DP-3"
"workspace = 4, monitor:HDMI-A-1"
"workspace = 5, monitor:HDMI-A-1"
"workspace = 6, monitor:DP-3"
"workspace = 7, monitor:DP-3"
"workspace = 8, monitor:DP-3"
"workspace = 9, monitor:DP-3"
"workspace = 0, monitor:HDMI-A-1"
];
};
}

View file

@ -0,0 +1,9 @@
# To be generated...
{
nixpkgs.hostPlatform = "x86_64-linux";
fileSystems."/" = {
device = "/dev/sda1";
fsType = "ext4";
};
}