rebuilding minimised nix files
This commit is contained in:
@@ -1,15 +1,12 @@
|
||||
{ config, lib, pkgs, flakeRoot, ... }:
|
||||
let
|
||||
hyprConf = flakeRoot.outPath + "/assets/conf/desktop/hypr/hyprland.conf";
|
||||
bindingsConf = flakeRoot.outPath + "/assets/conf/desktop/hypr/bindings.conf";
|
||||
lidLockScript = flakeRoot.outPath + "/assets/conf/desktop/hypr/scripts/lid-lock.sh";
|
||||
in
|
||||
{
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
# Load base config + bindings from repo files
|
||||
extraConfig = ''
|
||||
${builtins.readFile hyprConf}
|
||||
# Load bindings from repo files
|
||||
# --- Repo keybindings ---
|
||||
${builtins.readFile bindingsConf}
|
||||
'';
|
||||
@@ -19,11 +16,6 @@ in
|
||||
];
|
||||
};
|
||||
};
|
||||
# Gebruik home.file voor echte bestanden (geen symlinks)
|
||||
home.file.".config/hypr/scripts/lid-lock.sh" = {
|
||||
source = lib.mkForce lidLockScript;
|
||||
executable = true;
|
||||
};
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = with pkgs; [
|
||||
|
||||
Reference in New Issue
Block a user