move terminal configs to its own module
This commit is contained in:
parent
ce5b609747
commit
405c629a3b
2 changed files with 21 additions and 7 deletions
|
|
@ -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";
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue