Compare commits
12 commits
cca3ba7d09
...
fcbd4cd0af
Author | SHA1 | Date | |
---|---|---|---|
fcbd4cd0af | |||
fc1175b8a0 | |||
03374732ad | |||
b998471e57 | |||
5a54d79b92 | |||
6e70e952e2 | |||
57af25abe7 | |||
2836770da9 | |||
f7e85b6cde | |||
d3ad51f43c | |||
1ccc346287 | |||
b168b0bb49 |
15 changed files with 157 additions and 132 deletions
6
flake.lock
generated
6
flake.lock
generated
|
@ -594,11 +594,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1744098102,
|
"lastModified": 1744932701,
|
||||||
"narHash": "sha256-tzCdyIJj9AjysC3OuKA+tMD/kDEDAF9mICPDU7ix0JA=",
|
"narHash": "sha256-fusHbZCyv126cyArUwwKrLdCkgVAIaa/fQJYFlCEqiU=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c8cd81426f45942bb2906d5ed2fe21d2f19d95b7",
|
"rev": "b024ced1aac25639f8ca8fdfc2f8c4fbd66c48ef",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -27,17 +27,17 @@ inputs: let
|
||||||
modules = concatLists [
|
modules = concatLists [
|
||||||
# This is used to pre-emptively set the hostPlatform for nixpkgs.
|
# This is used to pre-emptively set the hostPlatform for nixpkgs.
|
||||||
# Also, we set the system hostname here.
|
# Also, we set the system hostname here.
|
||||||
[
|
|
||||||
# self.nixosModules.user
|
|
||||||
]
|
|
||||||
(singleton {
|
(singleton {
|
||||||
networking.hostName = hostname;
|
networking.hostName = hostname;
|
||||||
nixpkgs.hostPlatform = system;
|
nixpkgs.hostPlatform = system;
|
||||||
})
|
})
|
||||||
(flatten (
|
(flatten (
|
||||||
concatLists [
|
concatLists [
|
||||||
|
# configuration for the host, passed as an argument.
|
||||||
(singleton ./${hostname}/default.nix)
|
(singleton ./${hostname}/default.nix)
|
||||||
|
# common configuration, which all hosts share.
|
||||||
(singleton ./common.nix)
|
(singleton ./common.nix)
|
||||||
|
# Import all files called module.nix from my modules directory.
|
||||||
(
|
(
|
||||||
filter (hasSuffix "module.nix") (
|
filter (hasSuffix "module.nix") (
|
||||||
map toString (listFilesRecursive ../modules)
|
map toString (listFilesRecursive ../modules)
|
||||||
|
|
|
@ -69,7 +69,7 @@
|
||||||
btop.enable = true;
|
btop.enable = true;
|
||||||
nh.enable = true;
|
nh.enable = true;
|
||||||
thunar.enable = true;
|
thunar.enable = true;
|
||||||
schizofox.enable = true;
|
schizofox.enable = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
brave
|
brave
|
||||||
cachix
|
cachix
|
||||||
calc
|
calc
|
||||||
# calibre
|
|
||||||
cbonsai
|
cbonsai
|
||||||
cinny-desktop
|
cinny-desktop
|
||||||
cmus
|
cmus
|
||||||
|
@ -39,19 +38,14 @@
|
||||||
inetutils
|
inetutils
|
||||||
jujutsu
|
jujutsu
|
||||||
just
|
just
|
||||||
jrnl
|
|
||||||
keepassxc
|
keepassxc
|
||||||
lazygit
|
lazygit
|
||||||
libtool
|
libtool
|
||||||
librewolf
|
librewolf
|
||||||
links2
|
links2
|
||||||
linuxHeaders
|
linuxHeaders
|
||||||
moc
|
|
||||||
mpv
|
mpv
|
||||||
ncmpcpp
|
|
||||||
neofetch
|
|
||||||
networkmanagerapplet
|
networkmanagerapplet
|
||||||
nicotine-plus
|
|
||||||
nil
|
nil
|
||||||
nitch
|
nitch
|
||||||
obsidian
|
obsidian
|
||||||
|
@ -59,11 +53,10 @@
|
||||||
microfetch
|
microfetch
|
||||||
nmap
|
nmap
|
||||||
pamixer
|
pamixer
|
||||||
pavucontrol
|
pwvucontrol
|
||||||
pdfarranger
|
pdfarranger
|
||||||
pdfpc
|
pdfpc
|
||||||
pfetch
|
pfetch
|
||||||
pidgin
|
|
||||||
playerctl
|
playerctl
|
||||||
polkit
|
polkit
|
||||||
pulsemixer
|
pulsemixer
|
||||||
|
@ -73,26 +66,15 @@
|
||||||
signal-desktop
|
signal-desktop
|
||||||
smartmontools
|
smartmontools
|
||||||
telegram-desktop
|
telegram-desktop
|
||||||
texliveFull
|
|
||||||
tldr
|
|
||||||
thunderbird
|
thunderbird
|
||||||
tor-browser
|
|
||||||
trash-cli
|
trash-cli
|
||||||
typst
|
typst
|
||||||
util-linux
|
util-linux
|
||||||
v4l-utils
|
v4l-utils
|
||||||
vesktop
|
|
||||||
vlc
|
vlc
|
||||||
vscodium
|
vscodium
|
||||||
weechat
|
|
||||||
wireguard-tools
|
wireguard-tools
|
||||||
xournalpp
|
xournalpp
|
||||||
zapzap
|
|
||||||
zip
|
|
||||||
zoxide
|
|
||||||
kakoune
|
|
||||||
kakoune-lsp
|
|
||||||
television
|
|
||||||
;
|
;
|
||||||
inherit (self.packages.${pkgs.stdenv.system}) helix;
|
inherit (self.packages.${pkgs.stdenv.system}) helix;
|
||||||
};
|
};
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib.meta) getExe;
|
inherit (lib.meta) getExe getExe';
|
||||||
inherit (lib.modules) mkIf;
|
inherit (lib.modules) mkIf;
|
||||||
inherit (lib.options) mkOption mkEnableOption;
|
inherit (lib.options) mkOption mkEnableOption;
|
||||||
inherit (lib.types) str listOf;
|
inherit (lib.types) str listOf;
|
||||||
|
@ -36,14 +36,15 @@ in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
services.greetd = let
|
services.greetd = let
|
||||||
session = {
|
session = {
|
||||||
command = ''
|
# command = ''
|
||||||
${pkgs.greetd.tuigreet}/bin/tuigreet \
|
# ${pkgs.greetd.tuigreet}/bin/tuigreet \
|
||||||
-c \"${cfg.session}\" \
|
# -c \"${cfg.session}\" \
|
||||||
-r
|
# -r
|
||||||
-t --time-format "DD.MM.YYYY"
|
# -t --time-format "DD.MM.YYYY"
|
||||||
--asteriks'';
|
# --asteriks'';
|
||||||
# command = "${getExe config.programs.uwsm.package} start hyprland-uwsm.desktop";
|
|
||||||
# user = username;
|
command = "${getExe config.programs.uwsm.package} start hyprland-uwsm.desktop";
|
||||||
|
user = username;
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{
|
{
|
||||||
config,
|
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
|
@ -22,29 +21,38 @@ in {
|
||||||
RestartSec = 1;
|
RestartSec = 1;
|
||||||
TimeoutStopSec = 10;
|
TimeoutStopSec = 10;
|
||||||
|
|
||||||
|
CapabilityBoundingSet = [""];
|
||||||
|
DevicePolicy = "closed";
|
||||||
LockPersonality = true;
|
LockPersonality = true;
|
||||||
MemoryDenyWriteExecute = true;
|
MemoryDenyWriteExecute = true;
|
||||||
NoNewPrivileges = true;
|
NoNewPrivileges = true;
|
||||||
|
|
||||||
PrivateTmp = true;
|
|
||||||
PrivateDevices = true;
|
PrivateDevices = true;
|
||||||
DevicePolicy = "closed";
|
|
||||||
PrivateNetwork = true;
|
PrivateNetwork = true;
|
||||||
|
PrivateTmp = true;
|
||||||
|
PrivateUsers = true;
|
||||||
|
ProcSubset = "pid";
|
||||||
ProtectClock = true;
|
ProtectClock = true;
|
||||||
ProtectControlGroups = true;
|
ProtectControlGroups = true;
|
||||||
ProtectControlGroup = true;
|
ProtectControlGroup = true;
|
||||||
|
ProtectHome = "true";
|
||||||
|
ProtectHostname = true;
|
||||||
ProtectKernelLogs = true;
|
ProtectKernelLogs = true;
|
||||||
ProtectKernelModules = true;
|
ProtectKernelModules = true;
|
||||||
ProtectKernelTunables = true;
|
ProtectKernelTunables = true;
|
||||||
|
ProtectProc = "invisible";
|
||||||
ProtectSystem = "strict";
|
ProtectSystem = "strict";
|
||||||
ProtectHome = "read-only";
|
|
||||||
|
|
||||||
RestrictNamespaces = true;
|
RestrictNamespaces = true;
|
||||||
RestrictRealtime = true;
|
RestrictRealtime = true;
|
||||||
RestrictRealTime = true;
|
RestrictRealTime = true;
|
||||||
RestrictSUIDSGID = true;
|
RestrictSUIDSGID = true;
|
||||||
|
|
||||||
SystemCallFilter = "~@clock @cpu-emulation @debug @obsolete @module @mount @raw-io @reboot @swap";
|
SystemCallArchitectures = ["native"];
|
||||||
|
|
||||||
|
SystemCallFilter = [
|
||||||
|
"@system-service"
|
||||||
|
"~@privileged"
|
||||||
|
"~@resources"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,18 +4,43 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib.modules) mkIf;
|
inherit (builtins) toString isBool;
|
||||||
|
inherit (lib.generators) toINI;
|
||||||
|
inherit (lib.modules) mkMerge mkIf;
|
||||||
inherit (lib.options) mkOption mkEnableOption;
|
inherit (lib.options) mkOption mkEnableOption;
|
||||||
inherit (lib.types) str package;
|
inherit (lib.types) str package;
|
||||||
|
inherit (lib.strings) escape;
|
||||||
|
inherit (lib.trivial) boolToString;
|
||||||
|
|
||||||
cfg = config.modules.theming.gtk;
|
cfg = config.modules.theming.gtk;
|
||||||
|
|
||||||
|
toGtk3Ini = toINI {
|
||||||
|
mkKeyValue = key: value: let
|
||||||
|
value' =
|
||||||
|
if isBool value
|
||||||
|
then boolToString value
|
||||||
|
else toString value;
|
||||||
|
in "${escape ["="] key}=${value'}";
|
||||||
|
};
|
||||||
|
|
||||||
|
gtkIni = {
|
||||||
|
gtk-application-prefer-dark-theme = 1;
|
||||||
|
gtk-font-name = "Lexend 11";
|
||||||
|
gtk-icon-theme-name = "Papirus";
|
||||||
|
gtk-xft-antialias = 1;
|
||||||
|
gtk-xft-hinting = 1;
|
||||||
|
gtk-xft-hintstyle = "hintslight";
|
||||||
|
gtk-xft-rgba = "rgb";
|
||||||
|
gtk-cursor-theme-name = "BreezeX-RosePine-Linux";
|
||||||
|
gtk-theme-name = "Gruvbox-Dark";
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
options.modules.theming.gtk = {
|
options.modules.theming.gtk = {
|
||||||
enable = mkEnableOption "Wether to enable GTK theming";
|
enable = mkEnableOption "Wether to enable GTK theming";
|
||||||
theme = {
|
theme = {
|
||||||
name = mkOption {
|
name = mkOption {
|
||||||
description = "The GTK theme name";
|
description = "The GTK theme name";
|
||||||
default = "Gruvbox-Dark-BL";
|
default = "Gruvbox-Dark";
|
||||||
type = str;
|
type = str;
|
||||||
};
|
};
|
||||||
package = mkOption {
|
package = mkOption {
|
||||||
|
@ -28,7 +53,7 @@ in {
|
||||||
description = "The GTK icon theme";
|
description = "The GTK icon theme";
|
||||||
name = mkOption {
|
name = mkOption {
|
||||||
description = "The GTK icon theme name";
|
description = "The GTK icon theme name";
|
||||||
default = "Papirus-Dark";
|
default = "Papirus";
|
||||||
type = str;
|
type = str;
|
||||||
};
|
};
|
||||||
package = mkOption {
|
package = mkOption {
|
||||||
|
@ -38,28 +63,49 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = let
|
||||||
# NOTE: we need this or gtk breaks
|
cursorSize = 32;
|
||||||
programs.dconf.enable = true;
|
in
|
||||||
|
mkIf cfg.enable {
|
||||||
|
programs.dconf.enable = true;
|
||||||
|
environment = {
|
||||||
|
systemPackages = builtins.attrValues {
|
||||||
|
inherit
|
||||||
|
(pkgs)
|
||||||
|
rose-pine-cursor
|
||||||
|
gruvbox-gtk-theme
|
||||||
|
papirus-icon-theme
|
||||||
|
;
|
||||||
|
};
|
||||||
|
variables = {
|
||||||
|
GTK_THEME = cfg.theme.name;
|
||||||
|
XCURSOR_THEME = "BreezeX-RosePine-Linux";
|
||||||
|
XCURSOR_SIZE = toString cursorSize;
|
||||||
|
|
||||||
environment = {
|
HYPRCURSOR_THEME = "BreezeX-RosePine-Linux";
|
||||||
systemPackages = builtins.attrValues {
|
HYPRCURSOR_SIZE = toString cursorSize;
|
||||||
inherit
|
};
|
||||||
(pkgs)
|
etc = {
|
||||||
gruvbox-gtk-theme
|
"xdg/gtk-4.0/settings.ini".text = toGtk3Ini {
|
||||||
papirus-icon-theme
|
Settings = gtkIni;
|
||||||
;
|
};
|
||||||
};
|
"xdg/gtk-3.0/settings.ini".text = toGtk3Ini {
|
||||||
variables = let
|
Settings = gtkIni;
|
||||||
cursorSize = 32;
|
};
|
||||||
in {
|
|
||||||
GTK_THEME = "Gruvbox-Dark";
|
|
||||||
XCURSOR_THEME = "BreezeX-RosePine-Linux";
|
|
||||||
XCURSOR_SIZE = cursorSize;
|
|
||||||
|
|
||||||
HYPRCURSOR_THEME = "BreezeX-RosePine-Linux";
|
"xdg/gtk-2.0/gtkrc".text = ''
|
||||||
HYPRCURSOR_SIZE = cursorSize;
|
gtk-cursor-theme-name = BreezeX-RosePine-Linux
|
||||||
|
gtk-cursor-theme-size = ${toString cursorSize}
|
||||||
|
gtk-theme-name = ${cfg.theme.name}
|
||||||
|
gtk-icon-theme-name = ${cfg.iconTheme.name}
|
||||||
|
gtk-font-name = Lexend 11
|
||||||
|
'';
|
||||||
|
|
||||||
|
"xdg/Xresources".text = ''
|
||||||
|
Xcursor.size: ${toString cursorSize}
|
||||||
|
Xcursor.theme: BreezeX-RosePine-Linux
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,67 +4,15 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (builtins) toString isBool;
|
|
||||||
inherit (lib.generators) toINI;
|
|
||||||
inherit (lib.modules) mkMerge mkIf;
|
inherit (lib.modules) mkMerge mkIf;
|
||||||
inherit (lib.options) mkEnableOption;
|
inherit (lib.options) mkEnableOption;
|
||||||
inherit (lib.strings) escape;
|
|
||||||
inherit (lib.trivial) boolToString;
|
|
||||||
|
|
||||||
cfg = config.modules.theming;
|
cfg = config.modules.theming;
|
||||||
|
|
||||||
toGtk3Ini = toINI {
|
|
||||||
mkKeyValue = key: value: let
|
|
||||||
value' =
|
|
||||||
if isBool value
|
|
||||||
then boolToString value
|
|
||||||
else toString value;
|
|
||||||
in "${escape ["="] key}=${value'}";
|
|
||||||
};
|
|
||||||
|
|
||||||
gtkIni = {
|
|
||||||
gtk-application-prefer-dark-theme = 1;
|
|
||||||
gtk-font-name = "Lexend 11";
|
|
||||||
gtk-icon-theme-name = "Papirus-Dark";
|
|
||||||
gtk-xft-antialias = 1;
|
|
||||||
gtk-xft-hinting = 1;
|
|
||||||
gtk-xft-hintstyle = "hintslight";
|
|
||||||
gtk-xft-rgba = "rgb";
|
|
||||||
gtk-cursor-theme-name = "BreezeX-RosePine-Linux";
|
|
||||||
gtk-theme-name = "Gruvbox-Dark";
|
|
||||||
};
|
|
||||||
in {
|
in {
|
||||||
options.modules.theming = {
|
options.modules.theming = {
|
||||||
qt.enable = mkEnableOption "qt theming";
|
qt.enable = mkEnableOption "qt theming";
|
||||||
};
|
};
|
||||||
config = mkMerge [
|
config =
|
||||||
(mkIf cfg.gtk.enable {
|
mkMerge [
|
||||||
environment = {
|
];
|
||||||
systemPackages = builtins.attrValues {
|
|
||||||
inherit (pkgs) rose-pine-cursor;
|
|
||||||
};
|
|
||||||
etc = {
|
|
||||||
"xdg/gtk-4.0/settings.ini".text = toGtk3Ini {
|
|
||||||
Settings = gtkIni;
|
|
||||||
};
|
|
||||||
"xdg/gtk-3.0/settings.ini".text = toGtk3Ini {
|
|
||||||
Settings = gtkIni;
|
|
||||||
};
|
|
||||||
|
|
||||||
"xdg/gtk-2.0/gtkrc".text = ''
|
|
||||||
gtk-cursor-theme-name = BreezeX-RosePine-Linux
|
|
||||||
gtk-cursor-theme-size = 32
|
|
||||||
gtk-theme-name = Gruvbox-Dark
|
|
||||||
gtk-icon-theme-name = Papirus-Dark
|
|
||||||
gtk-font-name = Lexend 11
|
|
||||||
'';
|
|
||||||
|
|
||||||
"xdg/Xresources".text = ''
|
|
||||||
Xcursor.size: 32
|
|
||||||
Xcursor.theme: BreezeX-RosePine-Linux
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
})
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,6 +35,17 @@ in {
|
||||||
];
|
];
|
||||||
boot = {
|
boot = {
|
||||||
tmp.useTmpfs = true;
|
tmp.useTmpfs = true;
|
||||||
|
consoleLogLevel = 0;
|
||||||
|
|
||||||
|
kernelParams = [
|
||||||
|
"quiet"
|
||||||
|
"splash"
|
||||||
|
"rd.systemd.show_status=false"
|
||||||
|
"rd.udev.log_level=3"
|
||||||
|
"udev.log_priority=3"
|
||||||
|
"boot.shell_on_fail"
|
||||||
|
];
|
||||||
|
|
||||||
initrd = {
|
initrd = {
|
||||||
verbose = false;
|
verbose = false;
|
||||||
systemd.enable = true;
|
systemd.enable = true;
|
||||||
|
|
|
@ -11,7 +11,7 @@ in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
hardware.bluetooth = {
|
hardware.bluetooth = {
|
||||||
enable = true;
|
enable = true;
|
||||||
powerOnBoot = mkIf cfg.powerOnBoot true;
|
inherit (cfg) powerOnBoot;
|
||||||
};
|
};
|
||||||
environment.systemPackages = builtins.attrValues {
|
environment.systemPackages = builtins.attrValues {
|
||||||
inherit
|
inherit
|
||||||
|
|
|
@ -6,6 +6,17 @@ in {
|
||||||
];
|
];
|
||||||
networking = {
|
networking = {
|
||||||
enableIPv6 = true;
|
enableIPv6 = true;
|
||||||
|
|
||||||
|
# INFO: This disables wpa_supplicant,
|
||||||
|
# I use nenetworkmanager instead.
|
||||||
|
wireless.enable = false;
|
||||||
|
|
||||||
|
dhcpcd = {
|
||||||
|
# faster boot times
|
||||||
|
wait = "background";
|
||||||
|
extraConfig = "noarp";
|
||||||
|
};
|
||||||
|
|
||||||
nameservers = [
|
nameservers = [
|
||||||
# quad9 DNS
|
# quad9 DNS
|
||||||
"9.9.9.9"
|
"9.9.9.9"
|
||||||
|
@ -14,8 +25,17 @@ in {
|
||||||
};
|
};
|
||||||
services.resolved = {
|
services.resolved = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
dnssec = "false";
|
||||||
|
dnsovertls = "oppertunistic";
|
||||||
# quad9 dns
|
# quad9 dns
|
||||||
fallbackDns = ["9.9.9.9" "2620::fe::fe"];
|
fallbackDns = ["9.9.9.9" "2620::fe::fe"];
|
||||||
};
|
};
|
||||||
users.users.${username}.extraGroups = ["networkmanager"];
|
users.users.${username}.extraGroups = ["networkmanager"];
|
||||||
|
|
||||||
|
# systemd = {
|
||||||
|
# network = {
|
||||||
|
# enable = true;
|
||||||
|
# wait-online.anyInterface = true;
|
||||||
|
# };
|
||||||
|
# };
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
in {
|
in {
|
||||||
networking.networkmanager = {
|
networking.networkmanager = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# Removes about 2GB of stuff we do no need.
|
# # Removes about 2GB of stuff we do no need.
|
||||||
plugins = mkForce [];
|
# plugins = mkForce [];
|
||||||
|
|
||||||
dns = "systemd-resolved";
|
dns = "systemd-resolved";
|
||||||
unmanaged = [
|
unmanaged = [
|
||||||
|
|
|
@ -2,7 +2,8 @@ _: {
|
||||||
programs.hyprland.settings = {
|
programs.hyprland.settings = {
|
||||||
#Decoration settings
|
#Decoration settings
|
||||||
decoration = {
|
decoration = {
|
||||||
rounding = 0;
|
rounding = 10;
|
||||||
|
rounding_power = 3;
|
||||||
blur = {
|
blur = {
|
||||||
enabled = false;
|
enabled = false;
|
||||||
size = 3;
|
size = 3;
|
||||||
|
@ -16,15 +17,15 @@ _: {
|
||||||
];
|
];
|
||||||
# Hyprland anomations, using the above bezier curves
|
# Hyprland anomations, using the above bezier curves
|
||||||
animations = {
|
animations = {
|
||||||
enabled = false;
|
enabled = true;
|
||||||
# animation = [
|
|
||||||
# "windows, 1, 4, dupa, popin"
|
|
||||||
# "windowsOut, 1, 4, dupa, slide"
|
|
||||||
# "border, 1, 15, default"
|
|
||||||
# "fade, 1, 10, default"
|
|
||||||
# "workspaces, 1, 5, dupa, slidevert"
|
|
||||||
# ];
|
|
||||||
};
|
};
|
||||||
|
animation = [
|
||||||
|
"windows, 1, 4, dupa, popin"
|
||||||
|
"windowsOut, 1, 4, dupa, slide"
|
||||||
|
"border, 1, 15, default"
|
||||||
|
"fade, 1, 10, default"
|
||||||
|
"workspaces, 1, 5, dupa, slidevert"
|
||||||
|
];
|
||||||
|
|
||||||
cursor = {
|
cursor = {
|
||||||
hide_on_key_press = true;
|
hide_on_key_press = true;
|
||||||
|
@ -35,8 +36,10 @@ _: {
|
||||||
enable_swallow = true;
|
enable_swallow = true;
|
||||||
swallow_regex = "foot";
|
swallow_regex = "foot";
|
||||||
focus_on_activate = true;
|
focus_on_activate = true;
|
||||||
|
|
||||||
vrr = 1;
|
vrr = 1;
|
||||||
vfr = true;
|
vfr = true;
|
||||||
|
|
||||||
animate_manual_resizes = false;
|
animate_manual_resizes = false;
|
||||||
animate_mouse_windowdragging = false;
|
animate_mouse_windowdragging = false;
|
||||||
force_default_wallpaper = 0;
|
force_default_wallpaper = 0;
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
# inherit (config.modules.style) cursor;
|
# inherit (config.modules.style) cursor;
|
||||||
|
inherit (lib.meta) getExe;
|
||||||
in {
|
in {
|
||||||
programs.hyprland.settings = {
|
programs.hyprland.settings = {
|
||||||
# Hyprland settings
|
# Hyprland settings
|
||||||
|
@ -13,6 +14,7 @@ in {
|
||||||
"uwsm finalize"
|
"uwsm finalize"
|
||||||
|
|
||||||
"hyprctl setcursor BreezeX-RosePine-Linux 32"
|
"hyprctl setcursor BreezeX-RosePine-Linux 32"
|
||||||
|
"hyprctl seterror disable"
|
||||||
|
|
||||||
"[workspace special:keepassxc; silent;tile] ${pkgs.keepassxc}/bin/keepassxc"
|
"[workspace special:keepassxc; silent;tile] ${pkgs.keepassxc}/bin/keepassxc"
|
||||||
"[workspace special:audio; silent;tile] ${pkgs.pwvucontrol}/bin/pwvucontrol"
|
"[workspace special:audio; silent;tile] ${pkgs.pwvucontrol}/bin/pwvucontrol"
|
||||||
|
@ -25,6 +27,7 @@ in {
|
||||||
"${pkgs.lxqt.lxqt-policykit}/bin/lxqt-policykit-agent"
|
"${pkgs.lxqt.lxqt-policykit}/bin/lxqt-policykit-agent"
|
||||||
"hyprctl dispatch split-workspace 1"
|
"hyprctl dispatch split-workspace 1"
|
||||||
|
|
||||||
|
"${getExe pkgs.hyprlock}"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,6 +57,9 @@ in {
|
||||||
no_border_on_floating = true;
|
no_border_on_floating = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# No annoying startup errors
|
||||||
|
debug.suppress_errors = true;
|
||||||
|
|
||||||
ecosystem.no_update_news = true;
|
ecosystem.no_update_news = true;
|
||||||
|
|
||||||
plugin = {
|
plugin = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue