mirror of
https://github.com/nikdoof/nixos-config.git
synced 2025-12-11 08:42:24 +00:00
Fixes for the P8
This commit is contained in:
5
Makefile
5
Makefile
@@ -1,6 +1,9 @@
|
||||
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 nix-collect-garbage -d
|
||||
boot: pull
|
||||
sudo nixos-rebuild boot -I nixos-config=machines/$(shell hostname -s)/configuration.nix
|
||||
@@ -50,7 +50,6 @@
|
||||
git.enable = true;
|
||||
zsh.enable = true;
|
||||
ssh.startAgent = true;
|
||||
gpg.agent.enable = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
@@ -68,4 +67,4 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,7 +16,10 @@
|
||||
"video=DSI-1:panel_orientation=right_side_up"
|
||||
"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
|
||||
fonts.fontconfig = {
|
||||
|
||||
Reference in New Issue
Block a user