433 current 2024-04-19 17:31:43 24.05.20240419.193037d 6.8.6-zen1 *
This commit is contained in:
parent
b352b191dc
commit
9f38900605
6 changed files with 58 additions and 34 deletions
0
env/wayland/fonts.nix → env/common/fonts.nix
vendored
0
env/wayland/fonts.nix → env/common/fonts.nix
vendored
9
env/wayland/default.nix
vendored
9
env/wayland/default.nix
vendored
|
|
@ -1,11 +1,8 @@
|
||||||
{
|
{pkgs, ...}: {
|
||||||
pkgs,
|
imports = [../common/fonts.nix];
|
||||||
inputs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [./fonts.nix];
|
|
||||||
|
|
||||||
environment.etc."greetd/environments".text = ''
|
environment.etc."greetd/environments".text = ''
|
||||||
|
bspwm
|
||||||
Hyprland
|
Hyprland
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
||||||
19
env/x11/default.nix
vendored
Normal file
19
env/x11/default.nix
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
environment.etc."greetd/environments".text = ''
|
||||||
|
bspwm
|
||||||
|
Hyprland
|
||||||
|
'';
|
||||||
|
|
||||||
|
services = {
|
||||||
|
greetd = {
|
||||||
|
enable = true;
|
||||||
|
settings = rec {
|
||||||
|
initial_session = {
|
||||||
|
command = "bspwm";
|
||||||
|
user = "zack";
|
||||||
|
};
|
||||||
|
default_session = initial_session;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -10,7 +10,6 @@
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
# Include the results of the hardware scan.
|
# Include the results of the hardware scan.
|
||||||
../../env/wayland
|
|
||||||
({
|
({
|
||||||
options,
|
options,
|
||||||
lib,
|
lib,
|
||||||
|
|
@ -31,6 +30,21 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# specialisation = {
|
||||||
|
# bspwm.configuration = {
|
||||||
|
# imports = [
|
||||||
|
# ../../env/x11
|
||||||
|
# ];
|
||||||
|
# environment.etc."specialisation".text = "bspwm";
|
||||||
|
# };
|
||||||
|
# hyprland.configuration = {
|
||||||
|
# imports = [
|
||||||
|
# ../../env/wayland
|
||||||
|
# ];
|
||||||
|
# environment.etc."specialisation".text = "hyprland";
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
|
||||||
nix.gc = {
|
nix.gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
dates = "weekly";
|
dates = "weekly";
|
||||||
|
|
|
||||||
|
|
@ -113,20 +113,20 @@
|
||||||
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
||||||
};
|
};
|
||||||
|
|
||||||
specialisation = {
|
# specialisation = {
|
||||||
nvidiaProduction.configuration = {
|
# nvidiaProduction.configuration = {
|
||||||
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.production;
|
# hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.production;
|
||||||
environment.etc."specialisation".text = "nvidiaProduction";
|
# environment.etc."specialisation".text = "nvidiaProduction";
|
||||||
};
|
# };
|
||||||
nvidiaStable.configuration = {
|
# nvidiaStable.configuration = {
|
||||||
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
|
# hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||||
environment.etc."specialisation".text = "nvidiaStable";
|
# environment.etc."specialisation".text = "nvidiaStable";
|
||||||
};
|
# };
|
||||||
nvidiaVulkanBeta.configuration = {
|
# nvidiaVulkanBeta.configuration = {
|
||||||
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.vulkan_beta;
|
# hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.vulkan_beta;
|
||||||
environment.etc."specialisation".text = "nvidiaVulkanBeta";
|
# environment.etc."specialisation".text = "nvidiaVulkanBeta";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
users.users.zack = {
|
users.users.zack = {
|
||||||
|
|
@ -140,8 +140,6 @@
|
||||||
rio
|
rio
|
||||||
telegram-desktop
|
telegram-desktop
|
||||||
kitty
|
kitty
|
||||||
mailspring
|
|
||||||
# thunderbird
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
general = {
|
general = {
|
||||||
# gaps
|
# gaps
|
||||||
gaps_in = 6;
|
gaps_in = 6;
|
||||||
gaps_out = 11;
|
gaps_out = 12;
|
||||||
|
|
||||||
# border thiccness
|
# border thiccness
|
||||||
border_size = 4;
|
border_size = 4;
|
||||||
|
|
@ -32,20 +32,20 @@
|
||||||
|
|
||||||
decoration = {
|
decoration = {
|
||||||
# fancy corners
|
# fancy corners
|
||||||
rounding = 12;
|
rounding = 10;
|
||||||
# blur
|
# blur
|
||||||
blur = {
|
blur = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
size = 3;
|
size = 2;
|
||||||
passes = 6;
|
passes = 5;
|
||||||
ignore_opacity = false;
|
ignore_opacity = false;
|
||||||
new_optimizations = 1;
|
new_optimizations = 1;
|
||||||
contrast = 0.7;
|
contrast = 0.9;
|
||||||
brightness = 0.8;
|
brightness = 0.9;
|
||||||
};
|
};
|
||||||
|
|
||||||
# shadow config
|
# shadow config
|
||||||
drop_shadow = "no";
|
drop_shadow = "yes";
|
||||||
shadow_range = 20;
|
shadow_range = 20;
|
||||||
shadow_render_power = 5;
|
shadow_render_power = 5;
|
||||||
"col.shadow" = "rgba(292c3cee)";
|
"col.shadow" = "rgba(292c3cee)";
|
||||||
|
|
@ -59,10 +59,6 @@
|
||||||
|
|
||||||
vfr = true;
|
vfr = true;
|
||||||
|
|
||||||
# window swallowing
|
|
||||||
enable_swallow = true; # hide windows that spawn other windows
|
|
||||||
swallow_regex = "^(foot)$";
|
|
||||||
|
|
||||||
# dpms
|
# dpms
|
||||||
mouse_move_enables_dpms = true; # enable dpms on mouse/touchpad action
|
mouse_move_enables_dpms = true; # enable dpms on mouse/touchpad action
|
||||||
key_press_enables_dpms = true; # enable dpms on keyboard action
|
key_press_enables_dpms = true; # enable dpms on keyboard action
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue