mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
more fixes
This commit is contained in:
1 parent
4f335e4e8b
commit
3379be92ae
13 files changed
+43
-48
No files matched your search
@@ -25,8 +25,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|
||||||
networking.useDHCP = lib.mkDefault true;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
}
|
}
|
||||||
@@ -98,5 +98,5 @@ export PATH="$HOME/.local/bin:$PATH"
|
|||||||
|
|
||||||
#fetch
|
#fetch
|
||||||
copetch --ascii
|
copetch --ascii
|
||||||
#fastfetch fuck fastfetch i'm better
|
#fuckfastfetch i'm better!
|
||||||
|
|
||||||
@@ -94,11 +94,11 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
device = [
|
device = [
|
||||||
{
|
{
|
||||||
name = "hp--inc-hyperx-cloud-alpha-s-consumer-control";
|
name = "hp--inc-hyperx-cloud-alpha-s-consumer-control";
|
||||||
enabled = false;
|
enabled = false;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
ipc = "noctalia-shell ipc call";
|
ipc = "noctalia-shell ipc call";
|
||||||
in {
|
in
|
||||||
|
{
|
||||||
wayland.windowManager.hyprland.settings = {
|
wayland.windowManager.hyprland.settings = {
|
||||||
"$mainMod" = "SUPER";
|
"$mainMod" = "SUPER";
|
||||||
|
|
||||||
|
|||||||
@@ -4,11 +4,11 @@
|
|||||||
boot.kernelPackages = pkgs.cachyosKernels.linuxPackages-cachyos-latest-lto-x86_64-v2;
|
boot.kernelPackages = pkgs.cachyosKernels.linuxPackages-cachyos-latest-lto-x86_64-v2;
|
||||||
|
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
"preempt=full"
|
"preempt=full"
|
||||||
"i915.enable_guc=2"
|
"i915.enable_guc=2"
|
||||||
"i915.fastboot=1"
|
"i915.fastboot=1"
|
||||||
"mitigations=off"
|
"mitigations=off"
|
||||||
"usbcore.autosuspend=-1"
|
"usbcore.autosuspend=-1"
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
services.pipewire.wireplumber.extraConfig."51-no-mic-monitor" = {
|
services.pipewire.wireplumber.extraConfig."51-no-mic-monitor" = {
|
||||||
"monitor.alsa.rules" = [
|
"monitor.alsa.rules" = [
|
||||||
{
|
{
|
||||||
matches = [ { "node.name" = "~alsa_input.*"; } ];
|
matches = [{ "node.name" = "~alsa_input.*"; }];
|
||||||
actions = {
|
actions = {
|
||||||
"update-props" = {
|
"update-props" = {
|
||||||
"stream.dont-remix" = true;
|
"stream.dont-remix" = true;
|
||||||
|
|||||||
@@ -5,18 +5,18 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
animation = "colormix";
|
animation = "colormix";
|
||||||
colormix_col1 = "0x00CC00FF"; # bright violet/purple
|
colormix_col1 = "0x00CC00FF";
|
||||||
colormix_col2 = "0x000000EE"; # deep blue
|
colormix_col2 = "0x000000EE";
|
||||||
colormix_col3 = "0x00880099"; # mid purple
|
colormix_col3 = "0x00880099";
|
||||||
|
|
||||||
bigclock = "en";
|
bigclock = "en";
|
||||||
bigclock_12hr = false;
|
bigclock_12hr = false;
|
||||||
|
|
||||||
fg = "0x00FFFFFF";
|
fg = "0x00FFFFFF";
|
||||||
bg = "0x00000000";
|
bg = "0x00000000";
|
||||||
border_fg = "0x00FFFFFF";
|
border_fg = "0x00FFFFFF";
|
||||||
error_fg = "0x01FF0000";
|
error_fg = "0x01FF0000";
|
||||||
blank_box = true;
|
blank_box = true;
|
||||||
hide_borders = false;
|
hide_borders = false;
|
||||||
|
|
||||||
margin_box_h = 2;
|
margin_box_h = 2;
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
driver = config.elars.hardware.graphics.driver;
|
driver = config.elars.hardware.graphics.driver;
|
||||||
in {
|
in
|
||||||
|
{
|
||||||
options.elars.hardware.graphics.driver = lib.mkOption {
|
options.elars.hardware.graphics.driver = lib.mkOption {
|
||||||
type = lib.types.enum [ "intel" "amd" "nvidia" "hybrid-amd-nvidia" ];
|
type = lib.types.enum [ "intel" "amd" "nvidia" "hybrid-amd-nvidia" ];
|
||||||
default = "intel";
|
default = "intel";
|
||||||
@@ -16,13 +17,13 @@ in {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
(lib.mkIf (driver == "intel") (import ./intel.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 == "amd") (import ./amd.nix { inherit config lib pkgs; }))
|
||||||
(lib.mkIf (driver == "nvidia") (import ./nvidia.nix { inherit config lib pkgs; }))
|
(lib.mkIf (driver == "nvidia") (import ./nvidia.nix { inherit config lib pkgs; }))
|
||||||
(lib.mkIf (driver == "hybrid-amd-nvidia") (lib.mkMerge [
|
(lib.mkIf (driver == "hybrid-amd-nvidia") (lib.mkMerge [
|
||||||
(import ./amd.nix { inherit config lib pkgs; })
|
(import ./amd.nix { inherit config lib pkgs; })
|
||||||
(import ./nvidia.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; })
|
||||||
]))
|
]))
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
hardware.nvidia = {
|
hardware.nvidia = {
|
||||||
modesetting.enable = true;
|
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;
|
nvidiaSettings = true;
|
||||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
{
|
{
|
||||||
hardware.nvidia.prime = {
|
hardware.nvidia.prime = {
|
||||||
offload.enable = true;
|
offload.enable = true;
|
||||||
amdgpuBusId = "PCI:X:X:X"; # TODO
|
amdgpuBusId = "PCI:X:X:X"; # TODO
|
||||||
nvidiaBusId = "PCI:X:X:X"; # TODO
|
nvidiaBusId = "PCI:X:X:X"; # TODO
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -8,10 +8,7 @@
|
|||||||
via
|
via
|
||||||
vial
|
vial
|
||||||
];
|
];
|
||||||
|
users.groups.plugdev = { };
|
||||||
users.groups.plugdev = {};
|
|
||||||
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
qmk
|
qmk
|
||||||
via
|
via
|
||||||
|
|||||||
@@ -5,10 +5,6 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
scheduler = "scx_lavd";
|
scheduler = "scx_lavd";
|
||||||
};
|
};
|
||||||
services.ananicy = {
|
|
||||||
enable = false;
|
|
||||||
package = pkgs.ananicy-cpp;
|
|
||||||
};
|
|
||||||
|
|
||||||
services.irqbalance.enable = true;
|
services.irqbalance.enable = true;
|
||||||
}
|
}
|
||||||
@@ -6,27 +6,29 @@
|
|||||||
description = "elars";
|
description = "elars";
|
||||||
initialPassword = "1111";
|
initialPassword = "1111";
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"networkmanager" "wheel" "docker" "plugdev"
|
"networkmanager"
|
||||||
"video" "audio" "lp" "scanner" "libvirtd"
|
"wheel"
|
||||||
|
"docker"
|
||||||
|
"plugdev"
|
||||||
|
"video"
|
||||||
|
"audio"
|
||||||
|
"lp"
|
||||||
|
"scanner"
|
||||||
|
"libvirtd"
|
||||||
];
|
];
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.nh = {
|
programs.nh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
clean.enable = true;
|
clean.enable = true;
|
||||||
clean.extraArgs = "--keep-since 4d --keep 3";
|
clean.extraArgs = "--keep-since 4d --keep 3";
|
||||||
flake = "/home/elars/copland";
|
flake = "/home/elars/copland";
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
autosuggestions.enable = true;
|
autosuggestions.enable = true;
|
||||||
syntaxHighlighting.enable = true;
|
syntaxHighlighting.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.firefox.enable = true;
|
programs.firefox.enable = true;
|
||||||
|
|
||||||
# security.sudo.wheelNeedsPassword = false;
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user