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 = {
inherit (config.networking) hostName;
dotfiles = self + "/assets/dotfiles";
};
home-manager.users.gortium = import ./home.nix;
users.users.gortium = {

View File

@@ -2,6 +2,7 @@
let
isUconsole = hostName == "uConsole";
dotfiles = ../../assets/dotfiles;
in {
home.username = "gortium";
home.homeDirectory = "/home/gortium";
@@ -53,12 +54,28 @@ in {
git zsh tmux starship
neovim kitty
btop yazi ripgrep fd fzf
] ++ lib.optionals (!isUconsole) [
waybar wofi swww hyprshot
] ++ lib.optionals isUconsole [
brightnessctl
htop unzip wget jq
hyprland hyprlock hypridle hyprpaper
waybar wofi dunst
libnotify mako
swaynotificationcenter
networkmanagerapplet
pavucontrol
];
programs.bash.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";
};
}