-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.nix
161 lines (134 loc) · 3.32 KB
/
configuration.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
{ config, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
];
nixpkgs.config.allowUnfree = true;
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# console.font = "Lat2-Terminus16";
networking = {
hostName = "nixos";
networkmanager = {
enable = true;
};
wireless = {
enable = false;
networks = {};
};
};
# networking.hostName = "nixos";
#
# networking.networkmanager.enable = true;
# networking.wireless.enable = false;
# networking.useDHCP = true;
time.timeZone = "Europe/Zurich";
i18n.defaultLocale = "en_US.UTF-8";
services.xserver.xkb = {
layout = "us";
variant = "";
};
users.users.dani = {
isNormalUser = true;
description = "Dani";
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [];
};
fonts.packages = with pkgs; [
hack-font
hackgen-nf-font
terminus-nerdfont
];
# $ nix search wget
environment.systemPackages = with pkgs; [
krusader
bemenu
nnn
lz4
ruby_3_1
bundix
gnumake
gcc
nodejs_22
fbterm
eza
superfile
bun
vim
neovim
neovim-remote
mc
alacritty
lazygit
fzf
gh
tmux
lynx
hyprland
lynx
fastfetch
git
zsh
btop
htop
wget
ripgrep
firefox
kdePackages.dolphin
discord
hyprland
lua-language-server
rust-analyzer
bundix
cargo
];
programs.zsh.enable = true;
programs.hyprland.enable = true;
programs.firefox = {
enable = true;
languagePacks = [ "de" "en-US" ];
policies = {
DisableTelemetry = true;
DisableFirefoxStudies = true;
EnableTrackingProtection = {
Value= true;
Locked = true;
Cryptomining = true;
Fingerprinting = true;
};
DisablePocket = true;
DisableFirefoxAccounts = true;
DisableAccounts = true;
DisableFirefoxScreenshots = true;
OverrideFirstRunPage = "";
OverridePostUpdatePage = "";
DontCheckDefaultBrowser = true;
DisplayBookmarksToolbar = "newtab";
DisplayMenuBar = "default-off";
SearchBar = "unified";
/* ---- EXTENSIONS ---- */
ExtensionSettings = {
"[email protected]" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
installation_mode = "force_installed";
};
"jid1-MnnxcxisBPnSXQ@jetpack" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/privacy-badger17/latest.xpi";
installation_mode = "force_installed";
};
"{d634138d-c276-4fc8-924b-40a0ea21d284}" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/1password-x-password-manager/latest.xpi";
installation_mode = "force_installed";
};
"[email protected]" = {
install_url = "https://addons.mozilla.org/darkreader/downloads/latest/1password-x-password-manager/latest.xpi";
installation_mode = "force_installed";
};
};
Preferences = {
extensions.activeThemeId = "4ae94ae4-df44-487a-bb8d-cdf0cb324144";
};
};
};
system.stateVersion = "24.05";
}