Add steam and upgrade to latest nixpkgs

This commit is contained in:
Konstantin Nazarov 2024-09-20 03:22:42 +01:00
parent 01609c59c2
commit 5e2b2cb046
Signed by: knazarov
GPG key ID: 4CFE0A42FA409C22
6 changed files with 83 additions and 21 deletions

View file

@ -233,6 +233,7 @@ in {
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
enableExtraSocket = true;
};
programs.sway = {
@ -250,6 +251,10 @@ in {
wireplumber.enable = true;
};
programs.steam = {
enable = true;
};
# Disable unneeded PipeWire devices and rename the ones I use to more recognizable names
environment.etc."wireplumber/main.lua.d/51-device-rename.lua".text = ''
table.insert(alsa_monitor.rules, {
@ -429,17 +434,6 @@ in {
&& [[ -f ''${EMACS_VTERM_PATH}/etc/emacs-vterm-bash.sh ]]; then
source ''${EMACS_VTERM_PATH}/etc/emacs-vterm-bash.sh
fi
lfcd () {
tmp="$(mktemp -uq)"
trap 'rm -f $tmp >/dev/null 2>&1 && trap - HUP INT QUIT TERM PWR EXIT' HUP INT QUIT TERM PWR EXIT
lf -last-dir-path="$tmp" "$@"
if [ -f "$tmp" ]; then
dir="$(cat "$tmp")"
[ -d "$dir" ] && [ "$dir" != "$(pwd)" ] && cd "$dir"
fi
}
bind '"\C-o":"lfcd\n"'
'';
shellAliases = {
nn = "notes.sh -n";
@ -472,6 +466,7 @@ in {
services.gpg-agent = {
enable = true;
pinentryPackage = pkgs.pinentry-gnome3;
enableExtraSocket = true;
};
programs.gpg = {
@ -502,6 +497,11 @@ in {
key = "0x0560020C9C577C1B";
signByDefault = true;
};
extraConfig = {
push = {
autoSetupRemote = true;
};
};
};
accounts.email = {
@ -599,6 +599,7 @@ in {
output = {
"*" = { bg = "${./wallpaper.jpg} fill"; };
"Lenovo Group Limited LEN T32p-20 VNA4VRNY" = { scale = "1.5"; };
"LG Electronics LG TV SSCR2 0x01010101" = { mode = "1920x1080@60Hz"; };
};
input = {
"type:keyboard" = {

View file

@ -1284,12 +1284,6 @@ Intended for `after-make-frame-functions'."
:mode "\\.sol$"
)
;; Guile
(use-package geiser-guile
:ensure t
)
;; Valeri
(use-package lisp-mode

View file

@ -89,11 +89,11 @@
]
},
"locked": {
"lastModified": 1725763867,
"narHash": "sha256-GlQFMVSE6oPXKudcP8leWLp2ea90t0VodTxr+RawQKM=",
"lastModified": 1726434400,
"narHash": "sha256-O8yvDKXV9rjDqymXedpR1scwu0+aHm6tTjK6Zze42QU=",
"owner": "~knazarov",
"repo": "knazarov.com",
"rev": "548b87510371686761e4630f8b3b379a9461f08e",
"rev": "43b0f83d7a6b858ff45bcbf10cc2acb185bfa99a",
"type": "sourcehut"
},
"original": {

View file

@ -43,7 +43,7 @@
~*(MJ12bot|IonCrawl|webprosbot|Sogou|paloaltonetworks|CensysInspect) 1;
~*(DotBot|ev-crawler|InternetMeasurement|CheckMarkNetwork|panscient) 1;
~*(gdnplus|PunkMap|pdrlabs|SurdotlyBot|researchscan|serpstatbot) 1;
~*(MegaIndex|DongleEmulatorBot|TinyTestBot) 1;
~*(MegaIndex|DongleEmulatorBot|TinyTestBot|meta-externalagent) 1;
}
'';
virtualHosts = {

View file

@ -21,9 +21,14 @@ in
hardware.graphics = {
enable = true;
extraPackages = with pkgs; [
## amdvlk: an open-source Vulkan driver from AMD
amdvlk
vaapiVdpau
libvdpau-va-gl
];
extraPackages32 = [ pkgs.driversi686Linux.amdvlk ];
};
}

View file

@ -0,0 +1,62 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: 83F4 CEB6 A72E 3521 12C3 B197 9C72 09C0 C75C 69D8
xsFNBGSn55IBEADZgaOLMyLma6xUiCym1hqJsiw9ao4J0/PYNfmzmW4UXTISZ/Ww
ApkVIo74lcgh4K8yLkXSvYzKufLvxKHppbtSMVaMvqaX5kt06mdpaUQjV31Yu7j6
m6gynolijEb0YKfrEkvCpW9N853xjUn/4C5FfQu5iowTEKKS/qQr9ppCXJO0nivH
jCBcXA12SIB7SbjFMq5DdKbKImbimxbLi84pepc+3leG7NNly4ByPQjE5YVd7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