fix: define dotfiles as local path in home.nix (via submodule), fix swaync name

This commit is contained in:
2026-06-20 16:03:58 -04:00
parent 60a0bcfdd6
commit eeb10db5ed
2 changed files with 23 additions and 7 deletions

View File

@@ -1,7 +1,6 @@
{ pkgs, inputs, config, keys, self, ... }: { { pkgs, inputs, config, keys, ... }: {
home-manager.extraSpecialArgs = { home-manager.extraSpecialArgs = {
inherit (config.networking) hostName; inherit (config.networking) hostName;
dotfiles = self + "/assets/dotfiles";
}; };
home-manager.users.gortium = import ./home.nix; home-manager.users.gortium = import ./home.nix;
users.users.gortium = { users.users.gortium = {

View File

@@ -2,6 +2,7 @@
let let
isUconsole = hostName == "uConsole"; isUconsole = hostName == "uConsole";
dotfiles = ../../assets/dotfiles;
in { in {
home.username = "gortium"; home.username = "gortium";
home.homeDirectory = "/home/gortium"; home.homeDirectory = "/home/gortium";
@@ -53,12 +54,28 @@ in {
git zsh tmux starship git zsh tmux starship
neovim kitty neovim kitty
btop yazi ripgrep fd fzf btop yazi ripgrep fd fzf
] ++ lib.optionals (!isUconsole) [ htop unzip wget jq
waybar wofi swww hyprshot hyprland hyprlock hypridle hyprpaper
] ++ lib.optionals isUconsole [ waybar wofi dunst
brightnessctl libnotify mako
swaynotificationcenter
networkmanagerapplet
pavucontrol
]; ];
programs.bash.enable = true;
programs.zsh.enable = true; programs.zsh.enable = true;
programs.starship.enable = true;
xdg.userDirs = {
enable = true;
createDirectories = true;
desktop = "$HOME/desktop";
documents = "$HOME/documents";
download = "$HOME/downloads";
music = "$HOME/music";
pictures = "$HOME/pictures";
publicShare = "$HOME/public";
templates = "$HOME/templates";
videos = "$HOME/videos";
};
} }