homemanager symlink to hyprland
This commit is contained in:
13
home.nix
13
home.nix
@@ -1,5 +1,12 @@
|
||||
{ config, pkgs, inputs, ... }:
|
||||
|
||||
let
|
||||
dotfiles = "${config.home.homeDirectory}/.config";
|
||||
create_symlink = path: config.lib.file.mkOutOfStoreSymlink path;
|
||||
configs = {
|
||||
hyprland = "hyprland";
|
||||
};
|
||||
in
|
||||
|
||||
{
|
||||
home.username = "mrwafflecats";
|
||||
@@ -39,5 +46,11 @@
|
||||
programs.kitty.enable = true;
|
||||
# wayland.windowManager.hyprland.enable = true;
|
||||
|
||||
#dotfiles
|
||||
xdg.configFile = builtins.mapAttrs (name: subpath: {
|
||||
source = create_symlink "${dotfiles}/hyprland";
|
||||
recursive = true;
|
||||
}) configs;
|
||||
|
||||
home.stateVersion = "25.11";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user