flake: updates to 24.05

This commit is contained in:
2024-06-17 13:09:58 +02:00
parent 636eb2a8e6
commit 7d90f5f210
15 changed files with 126 additions and 124 deletions
+2 -2
View File
@@ -52,10 +52,10 @@ let
}) // { inherit materusCfg; };
in
{
materusPC = makeSystem { host = "materusPC"; stable = false; };
materusPC = makeSystem { host = "materusPC"; stable = true; };
flamaster = makeSystem { host = "flamaster"; stable = true; };
valkyrie = makeSystem { host = "valkyrie"; stable = true; };
waffentrager = makeSystem { host = "waffentrager"; stable = true; arch = "aarch64-linux"; };
Old-materusPC = makeSystem { host = "Old-materusPC"; stable = false; };
Old-materusPC = makeSystem { host = "Old-materusPC"; stable = true; };
}
@@ -108,7 +108,7 @@
};
# Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true;
services.libinput.enable = true;
# Define a user account. Don't forget to set a password with passwd.
users.users.materus = {
@@ -27,7 +27,7 @@
gcc
gdb
nil
nixfmt
nixfmt-classic
nixpkgs-fmt
cmake
gnumake
@@ -31,7 +31,7 @@
gcc
gdb
nil
nixfmt
nixfmt-classic
nixpkgs-fmt
cmake
gnumake
+2 -2
View File
@@ -56,9 +56,9 @@
services.printing.enable = true;
config.nix.package = pkgs.nixVersions.latest;
services.xserver.libinput.enable = true;
services.libinput.enable = true;
virtualisation.waydroid.enable = false;
virtualisation.podman = {
@@ -44,8 +44,10 @@ let
systemctl stop windows-share-mount.service
# Make sure nothing renders on gpu to prevent "sysfs: cannot create duplicate filename" after rebinding to amdgpu
chmod 0 /dev/dri/renderD128
fuser -k /dev/dri/renderD128
chmod 0 /dev/dri/by-path/pci-$VIRSH_GPU_VIDEO-render
chmod 0 /dev/dri/by-path/pci-$VIRSH_GPU_VIDEO-card
fuser -k /dev/dri/by-path/pci-$VIRSH_GPU_VIDEO-render
pkill Xwayland
# Seems to fix reset bug for 7900 XTX
echo "0" > "/sys/bus/pci/devices/''${VIRSH_GPU_VIDEO}/d3cold_allowed"
+1 -1
View File
@@ -64,7 +64,7 @@
# hardware.pulseaudio.enable = true;
# Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true;
services.libinput.enable = true;
# Define a user account. Don't forget to set a password with passwd.
users.users.materus = {
@@ -100,7 +100,7 @@
# hardware.pulseaudio.enable = true;
# Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true;
services.libinput.enable = true;
# Define a user account. Don't forget to set a password with passwd.
# users.users.alice = {
+1 -1
View File
@@ -20,7 +20,7 @@ in
};
config.nixpkgs.overlays = lib.mkIf cfg.enableOverlays [ materusArg.cfg.configInputs.emacs-overlay.overlay ];
config.nix.package = lib.mkDefault (if (!materusCfg.stable) then pkgs.nixVersions.${"latest"} else pkgs.nixVersions.stable);
config.nix.package = lib.mkDefault pkgs.nixVersions.latest;
config.nix.registry = lib.mkIf config.materus.profile.nix.enableRegistry {
nixpkgs-stable = {
from = { type = "indirect"; id = "nixpkgs-stable"; };
@@ -19,7 +19,7 @@ with materusArg.pkgs.lib;
nix-prefetch-scripts
nix-prefetch-github
nix-prefetch-docker
nixfmt
nixfmt-classic
nix-top
nix-tree
nix-diff
+2 -2
View File
@@ -71,8 +71,8 @@ in
programs.zsh = {
enable = true;
enableAutosuggestions = true;
enableSyntaxHighlighting = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
enableVteIntegration = true;
historySubstringSearch.enable = true;
historySubstringSearch.searchUpKey = "$key[Up]";