This commit is contained in:
KaitoTLex 2024-11-27 20:22:18 -08:00
parent 1f99bce2b5
commit d5f3087478
3 changed files with 23 additions and 11 deletions

12
flake.lock generated
View file

@ -164,11 +164,11 @@
"plugins-typst-preview": "plugins-typst-preview"
},
"locked": {
"lastModified": 1732575304,
"narHash": "sha256-0ksDSkidVOeWZtMkRp4+x3Oar3n/WKLdIuFdXQmHBqk=",
"lastModified": 1732647323,
"narHash": "sha256-kvGiJ3ANwrvxbQVNHPhnimOBxQXnAaUvL9yJKwkmgBs=",
"owner": "kaitotlex",
"repo": "vix1",
"rev": "4abad5c8c1abb2e07bf8da302c9fa1d45a47aaa5",
"rev": "ab175943cfd30f34dc74693203293c42b3dc9406",
"type": "github"
},
"original": {
@ -242,11 +242,11 @@
]
},
"locked": {
"lastModified": 1732508213,
"narHash": "sha256-0rfdpRO1KnesH0XHv8mAHmfsPQXnHiwiu79sN3nCy/0=",
"lastModified": 1732594596,
"narHash": "sha256-XGAdvRhat+DST+bRBsGYYyno9MKMUCPu6/KTKnRgpj4=",
"owner": "Gerg-L",
"repo": "spicetify-nix",
"rev": "4841814c6e22958aff9dd8c68fd2153237fbf15e",
"rev": "626e9d49eb7f5122a60e0500f08051267484ebee",
"type": "github"
},
"original": {

View file

@ -16,8 +16,10 @@
# ClassicBondedOnly = false;
# };
#};
hardware.graphics.enable32Bit = true;
hardware.pulseaudio.support32Bit = true;
hardware = {
graphics.enable32Bit = true;
pulseaudio.support32Bit = true;
};
boot.initrd.luks.fido2Support = true;
boot.kernelParams = [ "mem_sleep_default=deep" ];
# Bootloader.
@ -25,6 +27,13 @@
boot.loader.efi.canTouchEfiVariables = true;
virtualisation.waydroid.enable = true;
networking.hostName = "shiroko"; # Define your hostname.
services.printing.enable = true;
services.avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
};
#security yargen
# security.pam.yubico.enable = true;
services.fprintd = {
@ -58,9 +67,9 @@
enable = true;
settings = {
CPU_SCALING_GOVERNOR_ON_AC = "performance";
CPU_SCALING_GOVERNOR_ON_BAT = "balance_performance";
CPU_SCALING_GOVERNOR_ON_BAT = "performance";
CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_performance";
CPU_ENERGY_PERF_POLICY_ON_BAT = "performance";
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
CPU_MIN_PERF_ON_AC = 0;
@ -70,7 +79,7 @@
#Optional helps save long term battery health
START_CHARGE_THRESH_BAT0 = 20; # 40 and bellow it starts to charge
STOP_CHARGE_THRESH_BAT0 = 95; # 80 and above it stops charging
STOP_CHARGE_THRESH_BAT0 = 98; # 80 and above it stops charging
};
};

View file

@ -22,6 +22,9 @@
home.packages = with pkgs; [
# here is some command line tools I use frequently
# feel free to add your own or remove some of them
texlab
gramma
pavucontrol
ryujinx
unzip