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,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
imports = [./fonts.nix];
|
||||
{pkgs, ...}: {
|
||||
imports = [../common/fonts.nix];
|
||||
|
||||
environment.etc."greetd/environments".text = ''
|
||||
bspwm
|
||||
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 = [
|
||||
# Include the results of the hardware scan.
|
||||
../../env/wayland
|
||||
({
|
||||
options,
|
||||
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 = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
|
|
|
|||
|
|
@ -113,20 +113,20 @@
|
|||
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
||||
};
|
||||
|
||||
specialisation = {
|
||||
nvidiaProduction.configuration = {
|
||||
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.production;
|
||||
environment.etc."specialisation".text = "nvidiaProduction";
|
||||
};
|
||||
nvidiaStable.configuration = {
|
||||
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
environment.etc."specialisation".text = "nvidiaStable";
|
||||
};
|
||||
nvidiaVulkanBeta.configuration = {
|
||||
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.vulkan_beta;
|
||||
environment.etc."specialisation".text = "nvidiaVulkanBeta";
|
||||
};
|
||||
};
|
||||
# specialisation = {
|
||||
# nvidiaProduction.configuration = {
|
||||
# hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.production;
|
||||
# environment.etc."specialisation".text = "nvidiaProduction";
|
||||
# };
|
||||
# nvidiaStable.configuration = {
|
||||
# hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
# environment.etc."specialisation".text = "nvidiaStable";
|
||||
# };
|
||||
# nvidiaVulkanBeta.configuration = {
|
||||
# hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.vulkan_beta;
|
||||
# environment.etc."specialisation".text = "nvidiaVulkanBeta";
|
||||
# };
|
||||
# };
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.zack = {
|
||||
|
|
@ -140,8 +140,6 @@
|
|||
rio
|
||||
telegram-desktop
|
||||
kitty
|
||||
mailspring
|
||||
# thunderbird
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
general = {
|
||||
# gaps
|
||||
gaps_in = 6;
|
||||
gaps_out = 11;
|
||||
gaps_out = 12;
|
||||
|
||||
# border thiccness
|
||||
border_size = 4;
|
||||
|
|
@ -32,20 +32,20 @@
|
|||
|
||||
decoration = {
|
||||
# fancy corners
|
||||
rounding = 12;
|
||||
rounding = 10;
|
||||
# blur
|
||||
blur = {
|
||||
enabled = true;
|
||||
size = 3;
|
||||
passes = 6;
|
||||
size = 2;
|
||||
passes = 5;
|
||||
ignore_opacity = false;
|
||||
new_optimizations = 1;
|
||||
contrast = 0.7;
|
||||
brightness = 0.8;
|
||||
contrast = 0.9;
|
||||
brightness = 0.9;
|
||||
};
|
||||
|
||||
# shadow config
|
||||
drop_shadow = "no";
|
||||
drop_shadow = "yes";
|
||||
shadow_range = 20;
|
||||
shadow_render_power = 5;
|
||||
"col.shadow" = "rgba(292c3cee)";
|
||||
|
|
@ -59,10 +59,6 @@
|
|||
|
||||
vfr = true;
|
||||
|
||||
# window swallowing
|
||||
enable_swallow = true; # hide windows that spawn other windows
|
||||
swallow_regex = "^(foot)$";
|
||||
|
||||
# dpms
|
||||
mouse_move_enables_dpms = true; # enable dpms on mouse/touchpad action
|
||||
key_press_enables_dpms = true; # enable dpms on keyboard action
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue