This commit is contained in:
Tao Tien 2023-11-09 11:39:44 -08:00
parent aa25b68e52
commit 09cfae7a94
3 changed files with 4 additions and 4 deletions

View file

@ -6,10 +6,9 @@
nixpkgs-unstable.url = "nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
nixos-hardware.url = "nixos-hardware"; nixos-hardware.url = "nixos-hardware";
nixos-raspberrypi.url = "github:ramblurr/nixos-raspberrypi"; nixos-raspberrypi.url = "github:ramblurr/nixos-raspberrypi";
# aagl.url = "github:ezKEa/aagl-gtk-on-nix/0c9d93bdb311f7948f9fb0e98d869316d78eec12";
aagl.url = "github:ezKEa/aagl-gtk-on-nix"; aagl.url = "github:ezKEa/aagl-gtk-on-nix";
aagl.inputs.nixpkgs.follows = "nixpkgs"; aagl.inputs.nixpkgs.follows = "nixpkgs";
# prescurve.url = "path:/home/tao/Projects/prescurve"; # prescurve.url = "github:taotien/prescurve";
# prescurve.inputs.nixpkgs.follows = "nixpkgs"; # prescurve.inputs.nixpkgs.follows = "nixpkgs";
}; };

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: { { config, pkgs, ... }: {
services.xserver.displayManager = { services.xserver.displayManager = {
autoLogin.enable = true; autoLogin.enable = true;
autoLogin.user = "tao"; autoLogin.user = "tao";
@ -81,6 +81,7 @@
boot.kernelPackages = pkgs.unstable.linuxPackages_latest; boot.kernelPackages = pkgs.unstable.linuxPackages_latest;
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ]; boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
boot.kernelModules = [ "i2c-dev" "kvm-amd" ]; boot.kernelModules = [ "i2c-dev" "kvm-amd" ];
boot.extraModulePackages = with config.boot.kernelPackages; [ zenpower ];
hardware.opengl = { hardware.opengl = {
enable = true; enable = true;

View file

@ -1,7 +1,7 @@
{ pkgs, ... }: { { pkgs, ... }: {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# libsForQt5.skanpage
# prescurve # prescurve
# libsForQt5.skanpage
intel-gpu-tools intel-gpu-tools
powertop powertop
]; ];