Implement profile

This commit is contained in:
2026-02-27 16:05:00 +01:00
parent 52344e28b1
commit 6eb53c661a
7 changed files with 46 additions and 12 deletions

View File

@@ -1,4 +1,7 @@
{ pkgs, ... }:
let
profile = import ../profile.nix;
in
{
imports = [
@@ -24,7 +27,7 @@
settings = {
default_session = {
command = "Hyprland";
user = "nichkara";
user = profile.username;
};
};
};

View File

@@ -5,6 +5,8 @@ let
rev = "96f9ca03450049baffbc8a2b71c3a40367edd2a5";
sha256 = "sha256-dHxf2UNEDC/KyDgjMMQ988hyGM2gasYNbNtLTityhDY=";
};
profile = import ../profile.nix;
in
{
environment.systemPackages = with pkgs; [
@@ -25,7 +27,7 @@ in
xwayland.enable = true;
};
home-manager.users.nichkara = { ... }: {
home-manager.users.${profile.username} = { ... }: {
home.file.".config/hypr" = {
source = dotfiles_hypr;
recursive = true;