blob: c87edac331be89166b8d96a9f8c13bad449c7148 (
plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
{
pkgs,
inputs,
outputs,
config,
lib,
...
}: let
username = "jerpo";
homeDirectory = "/home/${username}";
configHome = "${homeDirectory}/.config";
cliPkgs = with pkgs; [
fd
ripgrep
jq
wget
btop
tealdeer
zip
unzip
p7zip
ffmpeg
ghostscript
xdragon
steam-run
python311
pokemon-colorscripts
xdg-utils
pkg-config
nix-prefetch-scripts
adwaita-icon-theme
];
nogamesPkgs = with pkgs; [
vkd3d
steam
bottles
open-sans
osu-lazer-bin
];
baconPkgs = with pkgs; [
vesktop
chromium
geeqie
darktable
telegram-desktop
libreoffice-fresh
transmission_4-gtk
];
kube = with pkgs; [
kubectl
kubernetes-helm
];
in {
imports = [
./homeModules
];
nixpkgs = {
overlays = [
outputs.overlays.additions
outputs.overlays.modifications
outputs.overlays.truly-unstable-packages
];
config = {
allowUnfree = true;
allowUnfreePredicate = _: true;
};
};
home = {
inherit username homeDirectory;
stateVersion = "23.05";
packages = baconPkgs ++ nogamesPkgs ++ cliPkgs ++ kube;
sessionVariables = {
NH_FLAKE = "/home/jerpo/nixfiles";
};
};
xdg = {
inherit configHome;
enable = true;
};
lib.meta = {
configPath = "${config.home.homeDirectory}/nixfiles/";
mkMutableSymlink = path:
config.lib.file.mkOutOfStoreSymlink
(config.lib.meta.configPath + lib.strings.removePrefix (toString inputs.self) (toString path));
};
# from homeModules
stylixConfig.enable = true;
stylixConfig.theme = "everforest";
emacs.enable = true;
emacs.package = pkgs.emacs30;
alacritty.enable = true;
fish.enable = true;
zen-browser.enable = true;
tmux.enable = true;
programs.nix-index-database.comma.enable = true;
programs.nix-index = {
enable = true;
};
programs.home-manager.enable = true;
}
|