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 = {
|
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 = {
|
||||||
|
|||||||
@@ -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";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user