move terminal configs to its own module
This commit is contained in:
@@ -11,8 +11,6 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
alacritty
|
|
||||||
ghostty
|
|
||||||
tofi
|
tofi
|
||||||
i3status-rust
|
i3status-rust
|
||||||
wlsunset
|
wlsunset
|
||||||
@@ -31,9 +29,4 @@
|
|||||||
"i3status-rust".source = "${config.dotfiles.path}/.config/i3status-rust";
|
"i3status-rust".source = "${config.dotfiles.path}/.config/i3status-rust";
|
||||||
"tofi/config".source = "${config.dotfiles.path}/.config/tofi/config";
|
"tofi/config".source = "${config.dotfiles.path}/.config/tofi/config";
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.alacritty.enable = true;
|
|
||||||
xdg.configFile."alacritty".source = "${config.dotfiles.path}/.config/alacritty";
|
|
||||||
|
|
||||||
xdg.configFile."ghostty/config".source = "${config.dotfiles.path}/.config/ghostty/config";
|
|
||||||
}
|
}
|
||||||
|
|||||||
21
home-manager/desktop/terminal.nix
Normal file
21
home-manager/desktop/terminal.nix
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
self,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
self.homeManagerModules.dotfiles
|
||||||
|
];
|
||||||
|
|
||||||
|
home.packages = [
|
||||||
|
pkgs.alacritty
|
||||||
|
pkgs.ghostty
|
||||||
|
];
|
||||||
|
|
||||||
|
programs.alacritty.enable = true;
|
||||||
|
xdg.configFile."alacritty".source = "${config.dotfiles.path}/.config/alacritty";
|
||||||
|
|
||||||
|
xdg.configFile."ghostty/config".source = "${config.dotfiles.path}/.config/ghostty/config";
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user