forked from colemickens/nixos-flake-example
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathhome.nix
66 lines (57 loc) · 2 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
55
56
57
58
59
60
61
62
63
64
65
66
{ config, lib, pkgs, ... }:
{
imports = [
config/chromium/chromium.nix
config/firefox/firefox.nix
config/i3.nix
config/tmux.nix
config/xresources.nix
config/zsh.nix
];
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "user";
home.homeDirectory = "/home/user";
home.sessionVariables = {
ZSH_COLORIZE_STYLE = "vim";
EDITOR = "vim";
};
home.file = {
".config/alacritty/alacritty.toml".source = ./config/alacritty/alacritty.toml;
".config/dashy/conf.yml".source = ./config/dashy/conf.yml;
".config/nginx/mime.types".source = ./resources/nginx/mime.types;
".config/dunst/dunstrc".source = ./config/dunst/dunstrc;
".config/mpv/mpv.conf".source = ./config/mpv/mpv.conf;
".mime.types".source = ./config/firefox/mime.types;
".privatebin/conf/conf.php".source = ./config/privatebin/conf.php;
#".profile".source = ./config/profile;
".startup.sh".source = ./scripts/startup.sh;
".vimrc".source = ./config/vimrc.nix;
#".Xmodmap".source = ./config/Xmodmap;
#".config/twmn/twmn.conf".source = ./config/twmn.conf;
};
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "22.05";
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
programs.rofi.enable = true;
programs.rofi.plugins = [ pkgs.rofi-calc pkgs.rofi-emoji ];
programs.rofi.theme = "/home/user/git/maxos/resources/rofi/theme";
# Mouse
home.pointerCursor = {
x11.enable = true;
name = "DMZ-White";
package = pkgs.vanilla-dmz;
size = 64;
gtk.enable = true;
};
# Stop screen timeout
services.screen-locker.xss-lock.screensaverCycle = 0;
}