mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-10-11 09:16:14 +02:00
Auto: cleanup-2026-08-15T19-17-50Z
This commit is contained in:
1 parent
18fbd68abe
commit
9b0dbd70a4
3 files changed
+5
-12
No files matched your search
@@ -67,15 +67,15 @@ flake.homeModules.hyprland-desktop = {
|
|||||||
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,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
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in new issue
Block a user