Auto: cleanup-2026-08-15T19-17-50Z

This commit is contained in:
tomasr committed 2026-08-15 21:18:15 +02:00
1 parent 18fbd68abe
commit 9b0dbd70a4
3 files changed
+9 -16

No files matched your search

+7 -9
View File
@@ -52,8 +52,8 @@ _: {
enable = true; enable = true;
force = true; force = true;
}; };
}; };
flake.homeModules.hyprland-desktop = { flake.homeModules.hyprland-desktop = {
home.file.".config/hypr/host.lua" = { home.file.".config/hypr/host.lua" = {
text = '' text = ''
hl.monitor({ hl.monitor({
@@ -66,16 +66,16 @@ flake.homeModules.hyprland-desktop = {
enable = true; enable = true;
force = true; force = true;
}; };
}; };
flake.homeModules.hyprland = {pkgs-unstable, ... }: flake.homeModules.hyprland = {pkgs-unstable, ...}: let
let
wallpaper1 = ../../assets/wallpaper1.jpg; wallpaper1 = ../../assets/wallpaper1.jpg;
wallpaper2 = ../../assets/wallpaper2.jpg; wallpaper2 = ../../assets/wallpaper2.jpg;
wallpaper3 = ../../assets/wallpaper3.jpg; wallpaper3 = ../../assets/wallpaper3.jpg;
wallpaper4 = ../../assets/wallpaper4.jpg; wallpaper4 = ../../assets/wallpaper4.jpg;
wallpaper5 = ../../assets/wallpaper5.jpg; wallpaper5 = ../../assets/wallpaper5.jpg;
hyprlandLua = builtins.replaceStrings hyprlandLua =
builtins.replaceStrings
[ [
"WALLPAPER1/PATH/PLACEHOLDER" "WALLPAPER1/PATH/PLACEHOLDER"
"WALLPAPER2/PATH/PLACEHOLDER" "WALLPAPER2/PATH/PLACEHOLDER"
@@ -91,9 +91,7 @@ let
(toString wallpaper5) (toString wallpaper5)
] ]
(builtins.readFile ../../other/hyprland/hyprland.lua); (builtins.readFile ../../other/hyprland/hyprland.lua);
in in {
{
#refer to https://wiki.hypr.land/Nix/Hyprland-on-Home-Manager/ #refer to https://wiki.hypr.land/Nix/Hyprland-on-Home-Manager/
wayland.windowManager.hyprland.enable = true; wayland.windowManager.hyprland.enable = true;
wayland.windowManager.hyprland.package = pkgs-unstable.hyprland; wayland.windowManager.hyprland.package = pkgs-unstable.hyprland;
+1 -5
View File
@@ -1,8 +1,4 @@
{ {self, ...}: {
self,
inputs,
...
}: {
flake.nixosModules.battery-laptop = {pkgs, ...}: flake.nixosModules.battery-laptop = {pkgs, ...}:
# https://discourse.nixos.org/t/what-is-the-best-option-for-power-management/63406/2 # https://discourse.nixos.org/t/what-is-the-best-option-for-power-management/63406/2
# we just activate tlp unconditonally # we just activate tlp unconditonally
+1 -2
View File
@@ -1,6 +1,6 @@
# config for openconnect is in ./epfl.nix # config for openconnect is in ./epfl.nix
{self, ...}: { {self, ...}: {
flake.nixosModules.vpn = {pkgs,...}: { flake.nixosModules.vpn = {pkgs, ...}: {
services.mullvad-vpn = { services.mullvad-vpn = {
enable = true; enable = true;
}; };
@@ -10,7 +10,6 @@
age.secrets.epfl = { age.secrets.epfl = {
file = ../../secrets/epfl.age; file = ../../secrets/epfl.age;
}; };
}; };
perSystem = {pkgs, ...}: { perSystem = {pkgs, ...}: {
packages.custom-vpn-picker = pkgs.writeShellApplication { packages.custom-vpn-picker = pkgs.writeShellApplication {