-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathwork.nix
More file actions
117 lines (104 loc) · 2.17 KB
/
work.nix
File metadata and controls
117 lines (104 loc) · 2.17 KB
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
{
config,
pkgs,
inputs,
lib,
email,
...
}:
let
overlay = self: super: {
useWayland = true;
configuration = {
git = {
userName = "Curtis Chin Jen Sem";
userEmail = email;
signingKey = "/home/curtis/.ssh/id_ed25519.pub";
};
wm = "sway";
};
};
overlays = [
overlay
(import ./home/overlays/entry.nix)
(import ./home/overlays/kanshi.nix)
(import ./home/overlays/rice.nix)
(import ./home/overlays/wm.nix)
];
in
{
nixpkgs.overlays = overlays;
imports = [
./common.nix
./home/modules/hyprland.nix
./home/modules/nixgl.nix
];
targets.genericLinux = {
enable = true;
gpu = {
enable = false;
};
};
home = rec {
username = "crtschin";
homeDirectory = "/home/${username}";
packages = with pkgs; [
gv
monitor-heap
mermaid-cli
# pgadmin4
# solaar
ltunify
jmeter
_1password-cli
netbird
netbird-ui
docker
docker-compose
devenv
process-compose
actionlint
graphviz
gprof2dot
sqlite
sqldiff
# i3lock-color
# Create .conf file in /etc/tmpfiles.d/ containing a symlink entry
# L+ /run/opengl-driver - - - - <nix-profile directory>
# Ensures drivers are symlinked nixos-style to make them accessible from
# nix-installed programs.
mesa
intel-media-driver
# copilot-language-server
github-copilot-cli
gemini-cli
# pkgs.haskellPackages.ghcprofview
# pkgs.haskellPackages.hpview
];
};
services = {
home-manager = {
autoUpgrade = {
enable = true;
flakeDir = "/home/crtschin/personal/dotfiles";
frequency = "weekly";
useFlake = true;
};
};
};
programs = {
fish = {
shellInitLast = ''
begin
set fish_greeting
set __done_notify_sound 1
# Non-NixOS setting
set --export NIX_PATH $NIX_PATH:$HOME/.nix-defexpr/channels
set --export NIXPKGS_ALLOW_UNFREE 1
set --export GIT_SSH "/usr/bin/ssh"
. ${./.config/work.fish}
end
'';
};
};
}