-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.nix
54 lines (45 loc) · 1.12 KB
/
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
51
52
53
54
{ pkgs, ... }:
{
home.stateVersion = "22.05";
# Temporary overlays for patches
nixpkgs.overlays = [ ];
home.file.".config/traefik/traefik.toml".source = ./files/traefik.toml;
home.file.".npmrc".source = ./files/.npmrc;
imports =
[
./packages.nix
./programs/git.nix
./programs/i3.nix
./programs/zsh.nix
];
programs.btop.enable = true;
programs.vim.enable = true;
programs.vscode = {
enable = true;
package = pkgs.vscode.fhs;
extensions = [ ];
};
programs.rofi = {
enable = true;
plugins = [ pkgs.rofi-calc pkgs.rofi-emoji ];
terminal = "sakura";
};
programs.autorandr = {
enable = true;
hooks = {
postswitch = {
"notify-i3" = "${pkgs.i3}/bin/i3-msg restart";
};
};
};
# https://github.com/nix-community/nix-direnv/
programs.direnv =
{
enable = true;
enableZshIntegration = true;
nix-direnv.enable = true;
};
services.unclutter.enable = true;
services.blueman-applet.enable = true;
services.udiskie.enable = true; # require "services.udisks2.enable = true" in system configuration
}