chore: restructure home configuration files
This commit is contained in:
parent
e30f811361
commit
c1d49a8954
12 changed files with 9 additions and 12 deletions
|
|
@ -7,14 +7,14 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./email
|
./email
|
||||||
./emacs
|
./emacs.nix
|
||||||
./git.nix
|
./git.nix
|
||||||
./gui.nix
|
./gui.nix
|
||||||
./latex.nix
|
./latex.nix
|
||||||
./neovim
|
./neovim.nix
|
||||||
./ssh
|
./ssh.nix
|
||||||
./shell
|
./shell.nix
|
||||||
./tmux
|
./tmux.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
{
|
{
|
||||||
lib,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
config,
|
config,
|
||||||
user,
|
user,
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,6 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
config,
|
config,
|
||||||
inputs,
|
inputs,
|
||||||
hm,
|
|
||||||
user,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
|
@ -12,7 +10,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
./i3
|
./i3
|
||||||
./kitty.nix
|
./kitty.nix
|
||||||
./ghostty
|
./ghostty.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
options.custom.gui = with lib; {
|
options.custom.gui = with lib; {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
|
||||||
|
|
@ -13,5 +13,6 @@
|
||||||
openssh
|
openssh
|
||||||
];
|
];
|
||||||
|
|
||||||
home.file.".ssh/config".source = config.lib.file.mkOutOfStoreSymlink "${dots}/home/ssh/config";
|
home.file.".ssh/config".source =
|
||||||
|
config.lib.file.mkOutOfStoreSymlink "${dots}/config/home/.ssh/config";
|
||||||
}
|
}
|
||||||
|
|
@ -28,6 +28,6 @@
|
||||||
gitmux
|
gitmux
|
||||||
];
|
];
|
||||||
|
|
||||||
xdg.configFile."tmux".source = config.lib.file.mkOutOfStoreSymlink "${dots}/home/tmux/config";
|
xdg.configFile."tmux".source = config.lib.file.mkOutOfStoreSymlink "${dots}/config/tmux";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue