92 lines
1.9 KiB
Nix
92 lines
1.9 KiB
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib) mkForce;
|
|
inherit (config.networking) hostName;
|
|
inherit (config.systemConf) username;
|
|
in
|
|
{
|
|
home-manager.users."${username}" = {
|
|
home.sessionVariables = {
|
|
BROWSER = mkForce "chromium";
|
|
};
|
|
|
|
services.kanshi.settings = [
|
|
{
|
|
profile.name = hostName;
|
|
profile.outputs = [
|
|
{
|
|
criteria = "LG Display 0x0665";
|
|
position = "0,0";
|
|
scale = 1.25;
|
|
}
|
|
];
|
|
}
|
|
];
|
|
|
|
programs.hyprlock.monitors = [
|
|
"LG Display"
|
|
];
|
|
|
|
programs.chromium = {
|
|
enable = true;
|
|
extensions = [
|
|
# Bitwarden
|
|
{
|
|
id = "nngceckbapebfimnlniiiahkandclblb";
|
|
}
|
|
# Vimium
|
|
{
|
|
id = "dbepggeogbaibhgnhhndojpepiihcmeb";
|
|
}
|
|
# Dark Reader
|
|
{
|
|
id = "eimadpbcbfnmbkopoojfekhnkhdbieeh";
|
|
}
|
|
# Vertical Tabs
|
|
{
|
|
id = "efobhjmgoddhfdhaflheioeagkcknoji";
|
|
}
|
|
];
|
|
};
|
|
|
|
imports = [
|
|
../../../../home/presets/basic.nix
|
|
(import ../../../../home/user/bitwarden.nix {
|
|
email = "danny@net.dn";
|
|
baseUrl = "https://bitwarden.net.dn";
|
|
})
|
|
|
|
# waybar
|
|
(import ../../../../home/user/waybar.nix {
|
|
settings = [
|
|
{
|
|
output = "eDP-1";
|
|
height = 46;
|
|
modules-left = [
|
|
"custom/os"
|
|
"hyprland/workspaces"
|
|
"clock"
|
|
"mpris"
|
|
];
|
|
modules-right = [
|
|
"wlr/taskbar"
|
|
"temperature"
|
|
"custom/wallRand"
|
|
"custom/wireguard"
|
|
"custom/recording"
|
|
"idle_inhibitor"
|
|
"network"
|
|
"pulseaudio"
|
|
"battery"
|
|
"custom/swaync"
|
|
];
|
|
}
|
|
];
|
|
})
|
|
];
|
|
};
|
|
}
|