-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.nix
41 lines (37 loc) · 1.42 KB
/
configuration.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
34
35
36
37
38
39
40
41
{pkgs, ...}: {
imports = [
# Generated by OrbStack.
/etc/nixos/configuration.nix
];
# Limit the number of generations to keep
boot.loader.systemd-boot.configurationLimit = 5;
nix.settings = {
auto-optimise-store = true;
experimental-features = ["nix-command" "flakes"];
extra-substituters = ["https://cache.lix.systems"];
extra-trusted-substituters = ["https://cache.flakehub.com"];
extra-trusted-public-keys = [
"cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o="
"cache.flakehub.com-3:hJuILl5sVK4iKm86JzgdXW12Y2Hwd5G07qKtHTOcDCM="
"cache.flakehub.com-4:Asi8qIv291s0aYLyH6IOnr5Kf6+OF14WVjkE6t3xMio="
"cache.flakehub.com-5:zB96CRlL7tiPtzA9/WKyPkp3A2vqxqgdgyTVNGShPDU="
"cache.flakehub.com-6:W4EGFwAGgBj3he7c5fNh9NkOXw0PUVaxygCVKeuvaqU="
"cache.flakehub.com-7:mvxJ2DZVHn/kRxlIaxYNMuDG1OvMckZu32um1TadOR8="
"cache.flakehub.com-8:moO+OVS0mnTjBTcOUh2kYLQEd59ExzyoW1QgQ8XAARQ="
"cache.flakehub.com-9:wChaSeTI6TeCuV/Sg2513ZIM9i0qJaYsF+lZCXg0J6o="
"cache.flakehub.com-10:2GqeNlIp6AKp4EF2MVbE1kBOp9iBSyo0UPR9KoR0o1Y="
];
trusted-users = ["@admin" "@wheel"];
use-xdg-base-directories = true;
};
environment.shells = with pkgs; [bash zsh];
users.defaultUserShell = pkgs.zsh;
programs = {
zsh.enable = true;
nix-ld = {
enable = true;
package = pkgs.nix-ld-rs;
libraries = with pkgs; [glib];
};
};
}