tangled
alpha
login
or
join now
dunkirk.sh
/
dots
3
fork
atom
Kieran's opinionated (and probably slightly dumb) nix config
3
fork
atom
overview
issues
pulls
pipelines
feat: add ember
dunkirk.sh
8 months ago
924bc5f2
584bc622
verified
This commit was signed with the committer's
known signature
.
dunkirk.sh
SSH Key Fingerprint:
SHA256:DqcG0RXYExE26KiWo3VxJnsxswN1QNfTBvB+bdSpk80=
+87
2 changed files
expand all
collapse all
unified
split
flake.nix
home-manager
machines
ember
default.nix
+16
flake.nix
···
167
167
unstable-overlays
168
168
];
169
169
};
170
170
+
171
171
+
"ember" = home-manager.lib.homeManagerConfiguration {
172
172
+
pkgs = import nixpkgs {
173
173
+
system = "x86_64-linux";
174
174
+
config.allowUnfree = true;
175
175
+
};
176
176
+
extraSpecialArgs = {
177
177
+
inherit inputs outputs;
178
178
+
nixpkgs-unstable = nixpkgs-unstable;
179
179
+
system = "x86_64-linux";
180
180
+
};
181
181
+
modules = [
182
182
+
./home-manager/machines/ember
183
183
+
unstable-overlays
184
184
+
];
185
185
+
};
170
186
};
171
187
};
172
188
}
+71
home-manager/machines/ember/default.nix
···
1
1
+
{
2
2
+
pkgs,
3
3
+
inputs,
4
4
+
system,
5
5
+
...
6
6
+
}:
7
7
+
{
8
8
+
imports = [
9
9
+
# inputs
10
10
+
inputs.catppuccin.homeModules.catppuccin
11
11
+
12
12
+
# shell
13
13
+
../../app/shell.nix
14
14
+
../../app/git.nix
15
15
+
];
16
16
+
17
17
+
nixpkgs = {
18
18
+
overlays = [
19
19
+
(final: prev: {
20
20
+
unstable = import inputs.nixpkgs-unstable {
21
21
+
inherit system;
22
22
+
config.allowUnfree = true;
23
23
+
};
24
24
+
})
25
25
+
];
26
26
+
# Configure your nixpkgs instance
27
27
+
config = {
28
28
+
# Disable if you don't want unfree packages
29
29
+
allowUnfree = true;
30
30
+
# Workaround for https://github.com/nix-community/home-manager/issues/2942
31
31
+
allowUnfreePredicate = _: true;
32
32
+
};
33
33
+
};
34
34
+
35
35
+
home = {
36
36
+
username = "kierank";
37
37
+
homeDirectory = "/home/kierank";
38
38
+
39
39
+
packages = with pkgs; [
40
40
+
# CLI tools
41
41
+
bat
42
42
+
fd
43
43
+
eza
44
44
+
xh
45
45
+
dust
46
46
+
ripgrep-all
47
47
+
inputs.terminal-wakatime.packages.${system}.default
48
48
+
jq
49
49
+
htop
50
50
+
btop
51
51
+
fzf
52
52
+
curl
53
53
+
wget
54
54
+
git
55
55
+
neofetch
56
56
+
tmux
57
57
+
unzip
58
58
+
inputs.nixvim.packages.${system}.default
59
59
+
dog
60
60
+
];
61
61
+
};
62
62
+
63
63
+
# Enable home-manager
64
64
+
programs.home-manager.enable = true;
65
65
+
66
66
+
# Nicely reload system units when changing configs
67
67
+
systemd.user.startServices = "sd-switch";
68
68
+
69
69
+
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
70
70
+
home.stateVersion = "23.05";
71
71
+
}