Fixes for the P8

This commit is contained in:
2024-04-08 14:35:52 +01:00
parent e05f62ad72
commit 3ea2af4056
3 changed files with 9 additions and 4 deletions

View File

@@ -1,6 +1,9 @@
pull: pull:
nix-shell -p git --run "git pull" nix-shell -p git --run "git pull"
rebuild: pull update-channels:
sudo nix-channel --update
rebuild: pull update-channels
sudo nixos-rebuild switch -I nixos-config=machines/$(shell hostname -s)/configuration.nix sudo nixos-rebuild switch -I nixos-config=machines/$(shell hostname -s)/configuration.nix
sudo nix-collect-garbage -d
boot: pull boot: pull
sudo nixos-rebuild boot -I nixos-config=machines/$(shell hostname -s)/configuration.nix sudo nixos-rebuild boot -I nixos-config=machines/$(shell hostname -s)/configuration.nix

View File

@@ -50,7 +50,6 @@
git.enable = true; git.enable = true;
zsh.enable = true; zsh.enable = true;
ssh.startAgent = true; ssh.startAgent = true;
gpg.agent.enable = true;
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
@@ -68,4 +67,4 @@
}; };
}; };
}; };
} }

View File

@@ -16,7 +16,10 @@
"video=DSI-1:panel_orientation=right_side_up" "video=DSI-1:panel_orientation=right_side_up"
"fbcon=rotate:1" "fbcon=rotate:1"
]; ];
boot.kernelPackages = pkgs.linuxPackages_latest; boot.extraModprobeConfig = ''
options intel_hid enable_sw_tablet_mode=2
'';
boot.kernelPackages = pkgs.linuxPackages_testing;
# Fix the font rendering # Fix the font rendering
fonts.fontconfig = { fonts.fontconfig = {