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,7 +1,24 @@
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
{
imports = [
# No subfolders to import
];
# .. put any code here
config,
pkgs,
lib,
user,
inputs,
flakeRoot,
...
}:
let
bindingsContent = builtins.readFile (flakeRoot + "/assets/hyprland/conf/bindings.conf");
userConfig = import (flakeRoot + "/assets/flake/users/henrov.nix");
in
{
home-manager.users.${user.username} = {
home.stateVersion = userConfig.stateVersion;
home.username = userConfig.username;
home.homeDirectory = userConfig.homeDirectory;
wayland.windowManager.hyprland = {
enable = true;
extraConfig = bindingsContent;
};
};
}