Compare commits

...

6 commits

Author SHA1 Message Date
k
07eb383a26 updated flake
Some checks failed
Verify Nix Flake / verify_build (push) Failing after 9s
2026-05-10 15:29:48 -04:00
k
11f90ee6c2 enabled vms 2026-05-10 15:29:33 -04:00
k
b345b6fec5 tweekd power save settings 2026-05-10 15:29:16 -04:00
k
c17c2d14c7 theam update 2026-05-10 15:28:50 -04:00
k
b0e366a2d1 pkg changes 2026-05-10 15:25:38 -04:00
k
3404e043ec formating changes 2026-05-10 15:24:43 -04:00
10 changed files with 75 additions and 75 deletions

30
flake.lock generated
View file

@ -145,11 +145,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1768949235, "lastModified": 1777851538,
"narHash": "sha256-TtjKgXyg1lMfh374w5uxutd6Vx2P/hU81aEhTxrO2cg=", "narHash": "sha256-Gp8qwTEYNoy2yvmErVGlvLOQvrtEECCAKbonW7VJef8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "75ed713570ca17427119e7e204ab3590cc3bf2a5", "rev": "cc09c0f9b7eaa95c2d9827338a5eb03d32505ca5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -161,11 +161,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1769302137, "lastModified": 1778143761,
"narHash": "sha256-QEDtctEkOsbx8nlFh4yqPEOtr4tif6KTqWwJ37IM2ds=", "narHash": "sha256-lkesY6x2X2qxlqLM7CT2iM/0rP2JB7fruPN3h8POXmI=",
"owner": "nixos", "owner": "nixos",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "a351494b0e35fd7c0b7a1aae82f0afddf4907aa8", "rev": "3bcaa367d4c550d687a17ac792fd5cda214ee871",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -177,11 +177,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1767799921, "lastModified": 1777428379,
"narHash": "sha256-r4GVX+FToWVE2My8VVZH4V0pTIpnu2ZE8/Z4uxGEMBE=", "narHash": "sha256-ypxFOeDz+CqADEQNL72haqGjvZQdBR5Vc7pyx2JDttI=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d351d0653aeb7877273920cd3e823994e7579b0b", "rev": "755f5aa91337890c432639c60b6064bb7fe67769",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -193,11 +193,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1769318308, "lastModified": 1778003029,
"narHash": "sha256-Mjx6p96Pkefks3+aA+72lu1xVehb6mv2yTUUqmSet6Q=", "narHash": "sha256-q/nkKLDtHIyLjZpKhWk3cSK5IYsFqtMd6UtXF3ddjgA=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "1cd347bf3355fce6c64ab37d3967b4a2cb4b878c", "rev": "0c88e1f2bdb93d5999019e99cb0e61e1fe2af4c5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -275,11 +275,11 @@
"tinted-zed": "tinted-zed" "tinted-zed": "tinted-zed"
}, },
"locked": { "locked": {
"lastModified": 1769472288, "lastModified": 1778105055,
"narHash": "sha256-RdnbroWsujYh1MaMhDpP5QM+bRIGG6smz987v1fli+U=", "narHash": "sha256-SWz0cVHEGFb2rSszCaQ7nmuM9q7Cq3xbsg+DAg0N9jo=",
"owner": "danth", "owner": "danth",
"repo": "stylix", "repo": "stylix",
"rev": "c2c4a3ad52c096db1c8dde97d3d21451613f000c", "rev": "68b1ff44196f4f593d0cd837ffb2a088c2870055",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -15,13 +15,12 @@
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
hardware.amdgpu.opencl.enable = 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;}; services.openssh = {enable = true;};
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
virtualisation.docker.storageDriver = "btrfs"; virtualisation.docker.storageDriver = "btrfs";
networking = { networking = {
hostName = "desktop"; hostName = "desktop";
networkmanager.enable = true; networkmanager.enable = true;

View file

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

View file

@ -16,25 +16,14 @@
userEmail = "markers711@gmail.com"; userEmail = "markers711@gmail.com";
}; };
tmux.enable = true; tmux.enable = true;
starship.enable = true; nix-your-shell.enable = true;
starship.enable = false;
zsh = { zsh = {
enable = true; enable = true;
autosuggestion.enable = true; autosuggestion.enable = true;
enableCompletion = true; enableCompletion = true;
syntaxHighlighting.enable = true; syntaxHighlighting.enable = true;
autocd = 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]; 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; [ home.packages = with pkgs; [
pkgs.swaybg pkgs.swaybg
pkgs.swayidle pkgs.swayidle
pkgs.swaylock pkgs.swaylock
pkgs.xwayland-satellite
pkgs.niri pkgs.niri
pkgs.fuzzel pkgs.fuzzel
pkgs.iio-niri pkgs.iio-niri

View file

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

View file

@ -10,11 +10,26 @@
system.autoUpgrade.enable = true; system.autoUpgrade.enable = true;
time.timeZone = "America/New_York"; time.timeZone = "America/New_York";
powerManagement.enable = true; 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 = { hardware = {
bluetooth = { bluetooth = {
enable = true; enable = true;
powerOnBoot = true; powerOnBoot = false;
settings = { settings = {
General = { General = {
Enable = "Source,Sink,Media,Socket"; Enable = "Source,Sink,Media,Socket";
@ -34,7 +49,10 @@
networking = { networking = {
hostName = "laptop"; hostName = "laptop";
networkmanager.enable = true; networkmanager = {
enable = true;
wifi.powersave = true;
};
firewall.enable = true; firewall.enable = true;
}; };
@ -61,7 +79,7 @@
jack.enable = true; jack.enable = true;
}; };
auto-cpufreq = { auto-cpufreq = {
enable = true; enable = false;
settings = { settings = {
battery = { battery = {
governor = "powersave"; governor = "powersave";
@ -89,27 +107,8 @@
stylix = { stylix = {
enable = true; enable = true;
autoEnable = true; autoEnable = true;
polarity = "light"; image = ./wallpaper.jpg;
image = ./wallpaper.png; base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-latte.yaml";
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;
targets.gnome.enable = false; targets.gnome.enable = false;
opacity = { opacity = {
terminal = 0.85; terminal = 0.85;
@ -147,10 +146,12 @@
programs = { programs = {
zsh.enable = true; zsh.enable = true;
niri.enable = true; niri.enable = true;
virt-manager.enable = true;
}; };
virtualisation = { virtualisation = {
docker = {enable = true;}; docker = {enable = true;};
libvirtd = {enable = true;};
}; };
users.users.k = { users.users.k = {

View file

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