drop wakeonlan, add wdisplays, gnucash

This commit is contained in:
Hendrik Sokolowski 2023-10-05 23:50:11 +02:00
parent a03aa75d08
commit 1f7e4220ee

View file

@ -1,10 +1,14 @@
{ config, pkgs, lib, self, ... }: {
with lib; config,
let pkgs,
lib,
self,
...
}:
with lib; let
psCfg = config.pub-solar; psCfg = config.pub-solar;
xdg = config.home-manager.users."${psCfg.user.name}".xdg; xdg = config.home-manager.users."${psCfg.user.name}".xdg;
in in {
{
pub-solar.nextcloud.enable = true; pub-solar.nextcloud.enable = true;
services.fwupd.enable = true; services.fwupd.enable = true;
@ -13,17 +17,17 @@ in
security.sudo.extraRules = [ security.sudo.extraRules = [
{ {
users = [ "${psCfg.user.name}" ]; users = ["${psCfg.user.name}"];
commands = [ commands = [
{ {
command = "ALL"; command = "ALL";
options = [ "NOPASSWD" ]; options = ["NOPASSWD"];
} }
]; ];
} }
]; ];
home-manager = pkgs.lib.setAttrByPath [ "users" psCfg.user.name ] { home-manager = pkgs.lib.setAttrByPath ["users" psCfg.user.name] {
xdg.configFile = mkIf psCfg.sway.enable { xdg.configFile = mkIf psCfg.sway.enable {
"sway/config.d/10-input-language.conf".source = ./.config/sway/config.d/input-language.conf; "sway/config.d/10-input-language.conf".source = ./.config/sway/config.d/input-language.conf;
}; };
@ -44,8 +48,9 @@ in
tig tig
thunderbird thunderbird
wakeonlan wdisplays
wlr-randr
gnucash
]; ];
}; };
} }