nixos-configuration/home-manager/users/jalr.nix
2023-11-08 23:41:28 +00:00

70 lines
1.3 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ config, pkgs, ... }:
{
imports = [
./default.nix
];
jalr = {
git = {
user = {
name = "Jakob Lechner";
email = "mail@jalr.de";
};
signByDefault = true;
};
gpg.defaultKey = "66FB54F6081375106EEBF651A222365EB448F934";
};
users.users.jalr = {
isNormalUser = true;
extraGroups = [
"audio"
"dialout"
"docker"
"libvirtd"
"lp"
"networkmanager"
"scanner"
"video"
"wheel"
"wireshark"
]; # Enable sudo for the user.
shell = pkgs.fish;
};
home-manager = {
useUserPackages = true;
useGlobalPkgs = true;
users.jalr = { lib, pkgs, ... }: {
imports = [ ../modules ];
config = {
home.stateVersion = if config.system.stateVersion == "22.11" then "22.05" else config.system.stateVersion;
home.packages = with pkgs; [
cutecom
ghostscript
newsboat
pdftk
platformio
ptouch-print
qrencode
sshfs
tmate
# common
asciinema
bat
docker-compose
envsubst
exa
gnupg
nmap
psutils
pwgen
tig
];
};
};
};
}