-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgraphical.nix
182 lines (171 loc) · 4.81 KB
/
graphical.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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
{pkgs, ...}: {
services.displayManager.sddm = {
enable = true;
wayland.enable = true;
};
services.desktopManager.plasma6.enable = true;
programs.xwayland.enable = true;
# Enable sound.
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
};
programs.ssh.enableAskPassword = true;
programs.ssh.askPassword = "${pkgs.kdePackages.ksshaskpass}/bin/ksshaskpass";
environment.variables.SSH_ASKPASS_REQUIRE = "prefer";
# Enable OpenGL
hardware.graphics = {
enable = true;
enable32Bit = true;
};
programs.steam.enable = true;
programs.kdeconnect.enable = true;
programs.gnupg.agent.enable = true;
programs.gnupg.agent.pinentryPackage = pkgs.pinentry-qt;
services.dbus.packages = [pkgs.pinentry-qt];
fonts.packages = with pkgs; [
google-fonts # EVER FONT IN EXISTENCE!!!
cascadia-code
monocraft
miracode
];
environment.systemPackages = with pkgs; [
gparted
qdirstat
kate
osu-lazer-bin
bitwig-studio
pinta
gimp
krita
kdePackages.kdenlive
kdePackages.kclock
kdePackages.kruler
inkscape
prismlauncher
qbittorrent
qt6.qtimageformats
aseprite
obs-studio
wayfarer # Spectacle recording is a bit unreliable
# blender BROKEN
libreoffice-qt6
onlyoffice-bin
bitwarden-desktop
obsidian
reaper
audacity
filezilla
(let
pkgs = import (builtins.fetchTarball {
# Descriptive name to make the store path easier to identify
name = "nixos-24.11";
# Commit hash for nixos-unstable as of 2018-09-12
url = "https://github.com/nixos/nixpkgs/archive/d9d87c51960050e89c79e4025082ed965e770d68.tar.gz";
# Hash obtained using `nix-prefetch-url --unpack <url>`
sha256 = "1na5ljrqhbq7x7zln7gi8588nwwnsgb8qlid2z9zckjpsyjipy3c";
}) {};
in
pkgs.termusic)
];
home-manager.users.coca = {
imports = [./home.nix];
programs.vscode = {
enable = true;
package = pkgs.vscodium;
mutableExtensionsDir = false;
extensions = with pkgs.vscode-extensions;
[
fill-labs.dependi
mkhl.direnv
tamasfe.even-better-toml
ecmel.vscode-html-css
jnoortheen.nix-ide
rust-lang.rust-analyzer
# vadimcn.vscode-lldb BROKEN
gruntfuggly.todo-tree
thenuprojectcontributors.vscode-nushell-lang
mhutchie.git-graph
]
++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
{
name = "ayu-one-dark";
publisher = "faceair";
version = "1.1.1";
sha256 = "sha256-HOqfEHskNYg8452EXZdt62ch1Yn9xM6tFXEBiw5aioA=";
}
];
userSettings = {
"diffEditor.ignoreTrimWhitespace" = false;
"editor.fontFamily" = "Cascadia Code";
"editor.fontLigatures" = "'zero'";
"editor.fontSize" = 15;
"editor.inlayHints.enabled" = "onUnlessPressed";
"git.autofetch" = true;
"nix.enableLanguageServer" = true;
"nix.serverPath" = "${pkgs.nixd}/bin/nixd";
"nix.serverSettings".nixd.formatting.command = ["${pkgs.alejandra}/bin/alejandra" "--"];
"[nix]"."editor.formatOnSave" = true;
"rust-analyzer.check.command" = "clippy";
"terminal.integrated.fontFamily" = "Monocraft";
"todo-tree.general.tags" = [
"BUG"
"HACK"
"FIXME"
"TODO"
"XXX"
"[ ]"
"[x]"
"todo!"
];
"window.customTitleBarVisibility" = "auto";
"workbench.colorTheme" = "Ayu One Dark";
"editor.semanticTokenColorCustomizations"."[Ayu One Dark]" = {
enabled = true;
rules = let
gray = {
italic = false;
foreground = "#ABB2BF";
};
in {
"property:nix" = gray;
"parameter:nix" = gray;
"variable:nix" = gray;
"function:nix".italic = false;
};
};
};
keybindings = [
{
key = "ctrl+r";
command = "editor.action.rename";
when = "editorHasRenameProvider && editorTextFocus && !editorReadonly";
}
{
key = "f2";
command = "-editor.action.rename";
when = "editorHasRenameProvider && editorTextFocus && !editorReadonly";
}
];
};
programs.alacritty = {
enable = true;
settings = {
font = {
size = 11;
normal.family = "monocraft";
};
env = {
ZELLIJ_AUTO_ATTACH = "true";
ENABLE_ZELLIJ = "true";
};
terminal.shell.program = "${pkgs.fish}/bin/fish";
window.opacity = 0.85;
};
};
};
}