Compare commits

...

6 commits

Author SHA1 Message Date
d9aa13a316
wayland: remove wlr vars 2024-05-13 11:15:35 -04:00
62d5a0fc7a
nix: add hyprpaper overlay 2024-05-13 11:15:21 -04:00
27db5847fb
flake.nix: remove hyprcursor 2024-05-13 11:15:13 -04:00
8ad2328160
hosts: remove disko 2024-05-13 11:15:04 -04:00
d7e3f642ae
hypr*: switch to upstream hm modules 2024-05-13 11:13:29 -04:00
db1ef4d418
nix: remove hyprland overlay 2024-05-13 10:18:35 -04:00
10 changed files with 230 additions and 337 deletions

View file

@ -483,7 +483,7 @@
}, },
"flake-utils_5": { "flake-utils_5": {
"inputs": { "inputs": {
"systems": "systems_13" "systems": "systems_12"
}, },
"locked": { "locked": {
"lastModified": 1710146030, "lastModified": 1710146030,
@ -501,7 +501,7 @@
}, },
"flake-utils_6": { "flake-utils_6": {
"inputs": { "inputs": {
"systems": "systems_16" "systems": "systems_15"
}, },
"locked": { "locked": {
"lastModified": 1710146030, "lastModified": 1710146030,
@ -634,26 +634,6 @@
} }
}, },
"hyprcursor": { "hyprcursor": {
"inputs": {
"hyprlang": "hyprlang",
"nixpkgs": "nixpkgs_6",
"systems": "systems_5"
},
"locked": {
"lastModified": 1713612213,
"narHash": "sha256-zJboXgWNpNhKyNF8H/3UYzWkx7w00TOCGKi3cwi+tsw=",
"owner": "hyprwm",
"repo": "hyprcursor",
"rev": "cab4746180f210a3c1dd3d53e45c510e309e90e1",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprcursor",
"type": "github"
}
},
"hyprcursor_2": {
"inputs": { "inputs": {
"hyprlang": [ "hyprlang": [
"hyprland", "hyprland",
@ -684,9 +664,9 @@
}, },
"hypridle": { "hypridle": {
"inputs": { "inputs": {
"hyprlang": "hyprlang_2", "hyprlang": "hyprlang",
"nixpkgs": "nixpkgs_7", "nixpkgs": "nixpkgs_6",
"systems": "systems_7" "systems": "systems_6"
}, },
"locked": { "locked": {
"lastModified": 1713472482, "lastModified": 1713472482,
@ -704,11 +684,11 @@
}, },
"hyprland": { "hyprland": {
"inputs": { "inputs": {
"hyprcursor": "hyprcursor_2", "hyprcursor": "hyprcursor",
"hyprlang": "hyprlang_3", "hyprlang": "hyprlang_2",
"hyprwayland-scanner": "hyprwayland-scanner", "hyprwayland-scanner": "hyprwayland-scanner",
"nixpkgs": "nixpkgs_8", "nixpkgs": "nixpkgs_7",
"systems": "systems_8", "systems": "systems_7",
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
@ -807,13 +787,10 @@
"hyprlang": { "hyprlang": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"hyprcursor", "hypridle",
"nixpkgs" "nixpkgs"
], ],
"systems": [ "systems": "systems_5"
"hyprcursor",
"systems"
]
}, },
"locked": { "locked": {
"lastModified": 1713121246, "lastModified": 1713121246,
@ -830,28 +807,6 @@
} }
}, },
"hyprlang_2": { "hyprlang_2": {
"inputs": {
"nixpkgs": [
"hypridle",
"nixpkgs"
],
"systems": "systems_6"
},
"locked": {
"lastModified": 1713121246,
"narHash": "sha256-502X0Q0fhN6tJK7iEUA8CghONKSatW/Mqj4Wappd++0=",
"owner": "hyprwm",
"repo": "hyprlang",
"rev": "78fcaa27ae9e1d782faa3ff06c8ea55ddce63706",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprlang",
"type": "github"
}
},
"hyprlang_3": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"hyprland", "hyprland",
@ -876,13 +831,32 @@
"type": "github" "type": "github"
} }
}, },
"hyprlang_4": { "hyprlang_3": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"hyprlock", "hyprlock",
"nixpkgs" "nixpkgs"
], ],
"systems": "systems_9" "systems": "systems_8"
},
"locked": {
"lastModified": 1713121246,
"narHash": "sha256-502X0Q0fhN6tJK7iEUA8CghONKSatW/Mqj4Wappd++0=",
"owner": "hyprwm",
"repo": "hyprlang",
"rev": "78fcaa27ae9e1d782faa3ff06c8ea55ddce63706",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprlang",
"type": "github"
}
},
"hyprlang_4": {
"inputs": {
"nixpkgs": "nixpkgs_9",
"systems": "systems_10"
}, },
"locked": { "locked": {
"lastModified": 1713121246, "lastModified": 1713121246,
@ -899,31 +873,12 @@
} }
}, },
"hyprlang_5": { "hyprlang_5": {
"inputs": {
"nixpkgs": "nixpkgs_10",
"systems": "systems_11"
},
"locked": {
"lastModified": 1713121246,
"narHash": "sha256-502X0Q0fhN6tJK7iEUA8CghONKSatW/Mqj4Wappd++0=",
"owner": "hyprwm",
"repo": "hyprlang",
"rev": "78fcaa27ae9e1d782faa3ff06c8ea55ddce63706",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprlang",
"type": "github"
}
},
"hyprlang_6": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"xdg-portal-hyprland", "xdg-portal-hyprland",
"nixpkgs" "nixpkgs"
], ],
"systems": "systems_14" "systems": "systems_13"
}, },
"locked": { "locked": {
"lastModified": 1713121246, "lastModified": 1713121246,
@ -941,9 +896,9 @@
}, },
"hyprlock": { "hyprlock": {
"inputs": { "inputs": {
"hyprlang": "hyprlang_4", "hyprlang": "hyprlang_3",
"nixpkgs": "nixpkgs_9", "nixpkgs": "nixpkgs_8",
"systems": "systems_10" "systems": "systems_9"
}, },
"locked": { "locked": {
"lastModified": 1715510809, "lastModified": 1715510809,
@ -961,9 +916,9 @@
}, },
"hyprpaper": { "hyprpaper": {
"inputs": { "inputs": {
"hyprlang": "hyprlang_5", "hyprlang": "hyprlang_4",
"nixpkgs": "nixpkgs_11", "nixpkgs": "nixpkgs_10",
"systems": "systems_12" "systems": "systems_11"
}, },
"locked": { "locked": {
"lastModified": 1714910693, "lastModified": 1714910693,
@ -981,7 +936,7 @@
}, },
"hyprpicker": { "hyprpicker": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_12" "nixpkgs": "nixpkgs_11"
}, },
"locked": { "locked": {
"lastModified": 1715417660, "lastModified": 1715417660,
@ -1025,7 +980,7 @@
"nix-gaming": { "nix-gaming": {
"inputs": { "inputs": {
"flake-parts": "flake-parts_3", "flake-parts": "flake-parts_3",
"nixpkgs": "nixpkgs_13" "nixpkgs": "nixpkgs_12"
}, },
"locked": { "locked": {
"lastModified": 1715476621, "lastModified": 1715476621,
@ -1146,22 +1101,6 @@
} }
}, },
"nixpkgs_10": { "nixpkgs_10": {
"locked": {
"lastModified": 1708475490,
"narHash": "sha256-g1v0TsWBQPX97ziznfJdWhgMyMGtoBFs102xSYO4syU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "0e74ca98a74bc7270d28838369593635a5db3260",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_11": {
"locked": { "locked": {
"lastModified": 1712963716, "lastModified": 1712963716,
"narHash": "sha256-WKm9CvgCldeIVvRz87iOMi8CFVB1apJlkUT4GGvA0iM=", "narHash": "sha256-WKm9CvgCldeIVvRz87iOMi8CFVB1apJlkUT4GGvA0iM=",
@ -1177,7 +1116,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_12": { "nixpkgs_11": {
"locked": { "locked": {
"lastModified": 1683014792, "lastModified": 1683014792,
"narHash": "sha256-6Va9iVtmmsw4raBc3QKvQT2KT/NGRWlvUlJj46zN8B8=", "narHash": "sha256-6Va9iVtmmsw4raBc3QKvQT2KT/NGRWlvUlJj46zN8B8=",
@ -1193,7 +1132,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_13": { "nixpkgs_12": {
"locked": { "locked": {
"lastModified": 1715413075, "lastModified": 1715413075,
"narHash": "sha256-FCi3R1MeS5bVp0M0xTheveP6hhcCYfW/aghSTPebYL4=", "narHash": "sha256-FCi3R1MeS5bVp0M0xTheveP6hhcCYfW/aghSTPebYL4=",
@ -1209,7 +1148,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_14": { "nixpkgs_13": {
"locked": { "locked": {
"lastModified": 1715447595, "lastModified": 1715447595,
"narHash": "sha256-VsVAUQOj/cS1LCOmMjAGeRksXIAdPnFIjCQ0XLkCsT0=", "narHash": "sha256-VsVAUQOj/cS1LCOmMjAGeRksXIAdPnFIjCQ0XLkCsT0=",
@ -1225,7 +1164,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_15": { "nixpkgs_14": {
"locked": { "locked": {
"lastModified": 1710765496, "lastModified": 1710765496,
"narHash": "sha256-p7ryWEeQfMwTB6E0wIUd5V2cFTgq+DRRBz2hYGnJZyA=", "narHash": "sha256-p7ryWEeQfMwTB6E0wIUd5V2cFTgq+DRRBz2hYGnJZyA=",
@ -1241,7 +1180,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_16": { "nixpkgs_15": {
"locked": { "locked": {
"lastModified": 1714912032, "lastModified": 1714912032,
"narHash": "sha256-clkcOIkg8G4xuJh+1onLG4HPMpbtzdLv4rHxFzgsH9c=", "narHash": "sha256-clkcOIkg8G4xuJh+1onLG4HPMpbtzdLv4rHxFzgsH9c=",
@ -1257,7 +1196,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_17": { "nixpkgs_16": {
"locked": { "locked": {
"lastModified": 1712963716, "lastModified": 1712963716,
"narHash": "sha256-WKm9CvgCldeIVvRz87iOMi8CFVB1apJlkUT4GGvA0iM=", "narHash": "sha256-WKm9CvgCldeIVvRz87iOMi8CFVB1apJlkUT4GGvA0iM=",
@ -1273,7 +1212,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_18": { "nixpkgs_17": {
"locked": { "locked": {
"lastModified": 1713805509, "lastModified": 1713805509,
"narHash": "sha256-YgSEan4CcrjivCNO5ZNzhg7/8ViLkZ4CB/GrGBVSudo=", "narHash": "sha256-YgSEan4CcrjivCNO5ZNzhg7/8ViLkZ4CB/GrGBVSudo=",
@ -1370,22 +1309,6 @@
} }
}, },
"nixpkgs_7": { "nixpkgs_7": {
"locked": {
"lastModified": 1712963716,
"narHash": "sha256-WKm9CvgCldeIVvRz87iOMi8CFVB1apJlkUT4GGvA0iM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "cfd6b5fc90b15709b780a5a1619695a88505a176",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_8": {
"locked": { "locked": {
"lastModified": 1715087517, "lastModified": 1715087517,
"narHash": "sha256-CLU5Tsg24Ke4+7sH8azHWXKd0CFd4mhLWfhYgUiDBpQ=", "narHash": "sha256-CLU5Tsg24Ke4+7sH8azHWXKd0CFd4mhLWfhYgUiDBpQ=",
@ -1401,7 +1324,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_9": { "nixpkgs_8": {
"locked": { "locked": {
"lastModified": 1712963716, "lastModified": 1712963716,
"narHash": "sha256-WKm9CvgCldeIVvRz87iOMi8CFVB1apJlkUT4GGvA0iM=", "narHash": "sha256-WKm9CvgCldeIVvRz87iOMi8CFVB1apJlkUT4GGvA0iM=",
@ -1417,13 +1340,29 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_9": {
"locked": {
"lastModified": 1708475490,
"narHash": "sha256-g1v0TsWBQPX97ziznfJdWhgMyMGtoBFs102xSYO4syU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "0e74ca98a74bc7270d28838369593635a5db3260",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1715571190, "lastModified": 1715607605,
"narHash": "sha256-LaqzJ6sGfi9NImRdcFNZLGUcnUDRCxi3eQjuJRO4JzQ=", "narHash": "sha256-uBqYAggCZskgOah3oIPSAomQpKsS7PG69Xh7xMc/HfQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "702d0cde0e6abc982602c1670a525d06e8e92a5e", "rev": "46c8a3892f815cb687c22de95ba600e4fdc46ab8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1437,7 +1376,7 @@
"flake-compat": "flake-compat_5", "flake-compat": "flake-compat_5",
"flake-utils": "flake-utils_5", "flake-utils": "flake-utils_5",
"gitignore": "gitignore", "gitignore": "gitignore",
"nixpkgs": "nixpkgs_15", "nixpkgs": "nixpkgs_14",
"nixpkgs-stable": "nixpkgs-stable_2" "nixpkgs-stable": "nixpkgs-stable_2"
}, },
"locked": { "locked": {
@ -1464,7 +1403,6 @@
"flake-parts": "flake-parts_2", "flake-parts": "flake-parts_2",
"helix": "helix", "helix": "helix",
"home-manager": "home-manager", "home-manager": "home-manager",
"hyprcursor": "hyprcursor",
"hypridle": "hypridle", "hypridle": "hypridle",
"hyprland": "hyprland", "hyprland": "hyprland",
"hyprland-plugins": "hyprland-plugins", "hyprland-plugins": "hyprland-plugins",
@ -1473,7 +1411,7 @@
"hyprpicker": "hyprpicker", "hyprpicker": "hyprpicker",
"nix-gaming": "nix-gaming", "nix-gaming": "nix-gaming",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_14", "nixpkgs": "nixpkgs_13",
"nur": "nur", "nur": "nur",
"pre-commit-hooks": "pre-commit-hooks", "pre-commit-hooks": "pre-commit-hooks",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",
@ -1587,7 +1525,7 @@
"flake-compat": "flake-compat_6", "flake-compat": "flake-compat_6",
"gnome-shell": "gnome-shell", "gnome-shell": "gnome-shell",
"home-manager": "home-manager_2", "home-manager": "home-manager_2",
"nixpkgs": "nixpkgs_16" "nixpkgs": "nixpkgs_15"
}, },
"locked": { "locked": {
"lastModified": 1715516559, "lastModified": 1715516559,
@ -1649,21 +1587,6 @@
} }
}, },
"systems_12": { "systems_12": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
},
"systems_13": {
"locked": { "locked": {
"lastModified": 1681028828, "lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
@ -1678,6 +1601,21 @@
"type": "github" "type": "github"
} }
}, },
"systems_13": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
},
"systems_14": { "systems_14": {
"locked": { "locked": {
"lastModified": 1689347949, "lastModified": 1689347949,
@ -1694,21 +1632,6 @@
} }
}, },
"systems_15": { "systems_15": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
},
"systems_16": {
"locked": { "locked": {
"lastModified": 1681028828, "lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
@ -1864,9 +1787,9 @@
"xdg-portal-hyprland": { "xdg-portal-hyprland": {
"inputs": { "inputs": {
"hyprland-protocols": "hyprland-protocols_2", "hyprland-protocols": "hyprland-protocols_2",
"hyprlang": "hyprlang_6", "hyprlang": "hyprlang_5",
"nixpkgs": "nixpkgs_17", "nixpkgs": "nixpkgs_16",
"systems": "systems_15" "systems": "systems_14"
}, },
"locked": { "locked": {
"lastModified": 1714662532, "lastModified": 1714662532,
@ -1915,7 +1838,7 @@
"yazi": { "yazi": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_6", "flake-utils": "flake-utils_6",
"nixpkgs": "nixpkgs_18", "nixpkgs": "nixpkgs_17",
"rust-overlay": "rust-overlay_3" "rust-overlay": "rust-overlay_3"
}, },
"locked": { "locked": {

View file

@ -60,7 +60,6 @@
hypridle.url = "github:hyprwm/hypridle"; hypridle.url = "github:hyprwm/hypridle";
hyprlock.url = "github:hyprwm/hyprlock"; hyprlock.url = "github:hyprwm/hyprlock";
hyprpicker.url = "github:hyprwm/hyprpicker"; hyprpicker.url = "github:hyprwm/hyprpicker";
hyprcursor.url = "github:hyprwm/hyprcursor";
hyprpaper.url = "github:hyprwm/hyprpaper"; hyprpaper.url = "github:hyprwm/hyprpaper";
xdg-portal-hyprland.url = "github:hyprwm/xdg-desktop-portal-hyprland"; xdg-portal-hyprland.url = "github:hyprwm/xdg-desktop-portal-hyprland";
hyprland-plugins = { hyprland-plugins = {

View file

@ -12,7 +12,6 @@
slurp slurp
satty satty
wl-clipboard wl-clipboard
wlr-randr
]; ];
sessionVariables = { sessionVariables = {
__GL_GSYNC_ALLOWED = "0"; __GL_GSYNC_ALLOWED = "0";
@ -24,8 +23,6 @@
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1"; QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
GDK_BACKEND = "wayland"; GDK_BACKEND = "wayland";
MOZ_ENABLE_WAYLAND = "1"; MOZ_ENABLE_WAYLAND = "1";
WLR_BACKEND = "vulkan";
WLR_RENDERER = "vulkan";
XCURSOR_SIZE = "24"; XCURSOR_SIZE = "24";
NIXOS_OZONE_WL = "1"; NIXOS_OZONE_WL = "1";
EDITOR = "hx"; EDITOR = "hx";

View file

@ -1,103 +1,104 @@
_: { {inputs, ...}: {
imports = [inputs.hyprlock.homeManagerModules.default];
disabledModules = ["${inputs.home-manager}/modules/programs/hyprlock.nix"];
programs.hyprlock = { programs.hyprlock = {
enable = true; enable = true;
settings = { backgrounds = let
backgrounds = let verticalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle.png";
verticalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle.png"; horizontalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle2.png";
horizontalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle2.png"; in [
in [ {
{ monitor = "HDMI-A-1";
monitor = "HDMI-A-1"; path = verticalWallpaper;
path = verticalWallpaper; blur_passes = 3;
blur_passes = 3; blur_size = 4;
blur_size = 4; brightness = 0.5;
brightness = 0.5; }
} {
{ monitor = "DP-3";
monitor = "DP-3"; path = verticalWallpaper;
path = verticalWallpaper; blur_passes = 3;
blur_passes = 3; blur_size = 4;
blur_size = 4; brightness = 0.5;
brightness = 0.5; }
} {
{ monitor = "DP-1";
monitor = "DP-1"; path = horizontalWallpaper;
path = horizontalWallpaper; blur_passes = 3;
blur_passes = 3; blur_size = 4;
blur_size = 4; brightness = 0.5;
brightness = 0.5; }
} {
{ monitor = "DP-2";
monitor = "DP-2"; path = horizontalWallpaper;
path = horizontalWallpaper; blur_passes = 3;
blur_passes = 3; blur_size = 4;
blur_size = 4; brightness = 0.5;
brightness = 0.5; }
} ];
]; general = {
general = { grace = 5;
grace = 5; disable_loading_bar = false;
disable_loading_bar = false; hide_cursor = false;
hide_cursor = false; no_fade_in = false;
no_fade_in = false;
};
input-fields = [
{
monitor = "DP-2";
size = {
width = 350;
height = 50;
};
outline_thickness = 2;
outer_color = "rgb(f7768e)";
inner_color = "rgb(1a1b26)";
font_color = "rgb(c0caf5)";
fail_color = "rgb(f7768e)";
fail_text = "<i>$FAIL <b>($ATTEMPTS)</b></i>";
check_color = "rgb(ff9e64)";
swap_font_color = false;
placeholder_text = ''
<i><span foreground="##c0caf5">Password...</span></i>
'';
fade_on_empty = false;
dots_spacing = 0.5;
dots_center = true;
shadow_passes = 3;
shadow_size = 1;
shadow_color = "rgba(00000099)";
shadow_boost = 1.0;
}
];
labels = [
{
monitor = "DP-2";
text = ''
Hi, <i><span foreground="##f7768e">$USER</span></i>
'';
color = "rgb(c0caf5)";
valign = "center";
halign = "center";
shadow_passes = 3;
shadow_size = 1;
shadow_color = "rgba(00000099)";
shadow_boost = 1.0;
}
{
monitor = "DP-2";
text = "$TIME";
color = "rgb(c0caf5)";
position = {
x = 0;
y = 120;
};
valign = "center";
halign = "center";
shadow_passes = 3;
shadow_size = 1;
shadow_color = "rgba(00000099)";
shadow_boost = 0.6;
}
];
}; };
input-fields = [
{
monitor = "DP-2";
size = {
width = 350;
height = 50;
};
outline_thickness = 2;
outer_color = "rgb(f7768e)";
inner_color = "rgb(1a1b26)";
font_color = "rgb(c0caf5)";
fail_color = "rgb(f7768e)";
fail_text = "<i>$FAIL <b>($ATTEMPTS)</b></i>";
check_color = "rgb(ff9e64)";
swap_font_color = false;
placeholder_text = ''
<i><span foreground="##c0caf5">Password...</span></i>
'';
fade_on_empty = false;
dots_spacing = 0.5;
dots_center = true;
shadow_passes = 3;
shadow_size = 1;
shadow_color = "rgba(00000099)";
shadow_boost = 1.0;
}
];
labels = [
{
monitor = "DP-2";
text = ''
Hi, <i><span foreground="##f7768e">$USER</span></i>
'';
color = "rgb(c0caf5)";
valign = "center";
halign = "center";
shadow_passes = 3;
shadow_size = 1;
shadow_color = "rgba(00000099)";
shadow_boost = 1.0;
}
{
monitor = "DP-2";
text = "$TIME";
color = "rgb(c0caf5)";
position = {
x = 0;
y = 120;
};
valign = "center";
halign = "center";
shadow_passes = 3;
shadow_size = 1;
shadow_color = "rgba(00000099)";
shadow_boost = 0.6;
}
];
}; };
} }

View file

@ -1,25 +1,27 @@
{ {
inputs,
pkgs, pkgs,
lib, lib,
config, config,
... ...
}: { }: {
imports = [inputs.hypridle.homeManagerModules.default];
disabledModules = ["${inputs.home-manager}/modules/services/hypridle.nix"];
services.hypridle = { services.hypridle = {
enable = true; enable = true;
settings = { ignoreDbusInhibit = false;
ignoreDbusInhibit = false; lockCmd = lib.getExe config.programs.hyprlock.package;
lockCmd = lib.getExe config.programs.hyprlock.package; beforeSleepCmd = "${pkgs.systemd}/bin/loginctl lock-session";
beforeSleepCmd = "${pkgs.systemd}/bin/loginctl lock-session"; listeners = [
listeners = [ {
{ timeout = 400;
timeout = 400; onTimeout = "${lib.getExe config.programs.hyprlock.package}";
onTimeout = "${lib.getExe config.programs.hyprlock.package}"; }
} {
{ timeout = 460;
timeout = 460; onTimeout = "${pkgs.systemd}/bin/systemctl suspend";
onTimeout = "${pkgs.systemd}/bin/systemctl suspend"; }
} ];
];
};
}; };
} }

View file

@ -1,19 +1,25 @@
_: { {
inputs,
pkgs,
...
}: {
home.packages = [pkgs.hyprpaper];
imports = [inputs.hyprpaper.homeManagerModules.default];
disabledModules = ["${inputs.home-manager}/modules/services/hyprpaper.nix"];
services.hyprpaper = { services.hyprpaper = {
enable = true; enable = true;
settings = { ipc = true;
ipc = true; splash = false;
splash = false; preloads = [
preloads = [ "~/Pictures/wallpapers/sparkle3.png"
"~/Pictures/wallpapers/sparkle3.png" "~/Pictures/wallpapers/sparkle4.png"
"~/Pictures/wallpapers/sparkle4.png" ];
]; wallpapers = [
wallpapers = [ "HDMI-A-1,~/Pictures/wallpapers/sparkle3.png"
"HDMI-A-1,~/Pictures/wallpapers/sparkle3.png" "DP-1,~/Pictures/wallpapers/sparkle4.png"
"DP-1,~/Pictures/wallpapers/sparkle4.png" "DP-2,~/Pictures/wallpapers/sparkle4.png"
"DP-2,~/Pictures/wallpapers/sparkle4.png" "DP-3,~/Pictures/wallpapers/sparkle3.png"
"DP-3,~/Pictures/wallpapers/sparkle3.png" ];
];
};
}; };
} }

View file

@ -1,33 +0,0 @@
{
disko.devices = {
disk = {
sda = {
device = "/dev/sda";
type = "disk";
content = {
type = "gpt";
partitions = {
ESP = {
end = "500M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
name = "root";
end = "-0";
content = {
type = "filesystem";
format = "bcachefs";
mountpoint = "/";
};
};
};
};
};
};
};
}

View file

@ -6,7 +6,6 @@
}: { }: {
imports = [ imports = [
(modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/installer/scan/not-detected.nix")
./disko-config.nix
]; ];
boot = { boot = {

View file

@ -11,7 +11,6 @@
atticModule = inputs.attic.nixosModules.atticd; atticModule = inputs.attic.nixosModules.atticd;
nurModule = inputs.nur.nixosModules.nur; nurModule = inputs.nur.nixosModules.nur;
t480Module = inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t480; t480Module = inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t480;
diskoModule = inputs.disko.nixosModules.default;
in { in {
tsuki = nixosSystem { tsuki = nixosSystem {
inherit specialArgs; inherit specialArgs;
@ -40,7 +39,6 @@
sopsModule sopsModule
hmModule hmModule
t480Module t480Module
diskoModule
{ {
home-manager = { home-manager = {
useGlobalPkgs = true; useGlobalPkgs = true;

View file

@ -4,11 +4,10 @@
inputs.nur.overlay inputs.nur.overlay
inputs.helix.overlays.default inputs.helix.overlays.default
inputs.yazi.overlays.default inputs.yazi.overlays.default
inputs.hyprland.overlays.default
inputs.hypridle.overlays.default inputs.hypridle.overlays.default
inputs.hyprlock.overlays.default inputs.hyprlock.overlays.default
inputs.hyprpaper.overlays.default
inputs.hyprpicker.overlays.default inputs.hyprpicker.overlays.default
inputs.hyprcursor.overlays.default
inputs.atuin.overlays.default inputs.atuin.overlays.default
inputs.eww.overlays.default inputs.eww.overlays.default
]; ];
@ -31,6 +30,7 @@
}; };
nix = { nix = {
channel.enable = false;
settings = { settings = {
extra-experimental-features = ["flakes" "nix-command"]; extra-experimental-features = ["flakes" "nix-command"];
warn-dirty = false; warn-dirty = false;
@ -38,6 +38,7 @@
builders-use-substitutes = true; builders-use-substitutes = true;
keep-outputs = true; keep-outputs = true;
keep-derivations = true; keep-derivations = true;
flake-registry = "/etc/nix/registry.json";
allowed-users = ["@wheel"]; allowed-users = ["@wheel"];
trusted-users = ["root" "@wheel"]; trusted-users = ["root" "@wheel"];
substituters = [ substituters = [