oops it's been a minute
This commit is contained in:
parent
5f434b1979
commit
55013f738c
22 changed files with 468 additions and 323 deletions
|
@ -3,6 +3,7 @@
|
|||
outputs,
|
||||
lib,
|
||||
pkgs,
|
||||
mainUser,
|
||||
...
|
||||
}: {
|
||||
# these settings propagate to home-manager's nixpkgs
|
||||
|
@ -18,6 +19,7 @@
|
|||
outputs.overlays.murex-jump
|
||||
outputs.overlays.comfyui
|
||||
outputs.overlays.comfyui-plugins
|
||||
outputs.overlays.utillinux
|
||||
];
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
|
@ -84,9 +86,6 @@
|
|||
git
|
||||
jujutsu
|
||||
|
||||
# broken \/
|
||||
# libimobiledevice
|
||||
# ifuse
|
||||
];
|
||||
|
||||
services.atuin.enable = true;
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
}: {
|
||||
# perlless activations
|
||||
boot.initrd.systemd.enable = true;
|
||||
# breaks everything
|
||||
# system.etc.overlay = {
|
||||
# enable = lib.mkDefault true;
|
||||
# mutable = true;
|
||||
|
@ -20,7 +21,7 @@
|
|||
environment.defaultPackages = lib.mkDefault [];
|
||||
documentation.info.enable = false;
|
||||
|
||||
# no cppnix
|
||||
# no cppnix .. ?
|
||||
# system.systemBuilderArgs.disallowedRequisites = [pkgs.nix];
|
||||
nix.package = pkgs.lix;
|
||||
system.tools.nixos-option.enable = false;
|
||||
|
|
|
@ -2,13 +2,15 @@
|
|||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
mainUser,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./configuration.nix
|
||||
];
|
||||
|
||||
services.ollama.enable = true;
|
||||
|
||||
system.stateVersion = "22.11"; # Did you read the comment?
|
||||
|
||||
networking.hostName = "quiver";
|
||||
|
@ -30,7 +32,6 @@
|
|||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = ["kvm-amd" "i2c-dev"];
|
||||
boot.kernelParams = [
|
||||
"nvidia-drm.fbdev=1"
|
||||
"mitigations=off"
|
||||
"acpi_enforce_resources=lax"
|
||||
"preempt=full"
|
||||
|
@ -83,31 +84,15 @@
|
|||
# src = inputs.podman;
|
||||
# };
|
||||
};
|
||||
# docker = {
|
||||
# enable = true;
|
||||
# enableOnBoot = true;
|
||||
# enableNvidia = true;
|
||||
# extraOptions = "--add-runtime nvidia=/run/current-system/sw/bin/nvidia-container-runtime";
|
||||
# };
|
||||
};
|
||||
|
||||
# services.minidlna = {
|
||||
# enable = true;
|
||||
# settings = {
|
||||
# notify_interval = 120;
|
||||
# friendly_name = "PC";
|
||||
# media_dir = ["A,/data/Music/Slsk"];
|
||||
# };
|
||||
# };
|
||||
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
# TODO figure out why i can't resume properly
|
||||
hardware.nvidia = {
|
||||
package = config.boot.kernelPackages.nvidiaPackages.latest;
|
||||
modesetting.enable = true;
|
||||
# powerManagement.enable = true;
|
||||
powerManagement.enable = true;
|
||||
nvidiaPersistenced = true;
|
||||
open = false;
|
||||
# nvidiaPersistenced = true;
|
||||
};
|
||||
programs.xwayland.enable = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue