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";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -33,6 +33,7 @@ in {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./modules.nix
|
||||
./options.nix
|
||||
];
|
||||
|
||||
time.hardwareClockInLocalTime = true;
|
||||
@@ -44,12 +45,12 @@ in {
|
||||
GEMINI_API_KEY = config.age.secrets.gcapi.path;
|
||||
};
|
||||
|
||||
programs.hyprland.settings = {
|
||||
monitor = [
|
||||
"DP-3,2560x1440@240,0x0,1,transform,0,bitdepth,10"
|
||||
"DP-4,1920x1080@60,auto,1,transform,3"
|
||||
];
|
||||
};
|
||||
# programs.hyprland.settings = {
|
||||
# monitor = [
|
||||
# "DP-3,2560x1440@240,0x0,1,transform,0,bitdepth,10"
|
||||
# "DP-4,1920x1080@60,auto,1,transform,3"
|
||||
# ];
|
||||
# };
|
||||
|
||||
# # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||
system.stateVersion = lib.mkDefault "23.11";
|
||||
|
||||
41
hosts/kima/options.nix
Normal file
41
hosts/kima/options.nix
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
accounts = {
|
||||
username = "cnst";
|
||||
mail = "adam@cnst.dev";
|
||||
sshUser = "kima";
|
||||
};
|
||||
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";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -35,6 +35,7 @@ in {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./modules.nix
|
||||
./options.nix
|
||||
./server.nix
|
||||
];
|
||||
|
||||
|
||||
7
hosts/sobotka/options.nix
Normal file
7
hosts/sobotka/options.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
accounts = {
|
||||
username = "cnst";
|
||||
mail = "adam@cnst.dev";
|
||||
sshUser = "sobotka";
|
||||
};
|
||||
}
|
||||
@@ -33,6 +33,7 @@ in {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./modules.nix
|
||||
./options.nix
|
||||
];
|
||||
|
||||
networking.hostName = "toothpc";
|
||||
|
||||
22
hosts/toothpc/options.nix
Normal file
22
hosts/toothpc/options.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
accounts = {
|
||||
username = "toothpick";
|
||||
mail = "place@holder";
|
||||
sshUser = "toothpc";
|
||||
};
|
||||
monitors = [
|
||||
{
|
||||
name = "DVI-D-1";
|
||||
width = 1920;
|
||||
height = 1080;
|
||||
refreshRate = 144;
|
||||
workspace = "1";
|
||||
}
|
||||
];
|
||||
theme = {
|
||||
background = {
|
||||
lockscreen = "wallpaper_2";
|
||||
desktop = "wallpaper_1";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user