Hendrik Sokolowski
6c7d9704bd
All checks were successful
continuous-integration/drone/push Build is passing
55 lines
912 B
Nix
55 lines
912 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib; let
|
|
psCfg = config.pub-solar;
|
|
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
|
|
in {
|
|
pub-solar.nextcloud.enable = true;
|
|
|
|
services.fwupd.enable = true;
|
|
|
|
pub-solar.graphical.autologin.enable = false;
|
|
|
|
security.sudo.extraRules = [
|
|
{
|
|
users = ["${psCfg.user.name}"];
|
|
commands = [
|
|
{
|
|
command = "ALL";
|
|
options = ["NOPASSWD"];
|
|
}
|
|
];
|
|
}
|
|
];
|
|
|
|
home-manager = pkgs.lib.setAttrByPath ["users" psCfg.user.name] {
|
|
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
|
|
wdisplays
|
|
|
|
appflowy
|
|
];
|
|
};
|
|
}
|