some refactoring

This commit is contained in:
2025-07-18 17:17:35 +02:00
parent 05e7a7d1ca
commit 15793a2c42
19 changed files with 172 additions and 199 deletions

View File

@@ -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
View 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";
};
};
}