forked from FaustXVI/nixos-xadet-configuration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.nix
50 lines (49 loc) · 988 Bytes
/
home.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
42
43
44
45
46
47
48
49
50
{ pkgs, ... }:
with pkgs; {
imports = [
./cli.nix
./dev.nix
./desktop.nix
./gaming.nix
];
home.stateVersion = "24.05";
home.username = "amino";
home.homeDirectory = "/home/amino";
home.packages = [
# Nix stuff
nix-index
nix-tree
patchelf
autoPatchelfHook
any-nix-shell
appimage-run
];
home.file.".nix-channels".source = ./nix-channels;
nix = {
package = pkgs.nix;
settings = {
extra-experimental-features = [
"nix-command"
"flakes"
];
};
};
nixpkgs.config = {
permittedInsecurePackages = [
];
allowUnfree = true;
};
services.gpg-agent = {
enable = true;
defaultCacheTtl = 1800;
enableSshSupport = true;
enableExtraSocket = true;
pinentryPackage = pkgs.pinentry-gnome3;
};
services.syncthing.enable = true;
systemd.user.startServices = "sd-switch";
programs = {
direnv.nix-direnv.enable = true;
home-manager.enable = true;
};
}