Merge branch 'master' of ssh://git.dhilton.xyz:2020/k/nixos_configs
Some checks failed
Verify Nix Flake / verify_build (push) Failing after 2s

This commit is contained in:
k 2026-05-10 15:49:41 -04:00
commit 5086aba848
10 changed files with 75 additions and 75 deletions

View file

@ -15,13 +15,12 @@
boot.loader.efi.canTouchEfiVariables = true;
hardware.amdgpu.opencl.enable = true;
boot.kernelParams = [ "amdgpu.ppfeaturemask=0xfff7ffff" "amdgpu.gpu_recovery=1" ];
boot.kernelParams = ["amdgpu.ppfeaturemask=0xfff7ffff" "amdgpu.gpu_recovery=1"];
services.openssh = {enable = true;};
virtualisation.docker.enable = true;
virtualisation.docker.storageDriver = "btrfs";
networking = {
hostName = "desktop";
networkmanager.enable = true;

View file

@ -1,29 +1,33 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
config,
lib,
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-amd"];
boot.extraModulePackages = [];
fileSystems."/" =
{ device = "/dev/disk/by-label/nixos";
fsType = "btrfs";
};
fileSystems."/" = {
device = "/dev/disk/by-label/nixos";
fsType = "btrfs";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/BB87-CC45";
fsType = "vfat";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/BB87-CC45";
fsType = "vfat";
};
swapDevices = [ ];
swapDevices = [];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's

View file

@ -16,25 +16,14 @@
userEmail = "markers711@gmail.com";
};
tmux.enable = true;
starship.enable = true;
nix-your-shell.enable = true;
starship.enable = false;
zsh = {
enable = true;
autosuggestion.enable = true;
enableCompletion = true;
syntaxHighlighting.enable = true;
autocd = true;
plugins = [
{
name = "zsh-nix-shell";
file = "nix-shell.plugin.zsh";
src = pkgs.fetchFromGitHub {
owner = "chisui";
repo = "zsh-nix-shell";
rev = "v0.8.0";
sha256 = "1lzrn0n4fxfcgg65v0qhnj7wnybybqzs4adz7xsrkgmcsr0ii8b7";
};
}
];
};
};
}

View file

@ -5,10 +5,17 @@
...
}: {
imports = [./waybar.nix ./tile.nix];
programs.swaylock.enable = true;
services.swayidle.enable = true;
services.polkit-gnome.enable = true;
services.mako.enable = true;
home.packages = with pkgs; [
pkgs.swaybg
pkgs.swayidle
pkgs.swaylock
pkgs.xwayland-satellite
pkgs.niri
pkgs.fuzzel
pkgs.iio-niri

View file

@ -15,7 +15,6 @@
wofi = {enable = true;};
zathura = {enable = true;};
mpv = {enable = true;};
lf = {enable = true;};
};
home.packages = with pkgs; [
brightnessctl

View file

@ -10,11 +10,26 @@
system.autoUpgrade.enable = true;
time.timeZone = "America/New_York";
powerManagement.enable = true;
services.power-profiles-daemon.enable = false;
services.tlp.enable = true;
powerManagement.powertop.enable = true;
hardware.graphics = {
enable = true;
enable32Bit = true;
};
services.tlp.settings = {
CPU_MAX_PERF_ON_BAT = 60;
CPU_BOOST_ON_BAT = 0;
IWLWIFI_PWR_POLICY_ON_AC = 1;
IWLWIFI_PWR_POLICY_ON_BAT = 2;
};
hardware = {
bluetooth = {
enable = true;
powerOnBoot = true;
powerOnBoot = false;
settings = {
General = {
Enable = "Source,Sink,Media,Socket";
@ -34,7 +49,10 @@
networking = {
hostName = "laptop";
networkmanager.enable = true;
networkmanager = {
enable = true;
wifi.powersave = true;
};
firewall.enable = true;
};
@ -61,7 +79,7 @@
jack.enable = true;
};
auto-cpufreq = {
enable = true;
enable = false;
settings = {
battery = {
governor = "powersave";
@ -89,27 +107,8 @@
stylix = {
enable = true;
autoEnable = true;
polarity = "light";
image = ./wallpaper.png;
base16Scheme = {
base00 = "#ffffea";
base01 = "#eaffff";
base02 = "#eeee9e";
base03 = "#99994c";
base04 = "#555555";
base05 = "#000000";
base06 = "#000000";
base07 = "#000000";
base08 = "#aa0000";
base09 = "#884400";
base0A = "#99994c";
base0B = "#006600";
base0C = "#8888cc";
base0D = "#000099";
base0E = "#8888cc";
base0F = "#5d3a1a";
};
targets.chromium.enable = false;
image = ./wallpaper.jpg;
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-latte.yaml";
targets.gnome.enable = false;
opacity = {
terminal = 0.85;
@ -147,10 +146,12 @@
programs = {
zsh.enable = true;
niri.enable = true;
virt-manager.enable = true;
};
virtualisation = {
docker = {enable = true;};
libvirtd = {enable = true;};
};
users.users.k = {

View file

@ -35,6 +35,8 @@
ispell
calc
ripgrep
neovim
];
};
@ -52,13 +54,12 @@
withNativeCompilation = true;
};
extraPackages = epkgs: [
epkgs.vterm
];
};
};
services = {
syncthing.enable = true;
syncthing.enable = false;
mpd = {
enable = true;

BIN
hosts/laptop/wallpaper.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB