more fixes

This commit is contained in:
elwrcl committed 2026-04-12 23:45:22 +03:00
1 parent 4f335e4e8b
commit 3379be92ae
18 files changed
+66 -71

No files matched your search

Generated
+1 -1
View File
@@ -678,4 +678,4 @@
},
"root": "root",
"version": 7
}
}
-2
View File
@@ -25,8 +25,6 @@
};
swapDevices = [ ];
networking.useDHCP = lib.mkDefault true;
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}
+1 -1
View File
@@ -77,4 +77,4 @@
"format": "\u001b[33m󰮯 \u001b[32m󰊠 \u001b[34m󰊠 \u001b[31m󰊠 \u001b[36m󰊠 \u001b[35m󰊠 \u001b[37m󰊠 \u001b[97m󰊠"
}
]
}
}
+1 -1
View File
@@ -98,5 +98,5 @@ export PATH="$HOME/.local/bin:$PATH"
#fetch
copetch --ascii
#fastfetch fuck fastfetch i'm better
#fuckfastfetch i'm better!
+6 -6
View File
@@ -94,11 +94,11 @@
];
device = [
{
name = "hp--inc-hyperx-cloud-alpha-s-consumer-control";
enabled = false;
}
];
{
name = "hp--inc-hyperx-cloud-alpha-s-consumer-control";
enabled = false;
}
];
};
}
+9 -8
View File
@@ -2,7 +2,8 @@
let
ipc = "noctalia-shell ipc call";
in {
in
{
wayland.windowManager.hyprland.settings = {
"$mainMod" = "SUPER";
@@ -17,8 +18,8 @@ in {
# interface
"$mainMod, Tab, exec, ${ipc} launcher windows"
"$mainMod, P, exec, ${ipc} bar toggle"
"CTRL ALT, Delete, exec, ${ipc} sessionMenu toggle"
"$mainMod, P, exec, ${ipc} bar toggle"
"CTRL ALT, Delete, exec, ${ipc} sessionMenu toggle"
# plugins
"$mainMod SHIFT, S, exec, ${ipc} plugin:screen-shot-and-record screenshot"
"$mainMod SHIFT, Z, exec, ${ipc} plugin:screen-shot-and-record search"
@@ -26,13 +27,13 @@ in {
"$mainMod SHIFT, C, exec, ${ipc} plugin:music panel"
# launchers
"$mainMod, Return, exec, ghostty"
"$mainMod, W, exec, zen-beta"
"$mainMod, W, exec, zen-beta"
"$mainMod, E, exec, nautilus"
"$mainMod, Z, exec, code"
"$mainMod ALT, V, exec, pavucontrol"
"$mainMod SHIFT, V, exec, ${ipc} launcher clipboard"
"$mainMod SHIFT, L, exec, ${ipc} lockScreen lock"
"CTRL SHIFT, Escape, exec, ghostty -e btop"
"$mainMod ALT, V, exec, pavucontrol"
"$mainMod SHIFT, V, exec, ${ipc} launcher clipboard"
"$mainMod SHIFT, L, exec, ${ipc} lockScreen lock"
"CTRL SHIFT, Escape, exec, ghostty -e btop"
# window management
"$mainMod, Q, killactive"
+1 -1
View File
@@ -20,4 +20,4 @@
"float off, match:class ^(steam)$, match:title ^(Steam)$"
];
};
}
}
+12 -12
View File
@@ -2,26 +2,26 @@
{
boot.kernelPackages = pkgs.cachyosKernels.linuxPackages-cachyos-latest-lto-x86_64-v2;
boot.kernelParams = [
"preempt=full"
"i915.enable_guc=2"
"i915.fastboot=1"
"mitigations=off"
"usbcore.autosuspend=-1"
"preempt=full"
"i915.enable_guc=2"
"i915.fastboot=1"
"mitigations=off"
"usbcore.autosuspend=-1"
];
boot.loader = {
timeout = 5;
timeout = 5;
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
};
systemd-boot = {
enable = true;
configurationLimit = 15;
consoleMode = "max";
editor = false;
configurationLimit = 15;
consoleMode = "max";
editor = false;
};
};
}
}
+2 -2
View File
@@ -24,7 +24,7 @@
services.pipewire.wireplumber.extraConfig."51-no-mic-monitor" = {
"monitor.alsa.rules" = [
{
matches = [ { "node.name" = "~alsa_input.*"; } ];
matches = [{ "node.name" = "~alsa_input.*"; }];
actions = {
"update-props" = {
"stream.dont-remix" = true;
@@ -33,4 +33,4 @@
}
];
};
}
}
+9 -9
View File
@@ -5,18 +5,18 @@
enable = true;
settings = {
animation = "colormix";
colormix_col1 = "0x00CC00FF"; # bright violet/purple
colormix_col2 = "0x000000EE"; # deep blue
colormix_col3 = "0x00880099"; # mid purple
colormix_col1 = "0x00CC00FF";
colormix_col2 = "0x000000EE";
colormix_col3 = "0x00880099";
bigclock = "en";
bigclock_12hr = false;
fg = "0x00FFFFFF";
bg = "0x00000000";
border_fg = "0x00FFFFFF";
error_fg = "0x01FF0000";
blank_box = true;
fg = "0x00FFFFFF";
bg = "0x00000000";
border_fg = "0x00FFFFFF";
error_fg = "0x01FF0000";
blank_box = true;
hide_borders = false;
margin_box_h = 2;
@@ -27,4 +27,4 @@
layout = "tr";
variant = "";
};
}
}
+8 -7
View File
@@ -2,7 +2,8 @@
let
driver = config.elars.hardware.graphics.driver;
in {
in
{
options.elars.hardware.graphics.driver = lib.mkOption {
type = lib.types.enum [ "intel" "amd" "nvidia" "hybrid-amd-nvidia" ];
default = "intel";
@@ -16,13 +17,13 @@ in {
};
}
(lib.mkIf (driver == "intel") (import ./intel.nix { inherit config lib pkgs; }))
(lib.mkIf (driver == "amd") (import ./amd.nix { inherit config lib pkgs; }))
(lib.mkIf (driver == "nvidia") (import ./nvidia.nix { inherit config lib pkgs; }))
(lib.mkIf (driver == "hybrid-amd-nvidia") (lib.mkMerge [
(import ./amd.nix { inherit config lib pkgs; })
(lib.mkIf (driver == "intel") (import ./intel.nix { inherit config lib pkgs; }))
(lib.mkIf (driver == "amd") (import ./amd.nix { inherit config lib pkgs; }))
(lib.mkIf (driver == "nvidia") (import ./nvidia.nix { inherit config lib pkgs; }))
(lib.mkIf (driver == "hybrid-amd-nvidia") (lib.mkMerge [
(import ./amd.nix { inherit config lib pkgs; })
(import ./nvidia.nix { inherit config lib pkgs; })
(import ./prime.nix { inherit config lib pkgs; })
(import ./prime.nix { inherit config lib pkgs; })
]))
];
}
+1 -1
View File
@@ -5,7 +5,7 @@
hardware.nvidia = {
modesetting.enable = true;
open = false; # for 20xx series make true for 30xx and newer
open = false; # for 20xx series make true for 30xx and newer
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.stable;
};
+2 -2
View File
@@ -3,7 +3,7 @@
{
hardware.nvidia.prime = {
offload.enable = true;
amdgpuBusId = "PCI:X:X:X"; # TODO
nvidiaBusId = "PCI:X:X:X"; # TODO
amdgpuBusId = "PCI:X:X:X"; # TODO
nvidiaBusId = "PCI:X:X:X"; # TODO
};
}
+1 -4
View File
@@ -8,10 +8,7 @@
via
vial
];
users.groups.plugdev = {};
users.groups.plugdev = { };
environment.systemPackages = with pkgs; [
qmk
via
+2 -2
View File
@@ -6,7 +6,7 @@
services.resolved = {
enable = true;
settings = {
Resolve = {
DNS = "1.1.1.1";
@@ -17,4 +17,4 @@
};
};
};
}
}
-4
View File
@@ -5,10 +5,6 @@
enable = true;
scheduler = "scx_lavd";
};
services.ananicy = {
enable = false;
package = pkgs.ananicy-cpp;
};
services.irqbalance.enable = true;
}
+1 -1
View File
@@ -11,7 +11,7 @@
"https://cache.nixos.org"
"https://nix-community.cachix.org"
"https://noctalia.cachix.org"
"https://nyx.chaotic.cx"
"https://nyx.chaotic.cx"
"https://attic.xuyh0120.win/lantian"
"https://cache.garnix.io"
];
+9 -7
View File
@@ -6,27 +6,29 @@
description = "elars";
initialPassword = "1111";
extraGroups = [
"networkmanager" "wheel" "docker" "plugdev"
"video" "audio" "lp" "scanner" "libvirtd"
"networkmanager"
"wheel"
"docker"
"plugdev"
"video"
"audio"
"lp"
"scanner"
"libvirtd"
];
shell = pkgs.zsh;
};
programs.nh = {
enable = true;
clean.enable = true;
clean.extraArgs = "--keep-since 4d --keep 3";
flake = "/home/elars/copland";
};
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestions.enable = true;
syntaxHighlighting.enable = true;
};
programs.firefox.enable = true;
# security.sudo.wheelNeedsPassword = false;
}