os/users/hensoko/home.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

55 lines
912 B
Nix
Raw Normal View History

2023-10-05 21:50:11 +00:00
{
config,
pkgs,
lib,
...
}:
with lib; let
2022-08-21 21:56:42 +00:00
psCfg = config.pub-solar;
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
2023-10-05 21:50:11 +00:00
in {
2022-08-21 21:56:42 +00:00
pub-solar.nextcloud.enable = true;
services.fwupd.enable = true;
pub-solar.graphical.autologin.enable = false;
security.sudo.extraRules = [
{
2023-10-05 21:50:11 +00:00
users = ["${psCfg.user.name}"];
2022-08-21 21:56:42 +00:00
commands = [
{
command = "ALL";
2023-10-05 21:50:11 +00:00
options = ["NOPASSWD"];
2022-08-21 21:56:42 +00:00
}
];
}
];
2023-10-05 21:50:11 +00:00
home-manager = pkgs.lib.setAttrByPath ["users" psCfg.user.name] {
2022-08-21 21:56:42 +00:00
xdg.configFile = mkIf psCfg.sway.enable {
"sway/config.d/10-input-language.conf".source = ./.config/sway/config.d/input-language.conf;
};
home.packages = with pkgs; [
nix-output-monitor
btop
dig
fping
keepassxc
ncdu
sysstat
pv
lazygit
tig
thunderbird
2023-10-05 21:50:11 +00:00
wdisplays
2023-11-11 00:12:57 +00:00
appflowy
2022-08-21 21:56:42 +00:00
];
};
}