Added desktop device. Still need to generate hardware-config
This commit is contained in:
parent
c1808817df
commit
265f2d11bb
3 changed files with 48 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ in {
|
||||||
"laptop"
|
"laptop"
|
||||||
"lapserv"
|
"lapserv"
|
||||||
"minimal"
|
"minimal"
|
||||||
|
"desktop"
|
||||||
];
|
];
|
||||||
in {
|
in {
|
||||||
# Systems
|
# Systems
|
||||||
|
|
|
||||||
38
hosts/desktop/default.nix
Normal file
38
hosts/desktop/default.nix
Normal 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"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
9
hosts/desktop/hardware-configuration.nix
Normal file
9
hosts/desktop/hardware-configuration.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
# To be generated...
|
||||||
|
{
|
||||||
|
nixpkgs.hostPlatform = "x86_64-linux";
|
||||||
|
|
||||||
|
fileSystems."/" = {
|
||||||
|
device = "/dev/sda1";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue