fix: define dotfiles as local path in home.nix (via submodule), fix swaync name
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user