before npins

This commit is contained in:
atagen 2025-04-06 23:50:50 +10:00
parent d429476553
commit 63fbd6d499
22 changed files with 627 additions and 330 deletions

View file

@ -1,6 +1,5 @@
{
inputs,
self,
lib,
pkgs,
mainUser,
@ -13,13 +12,10 @@ in
# these settings propagate to home-manager's nixpkgs
nixpkgs = {
overlays = [
inputs.nix-rice.overlays.default
# inputs.nix-rice.overlays.default
inputs.helix.overlays.default
inputs.nil.overlays.nil
inputs.niri.overlays.niri
self.overlays.rice
self.overlays.comfyui
self.overlays.comfyui-plugins
];
config = {
allowUnfree = true;

View file

@ -7,5 +7,6 @@
nil
statix
deadnix
npins
];
}

View file

@ -8,11 +8,10 @@ in
};
programs.autojump.enable = true;
environment.systemPackages = [
elvish
fish
];
environment.shells = [ elvish ];
users.defaultUserShell = elvish;
environment.shells = [ fish ];
users.defaultUserShell = fish;
console = {
font = "Lat2-Terminus16";
};

View file

@ -2,6 +2,8 @@
config,
lib,
pkgs,
inputs,
rice,
...
}:
{
@ -33,23 +35,24 @@
"sd_mod"
];
boot.initrd.kernelModules = [ ];
boot.initrd.verbose = false;
boot.kernelModules = [
"kvm-amd"
"i2c-dev"
];
boot.consoleLogLevel = 0;
boot.kernelParams = [
"mitigations=off"
# "acpi_enforce_resources=lax"
"preempt=full"
"quiet"
"loglevel=3"
"systemd.show_status=auto"
"systemd.show_status=off"
"rd.udev.log_level=3"
"vt.global_cursor_default=0"
];
boot.kernelPackages = pkgs.linuxPackagesFor pkgs.linuxPackages_cachyos;
# pkgs.linuxPackages_xanmod_latest;
# pkgs.linuxPackages_xanmod_latest;
boot.supportedFilesystems = {
ntfs = true;
btrfs = true;
@ -58,6 +61,11 @@
boot.loader.systemd-boot.configurationLimit = 5;
boot.loader.efi.canTouchEfiVariables = true;
boot.plymouth = {
enable = true;
inherit (rice.plymouth) theme themePackages font;
};
security.tpm2.enable = true;
networking.useDHCP = lib.mkDefault true;
@ -170,7 +178,8 @@
};
services.open-webui = {
enable = false;
package = inputs.nixpkgs-stable.legacyPackages.x86_64-linux.open-webui;
enable = true;
port = 8088;
environment = {
DO_NOT_TRACK = "True";