This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.nix
137 lines (118 loc) · 2.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{ config, pkgs, lib, ... }:
let
desktopPkgs = with pkgs; [
# Wayland
mako
wl-clipboard
shotman
spotify
lxrandr
i3lock-fancy
flameshot
syncthing
nitrogen
thunderbird
jupyter
vlc
discord
dotnet-sdk_7
arandr
autorandr
networkmanagerapplet
kicad
libreoffice
inkscape
zathura
evince
freecad
cups
prettierd
wdisplays
];
shellPkgs = with pkgs; [
# Rust
cargo-watch
# clippy
rustup
# nvim
xclip
ripgrep
fd
nixfmt
gnumake
### lldb
texlive.combined.scheme-medium
tree-sitter
tree-sitter-grammars.tree-sitter-rust
cargo-nextest
nodePackages.volar
# Shell
any-nix-shell
nodejs
gcc
grc
curl
wget
delta
# Utility
htop
cheat
neofetch
lsd
bat
netcat
feh
pulsemixer
ranger
clang-tools
zip
unzip
docker-compose
# Man
clang-manpages
man-pages
man-pages-posix
# Others
ansible
jdk
maven
# Python
# python39Packages.poetry
# (python39.withPackages (ps: with ps; [ pip pandas ]))
];
npmPkgs = with pkgs.nodePackages; [
typescript-language-server
typescript
js-beautify
node2nix
];
in {
programs.home-manager.enable = true;
nixpkgs.config = { allowUnfree = true; };
home = {
username = "floride";
homeDirectory = "/home/floride";
packages = desktopPkgs ++ shellPkgs ++ npmPkgs;
stateVersion = "22.05";
};
home.keyboard = { layout = "gb"; };
imports = [
./programs/alacritty/default.nix
./programs/nvim/default.nix
./programs/git/default.nix
./programs/rofi/default.nix
./programs/fish/default.nix
./programs/waybar/default.nix
./services/syncthing/default.nix
./services/polybar/default.nix
./services/wayland/default.nix
];
systemd.user.services.mpris-proxy = {
Unit.Description = "Mpris proxy";
Unit.After = [ "network.target" "sound.target" ];
Service.ExecStart = "${pkgs.bluez}/bin/mpris-proxy";
Install.WantedBy = [ "default.target" ];
};
# xsession.windowManager.i3 =
# import ./services/i3/default.nix { inherit pkgs lib; };
}