Merge branch 'framework/master' into zenix/master
This commit is contained in:
commit
bbfa0261f2
4 changed files with 21 additions and 13 deletions
|
|
@ -73,8 +73,6 @@ in {
|
||||||
hardware.cpu.amd.updateMicrocode = true;
|
hardware.cpu.amd.updateMicrocode = true;
|
||||||
hardware.cpu.x86.msr.enable = true;
|
hardware.cpu.x86.msr.enable = true;
|
||||||
|
|
||||||
hardware.keyboard.zsa.enable = true;
|
|
||||||
|
|
||||||
networking.hostName = "zenix";
|
networking.hostName = "zenix";
|
||||||
|
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,8 @@
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (config.lib.cosmic) mkRON;
|
inherit (config.lib.cosmic) mkRON;
|
||||||
mkAction = variant: action: mkRON "enum" {
|
mkAction = variant: action:
|
||||||
|
mkRON "enum" {
|
||||||
inherit variant;
|
inherit variant;
|
||||||
value = [
|
value = [
|
||||||
(mkRON "enum" action)
|
(mkRON "enum" action)
|
||||||
|
|
@ -35,8 +36,8 @@ in {
|
||||||
autotile = true;
|
autotile = true;
|
||||||
focus_follows_cursor = true;
|
focus_follows_cursor = true;
|
||||||
focus_follows_cursor_delay = 25;
|
focus_follows_cursor_delay = 25;
|
||||||
input_default = mkRON "optional" {
|
input_default.acceleration = mkRON "optional" {
|
||||||
profile = (mkRON "optional" (mkRON "enum" "Flat"));
|
profile = mkRON "optional" (mkRON "enum" "Flat");
|
||||||
speed = 0.0;
|
speed = 0.0;
|
||||||
};
|
};
|
||||||
keyboard_config.numlock_state = (mkRON "enum" "BootOn");
|
keyboard_config.numlock_state = (mkRON "enum" "BootOn");
|
||||||
|
|
@ -51,7 +52,7 @@ in {
|
||||||
sampling_method = mkRON "enum" "Alphanumeric";
|
sampling_method = mkRON "enum" "Alphanumeric";
|
||||||
scaling_mode = mkRON "enum" "Zoom";
|
scaling_mode = mkRON "enum" "Zoom";
|
||||||
source = mkRON "enum" {
|
source = mkRON "enum" {
|
||||||
value = [ (toString config.stylix.image) ];
|
value = [(toString config.stylix.image)];
|
||||||
variant = "Path";
|
variant = "Path";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
@ -91,7 +92,5 @@ in {
|
||||||
size = mkRON "enum" "XS";
|
size = mkRON "enum" "XS";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -52,4 +52,8 @@
|
||||||
programs.lazygit = {
|
programs.lazygit = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.jujutsu = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,7 @@
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
image = "${pkgs.cosmic-wallpapers}/share/backgrounds/cosmic/orion_nebula_nasa_heic0601a.jpg";
|
image = "${pkgs.cosmic-wallpapers}/share/backgrounds/cosmic/orion_nebula_nasa_heic0601a.jpg";
|
||||||
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
||||||
polarity = "dark";
|
polarity = "dark";
|
||||||
opacity = {
|
opacity = {
|
||||||
terminal = 0.9;
|
terminal = 0.9;
|
||||||
|
|
@ -75,4 +76,10 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
indicator = true;
|
indicator = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hardware.keyboard.zsa.enable = true;
|
||||||
|
# enable keychron keyboard configuration
|
||||||
|
services.udev.extraRules = ''
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="3434", ATTRS{idProduct}=="0e60", MODE="0660", GROUP="users", TAG+="uaccess", TAG+="udev-acl"
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue