mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
host/thinkpad: split into modules
This commit is contained in:
parent
70a6695ca1
commit
aa2c1e702c
13 changed files with 153 additions and 160 deletions
|
@ -5,7 +5,7 @@
|
|||
users.users.rouven = {
|
||||
description = "Rouven Seifert";
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "video" "libvirtd" "tss" "input" "_lldpd" "wireshark" ];
|
||||
extraGroups = [ "wheel" "video" "libvirtd" "tss" "input" "_lldpd" "wireshark" "etherape" ];
|
||||
initialHashedPassword = "$6$X3XERQv28Nt1UUT5$MjdMBDuXyEwexkuKqmNFweez69q4enY5cjMXSbBxOc6Bq7Fhhp7OqmCm02k3OGjoZFXzPV9ZHuMSGKZOtwYIk1";
|
||||
};
|
||||
home-manager.useUserPackages = true;
|
||||
|
@ -18,6 +18,7 @@
|
|||
home.username = "rouven";
|
||||
home.homeDirectory = "/home/rouven";
|
||||
home.stateVersion = config.system.stateVersion;
|
||||
home.enableNixpkgsReleaseCheck = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -22,6 +22,13 @@
|
|||
'';
|
||||
wrapperFeatures.gtk = true;
|
||||
};
|
||||
# enable xdg portals for sway
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-wlr
|
||||
];
|
||||
};
|
||||
# wayland keylogger needs setuid
|
||||
programs.wshowkeys.enable = true;
|
||||
# fixes pam entries for swaylock
|
||||
|
@ -42,4 +49,14 @@
|
|||
session required pam_env.so conffile=/etc/pam/environment readenv=0
|
||||
session required pam_unix.so
|
||||
'';
|
||||
# global wrapper for ausweisapp
|
||||
programs.ausweisapp = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
# home manager steam is borderline broken
|
||||
programs.steam.enable = true;
|
||||
|
||||
# enable java black magic
|
||||
programs.java.enable = true;
|
||||
}
|
||||
|
|
|
@ -8,6 +8,12 @@ in
|
|||
home.packages = with pkgs; [
|
||||
|
||||
# essentials
|
||||
htop-vim
|
||||
lsof
|
||||
killall
|
||||
zip
|
||||
unzip
|
||||
man-pages
|
||||
wpa_supplicant_gui
|
||||
pcmanfm
|
||||
xdg-utils # used for xdg-open
|
||||
|
@ -15,6 +21,9 @@ in
|
|||
appimage-run
|
||||
seafile-client
|
||||
|
||||
# printing
|
||||
cups
|
||||
|
||||
# graphics
|
||||
evince # pdf viewer
|
||||
gimp
|
||||
|
@ -71,6 +80,7 @@ in
|
|||
jq
|
||||
xournalpp
|
||||
libreoffice
|
||||
mosh
|
||||
|
||||
# programming languages
|
||||
cargo
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
username = config.accounts.email.accounts."gmail".address;
|
||||
password_cmd = "${pkgs.coreutils}/bin/cat ${config.age.secrets.spotify.path}";
|
||||
};
|
||||
backend = "pulseaudio";
|
||||
};
|
||||
};
|
||||
systemd.user.services.spotifyd.Unit.After = [ "agenix.service" ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue