Added wofi.nix

This commit is contained in:
2026-03-07 22:10:20 +01:00
parent fa14034de4
commit a3b14c3b69
6 changed files with 487 additions and 353 deletions
@@ -1,24 +1,14 @@
{
config,
pkgs,
lib,
user,
inputs,
flakeRoot,
...
}:
{ config, pkgs, lib, user, inputs, flakeRoot, ... }:
let
bindingsContent = builtins.readFile (flakeRoot + "/assets/hyprland/conf/bindings.conf");
userConfig = import (flakeRoot + "/assets/flake/users/henrov.nix");
configFile = pkgs.writeText "hyprland.conf" bindingsContent;
in
{
# Home Manager configurations must be nested under the user
home-manager.users.${user.username} = {
home.stateVersion = userConfig.stateVersion;
home.username = userConfig.username;
home.homeDirectory = userConfig.homeDirectory;
wayland.windowManager.hyprland = {
enable = true;
extraConfig = bindingsContent;
config = configFile;
};
};
}