40 lines
668 B
Nix
40 lines
668 B
Nix
{ config, pkgs, lib, self, ... }:
|
|
with lib;
|
|
let
|
|
psCfg = config.pub-solar;
|
|
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
|
|
in
|
|
{
|
|
imports = [ ];
|
|
|
|
pub-solar.graphical.autologin.enable = false;
|
|
|
|
security.sudo.extraRules = [
|
|
{
|
|
users = [ "${psCfg.user.name}" ];
|
|
commands = [
|
|
{
|
|
command = "ALL";
|
|
options = [ "NOPASSWD" ];
|
|
}
|
|
];
|
|
}
|
|
];
|
|
|
|
environment.systemPackages = [
|
|
grml-zsh-config
|
|
];
|
|
|
|
home-manager = pkgs.lib.setAttrByPath [ "users" psCfg.user.name ] {
|
|
home.packages = with pkgs; [
|
|
dig
|
|
fping
|
|
htop
|
|
ncdu
|
|
sysstat
|
|
tig
|
|
wakeonlan
|
|
];
|
|
};
|
|
}
|