mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 13:06:13 +01:00
general theme applying
This commit is contained in:
@@ -8,6 +8,13 @@
|
|||||||
extraConfig = {
|
extraConfig = {
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
push.autoSetupRemote = true;
|
push.autoSetupRemote = true;
|
||||||
|
user.signingkey = "9745B9E27E2B1ABB";
|
||||||
|
commit.gpgsign = true;
|
||||||
|
push.enabled = true;
|
||||||
|
column.ui = "auto";
|
||||||
|
branch.sort = "-committerdate";
|
||||||
|
pull.rebase = "false";
|
||||||
|
rerere.enabled = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -48,10 +48,10 @@
|
|||||||
|
|
||||||
"symbols.hidesExplorerArrows" = false;
|
"symbols.hidesExplorerArrows" = false;
|
||||||
|
|
||||||
"workbench.iconTheme" = "vs-minimal";
|
"workbench.iconTheme" = "rose-pine-icons";
|
||||||
"workbench.colorTheme" = "Rose Pine";
|
"workbench.colorTheme" = "Rosé Pine";
|
||||||
"workbench.preferredDarkColorTheme" = "Rose Pine";
|
"workbench.preferredDarkColorTheme" = "Rosé Pine";
|
||||||
"workbench.preferredHighContrastColorTheme" = "Rose Pine";
|
"workbench.preferredHighContrastColorTheme" = "Rosé Pine";
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -655,27 +655,44 @@ windowrulev2 = noblur,class:^(xwaylandvideobridge)$
|
|||||||
|
|
||||||
listener = [
|
listener = [
|
||||||
|
|
||||||
|
# {
|
||||||
|
# timeout = 60;
|
||||||
|
# on-timeout = "brightnessctl -sd asus::kbd_backlight set 0";
|
||||||
|
# on-resume = "brightnessctl -rd asus::kbd_backlight";
|
||||||
|
# }
|
||||||
|
|
||||||
|
# {
|
||||||
|
# timeout = 80;
|
||||||
|
# on-timeout = "brightnessctl -s set 0";
|
||||||
|
# on-resume = "brightnessctl -r";
|
||||||
|
# }
|
||||||
|
|
||||||
|
# {
|
||||||
|
# timeout = 100;
|
||||||
|
# on-timeout = "hyprctl dispatch dpms off ";
|
||||||
|
# on-resume = "hyprctl dispatch dpms on";
|
||||||
|
# }
|
||||||
|
|
||||||
|
# {
|
||||||
|
# timeout = 150;
|
||||||
|
# on-timeout = "systemctl suspend";
|
||||||
|
# }
|
||||||
{
|
{
|
||||||
timeout = 60;
|
timeout = 300; # 5min
|
||||||
on-timeout = "brightnessctl -sd asus::kbd_backlight set 0";
|
on-timeout = "brightnessctl -s set 10"; # set monitor backlight to minimum, avoid 0 on OLED monitor.
|
||||||
on-resume = "brightnessctl -rd asus::kbd_backlight";
|
on-resume = "brightnessctl -r"; # monitor backlight restore.
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
timeout = 80;
|
timeout = 600; # 10min
|
||||||
on-timeout = "brightnessctl -s set 0";
|
on-timeout = "loginctl lock-session"; # lock screen when timeout has passed
|
||||||
on-resume = "brightnessctl -r";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
timeout = 100;
|
timeout = 1800; # 30min
|
||||||
on-timeout = "hyprctl dispatch dpms off ";
|
on-timeout = "systemctl hibernate";
|
||||||
on-resume = "hyprctl dispatch dpms on";
|
# on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
|
||||||
}
|
# on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired.
|
||||||
|
|
||||||
{
|
|
||||||
timeout = 150;
|
|
||||||
on-timeout = "systemctl suspend";
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -259,6 +259,30 @@
|
|||||||
# CSS Styling
|
# CSS Styling
|
||||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
style = ''
|
style = ''
|
||||||
|
/*
|
||||||
|
* Variant: Rosé Pine
|
||||||
|
* Maintainer: DankChoir
|
||||||
|
*/
|
||||||
|
|
||||||
|
@define-color base #191724;
|
||||||
|
@define-color surface #1f1d2e;
|
||||||
|
@define-color overlay #26233a;
|
||||||
|
|
||||||
|
@define-color muted #6e6a86;
|
||||||
|
@define-color subtle #908caa;
|
||||||
|
@define-color text #e0def4;
|
||||||
|
|
||||||
|
@define-color love #eb6f92;
|
||||||
|
@define-color gold #f6c177;
|
||||||
|
@define-color rose #ebbcba;
|
||||||
|
@define-color pine #31748f;
|
||||||
|
@define-color foam #9ccfd8;
|
||||||
|
@define-color iris #c4a7e7;
|
||||||
|
|
||||||
|
@define-color highlightLow #21202e;
|
||||||
|
@define-color highlightMed #403d52;
|
||||||
|
@define-color highlightHigh #524f67;
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: "JetBrainsMono Nerd Font", FontAwesome, Roboto, Helvetica,
|
font-family: "JetBrainsMono Nerd Font", FontAwesome, Roboto, Helvetica,
|
||||||
Arial, sans-serif;
|
Arial, sans-serif;
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
./modules/security.nix
|
./modules/security.nix
|
||||||
./modules/pipewire.nix
|
./modules/pipewire.nix
|
||||||
./modules/gsettings.nix
|
./modules/gsettings.nix
|
||||||
./modules/bluetooth.nix
|
# ./modules/bluetooth.nix
|
||||||
./modules/packages.nix
|
./modules/packages.nix
|
||||||
# ./modules/lanzaboot.nix
|
# ./modules/lanzaboot.nix
|
||||||
./modules/configuration.nix
|
./modules/configuration.nix
|
||||||
|
|||||||
@@ -11,10 +11,13 @@
|
|||||||
services = {
|
services = {
|
||||||
logind = {
|
logind = {
|
||||||
lidSwitch = "ignore";
|
lidSwitch = "ignore";
|
||||||
lidSwitchExternalPower = if hostname == "server" then "ignore" else "suspend-then-hibernate";
|
# lidSwitchExternalPower = if hostname == "server" then "ignore" else "suspend-then-hibernate";
|
||||||
|
lidSwitchExternalPower = "ignore";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
|
|
||||||
system = {
|
system = {
|
||||||
stateVersion = "24.05";
|
stateVersion = "24.05";
|
||||||
switch = {
|
switch = {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
xkb.layout = "fr";
|
xkb.layout = "pl";
|
||||||
xkb.variant = "";
|
xkb.variant = "";
|
||||||
excludePackages = [ pkgs.xterm ];
|
excludePackages = [ pkgs.xterm ];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user