-
Notifications
You must be signed in to change notification settings - Fork 0
/
home-gerkules.nix
33 lines (30 loc) · 1.14 KB
/
home-gerkules.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ config, pkgs, lib, ... }: let
cwd = "/nixos-config";
in {
home = {
username = "gerkules";
homeDirectory = "/home/gerkules";
stateVersion = "23.11";
};
home.file = with config.lib.file; {
# files
".config/fish/config.fish".source = mkOutOfStoreSymlink "${cwd}/config/fish/config.fish";
".config/i3/config".source = mkOutOfStoreSymlink "${cwd}/config/i3/config";
".config/kak-lsp/kak-lsp.toml".source = mkOutOfStoreSymlink "${cwd}/config/kakoune/lsp/kak-lsp.toml";
".profile".source = mkOutOfStoreSymlink "${cwd}/config/.profile";
".editorconfig".source = mkOutOfStoreSymlink "${cwd}/config/.editorconfig";
".npmrc".source = mkOutOfStoreSymlink "${cwd}/config/npm/.npmrc";
# directories
".config/kitty".source = mkOutOfStoreSymlink "${cwd}/config/kitty";
".config/kak".source = mkOutOfStoreSymlink "${cwd}/config/kakoune";
".config/lf".source = mkOutOfStoreSymlink "${cwd}/config/lf";
};
imports = [
./home-gerkules/packages.nix
./home-gerkules/git.nix
# ./home-gerkules/symlinks.nix
./home-gerkules/mouse.nix
./home-gerkules/shell.nix
./home-gerkules/test-service.nix
];
}