This commit is contained in:
Hadi 2024-05-09 16:33:24 +02:00
parent 6d4bc5a9e8
commit c4f8d05c0d
8 changed files with 82 additions and 20 deletions

View File

@ -52,6 +52,7 @@ in {
# Backup # Backup
vscode vscode
firefox firefox
tor-browser
]; ];
stateVersion = variable.stateVersion; stateVersion = variable.stateVersion;

View File

@ -177,6 +177,7 @@ in {
animations = { animations = {
enabled = true; enabled = true;
# animations from end-4 dotfiles
bezier = [ bezier = [
"linear, 0, 0, 1, 1" "linear, 0, 0, 1, 1"
"md3_standard, 0.2, 0, 0, 1" "md3_standard, 0.2, 0, 0, 1"
@ -185,18 +186,49 @@ in {
"overshot, 0.05, 0.9, 0.1, 1.1" "overshot, 0.05, 0.9, 0.1, 1.1"
"crazyshot, 0.1, 1.5, 0.76, 0.92 " "crazyshot, 0.1, 1.5, 0.76, 0.92 "
"hyprnostretch, 0.05, 0.9, 0.1, 1.0" "hyprnostretch, 0.05, 0.9, 0.1, 1.0"
"fluent_decel, 0.1, 1, 0, 1" "menu_decel, 0.1, 1, 0, 1"
"menu_accel, 0.38, 0.04, 1, 0.07"
"easeInOutCirc, 0.85, 0, 0.15, 1" "easeInOutCirc, 0.85, 0, 0.15, 1"
"easeOutCirc, 0, 0.55, 0.45, 1" "easeOutCirc, 0, 0.55, 0.45, 1"
"easeOutExpo, 0.16, 1, 0.3, 1" "easeOutExpo, 0.16, 1, 0.3, 1"
"softAcDecel, 0.26, 0.26, 0.15, 1"
"md2, 0.4, 0, 0.2, 1"
# old
# "linear, 0, 0, 1, 1"
# "md3_standard, 0.2, 0, 0, 1"
# "md3_decel, 0.05, 0.7, 0.1, 1"
# "md3_accel, 0.3, 0, 0.8, 0.15"
# "overshot, 0.05, 0.9, 0.1, 1.1"
# "crazyshot, 0.1, 1.5, 0.76, 0.92 "
# "hyprnostretch, 0.05, 0.9, 0.1, 1.0"
# "fluent_decel, 0.1, 1, 0, 1"
# "easeInOutCirc, 0.85, 0, 0.15, 1"
# "easeOutCirc, 0, 0.55, 0.45, 1"
# "easeOutExpo, 0.16, 1, 0.3, 1"
]; ];
animation = [ animation = [
"windows, 1, 3, md3_decel, popin 60%" "windows, 1, 3, md3_decel, popin 60%"
"windowsIn, 1, 3, md3_decel, popin 60%"
"windowsOut, 1, 3, md3_accel, popin 60%"
"border, 1, 10, default" "border, 1, 10, default"
"fade, 1, 2.5, md3_decel" "fade, 1, 3, md3_decel"
"workspaces, 1, 3.5, easeOutExpo, slide" # animation = layers, 1, 2, md3_decel, slide
"layersIn, 1, 3, menu_decel, slide"
"layersOut, 1, 1.6, menu_accel"
"fadeLayersIn, 1, 2, menu_decel"
"fadeLayersOut, 1, 4.5, menu_accel"
"workspaces, 1, 7, menu_decel, slide"
# animation = workspaces, 1, 2.5, softAcDecel, slide
# animation = workspaces, 1, 7, menu_decel, slidefade 15%
# animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15%
"specialWorkspace, 1, 3, md3_decel, slidevert" "specialWorkspace, 1, 3, md3_decel, slidevert"
# old
# "windows, 1, 3, md3_decel, popin 60%"
# "border, 1, 10, default"
# "fade, 1, 2.5, md3_decel"
# "workspaces, 1, 3.5, easeOutExpo, slide"
# "specialWorkspace, 1, 3, md3_decel, slidevert"
]; ];
}; };

View File

@ -14,6 +14,11 @@ with lib; {
}; };
}; };
animation-speed = mkOption {
type = types.str;
description = "Options: slow/medium/fast";
};
neofetch = mkOption { neofetch = mkOption {
type = types.str; type = types.str;
description = "Options: neofetch/nerdfetch/none"; description = "Options: neofetch/nerdfetch/none";

View File

@ -24,19 +24,32 @@
fg = "FCFCFC"; fg = "FCFCFC";
alt-bg = "101012"; alt-bg = "101012";
alt-fg = "ECECEC"; alt-fg = "ECECEC";
primary-ansi-16 = "magenta"; primary-ansi-16 = "magenta";
primary-bg = "a158ff"; primary-bg = "a158ff";
primary-fg = "000000"; primary-fg = "000000";
secondary-bg = "4928B8"; secondary-bg = "4928B8";
secondary-fg = "000000"; secondary-fg = "000000";
# Black
color0 = "000000"; color0 = "000000";
# Red
color1 = "f7768e"; color1 = "f7768e";
# Green
color2 = "73daca"; color2 = "73daca";
# Yellow
color3 = "e0af68"; color3 = "e0af68";
# Blue
color4 = "7aa2f7"; color4 = "7aa2f7";
color5 = "9978F8"; # Magenta
color5 = "a158ff";
# Cyan
color6 = "7dcfff"; color6 = "7dcfff";
# White
color7 = "E4E5E7"; color7 = "E4E5E7";
# Bright
color8 = "515878"; color8 = "515878";
color9 = "f7869e"; color9 = "f7869e";
color10 = "83eada"; color10 = "83eada";

View File

@ -24,26 +24,39 @@
fg = "FCFCFC"; fg = "FCFCFC";
alt-bg = "101012"; alt-bg = "101012";
alt-fg = "ECECEC"; alt-fg = "ECECEC";
primary-ansi-16 = "cyan"; primary-ansi-16 = "cyan";
primary-bg = "BBCDE5"; primary-bg = "bbcde5";
primary-fg = "000000"; primary-fg = "000000";
secondary-bg = "4928B8"; secondary-bg = "4928B8";
secondary-fg = "000000"; secondary-fg = "000000";
# Black
color0 = "000000"; color0 = "000000";
# Red
color1 = "f7768e"; color1 = "f7768e";
# Green
color2 = "73daca"; color2 = "73daca";
# Yellow
color3 = "e0af68"; color3 = "e0af68";
# Blue
color4 = "7aa2f7"; color4 = "7aa2f7";
# Magenta
color5 = "9978F8"; color5 = "9978F8";
color6 = "7dcfff"; # Cyan
color6 = "bbcde5";
# White
color7 = "E4E5E7"; color7 = "E4E5E7";
# Bright
color8 = "515878"; color8 = "515878";
color9 = "f7869e"; color9 = "f7869e";
color10 = "83eada"; color10 = "83eada";
color11 = "f0bf78"; color11 = "f0bf78";
color12 = "8ab2f7"; color12 = "8ab2f7";
color13 = "A988F8"; color13 = "A988F8";
color14 = "8ddfff"; color14 = "ccdef6";
color15 = "f4f5f7"; color15 = "f4f5f7";
}; };
}; };

View File

@ -48,17 +48,6 @@ in {
extraGroups = [ "networkmanager" "wheel" ]; extraGroups = [ "networkmanager" "wheel" ];
}; };
# Auto Update & Clean
# system.autoUpgrade = {
# enable = true;
# dates = "04:00";
# flake = "${config.users.users.${variable.username}.home}/.config/nixos";
# flags = [ "--update-input" "nixpkgs" "--commit-lock-file" ];
# allowReboot = false;
# };
##############
services = { services = {
xserver = { xserver = {
xkb.layout = "fr"; xkb.layout = "fr";
@ -122,6 +111,15 @@ in {
}; };
}; };
# Auto Update
# system.autoUpgrade = {
# enable = true;
# dates = "04:00";
# flake = "${config.users.users.${variable.username}.home}/.config/nixos";
# flags = [ "--update-input" "nixpkgs" "--commit-lock-file" ];
# allowReboot = false;
# };
services.dbus.enable = true; services.dbus.enable = true;
system.stateVersion = variable.stateVersion; system.stateVersion = variable.stateVersion;

View File

@ -1,4 +1,4 @@
{ pkgs, config, ... }: { {
hardware.opengl = { hardware.opengl = {
enable = true; enable = true;
driSupport = true; driSupport = true;

View File

@ -1,4 +1,4 @@
{ pkgs, ... }: { {
hardware.nvidia.prime = { hardware.nvidia.prime = {
offload = { offload = {
enable = true; enable = true;