some refactoring
This commit is contained in:
@@ -33,6 +33,7 @@ in {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./modules.nix
|
||||
./options.nix
|
||||
];
|
||||
|
||||
networking.hostName = "bunk";
|
||||
@@ -46,12 +47,6 @@ in {
|
||||
|
||||
environment.variables.NH_FLAKE = "/home/cnst/.nix-config";
|
||||
|
||||
programs.hyprland.settings = {
|
||||
monitor = [
|
||||
"eDP-1,1920x1200@60,0x0,1,transform,0"
|
||||
];
|
||||
};
|
||||
|
||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||
system.stateVersion = lib.mkDefault "23.11";
|
||||
}
|
||||
|
||||
41
hosts/bunk/options.nix
Normal file
41
hosts/bunk/options.nix
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
accounts = {
|
||||
username = "cnst";
|
||||
mail = "adam@cnst.dev";
|
||||
sshUser = "bunk";
|
||||
};
|
||||
monitors = [
|
||||
{
|
||||
name = "DP-3";
|
||||
width = 2560;
|
||||
height = 1440;
|
||||
refreshRate = 240;
|
||||
position = "0x0";
|
||||
transform = 0;
|
||||
bitDepth = 10;
|
||||
workspace = "1";
|
||||
}
|
||||
{
|
||||
name = "HDMI-A-1";
|
||||
width = 1920;
|
||||
height = 1080;
|
||||
refreshRate = 60;
|
||||
position = "2560x0";
|
||||
# transform = 3;
|
||||
workspace = "5";
|
||||
}
|
||||
{
|
||||
name = "eDP-1";
|
||||
width = 1920;
|
||||
height = 1200;
|
||||
refreshRate = 60;
|
||||
workspace = "1";
|
||||
}
|
||||
];
|
||||
theme = {
|
||||
background = {
|
||||
lockscreen = "wallpaper_2";
|
||||
desktop = "wallpaper_1";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user