blob: 6f79c8f15947728d2423c07dc9cf67bbb5fed0cf (
plain) (
blame)
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
|
{ config, pkgs, lib, ... }:
{
imports =
[
# ./hardware-configuration.nix
../../modules/packages/vim.nix
../../modules/environments/home.nix
# ../../modules/packages/overlays/haskell/basement/IntWord64.nix
];
boot = {
kernelPackages = pkgs.linuxPackages_latest;
loader = {
grub = {
enable = true;
device = "/dev/sda"; # nodev for EFI only
# EFI
efiSupport = false;
efiInstallAsRemovable = false;
};
};
#readOnlyNixStore = false;
};
networking = {
hostName = "RoryNix";
networkmanager.enable = true;
wireless.enable = false;
firewall = {
enable = false;
# allowedTCPPorts = [ ... ];
# allowedUDPPorts = [ ... ];
};
};
time.timeZone = "Europe/Brussels";
i18n.defaultLocale = "en_US.UTF-8";
services = {
xserver = {
enable = true;
videoDrivers = [ "intel" ];
desktopManager.gnome.enable = true;
libinput.enable = true;
layout = "us";
modules = [ pkgs.xorg.xf86videointel ];
};
gnome = {
core-developer-tools.enable = false;
core-utilities.enable = false;
tracker-miners.enable = false;
tracker.enable = false;
sushi.enable = false;
rygel.enable = false;
gnome-user-share.enable = false;
gnome-remote-desktop.enable = false;
gnome-online-miners.enable = lib.mkForce false;
gnome-online-accounts.enable = false;
gnome-initial-setup.enable = false;
gnome-browser-connector.enable = false;
games.enable = false;
evolution-data-server.enable = lib.mkForce false;
at-spi2-core.enable = lib.mkForce false;
};
printing.enable = false;
openssh = {
enable = true;
extraConfig = ''
MaxAuthTries 32
'';
};
pipewire = {
enable = true;
audio.enable = true;
pulse.enable = true;
wireplumber.enable = true;
jack.enable = true;
alsa.enable = true;
};
};
sound.enable = true;
hardware.pulseaudio.enable = false;
users.users = {
Rory = {
isNormalUser = true;
extraGroups = [ "wheel" ];
packages = with pkgs; [
#gimp-with-plugins
#xterm
gnomeExtensions.vitals
gnomeExtensions.runcat
];
initialPassword = "password";
};
};
environment.systemPackages = with pkgs; [
wget
neofetch
lnav
pciutils
git
lsd
duf
htop
btop
udisks
gparted
kitty.terminfo
glxinfo
jq
yq
pv
dig
cloud-utils
sshfs
cinnamon.nemo
firefox-bin
#epiphany
gnome-console
feh
# Various extensions...
# - Gnome
#gnomeExtensions.vitals
#gnomeExtensions.runcat
# - Dont work on gnome 43:
#gnomeExtensions.undecorate
#gnomeExtensions.inactivity
#gnomeExtensions.left-clock
# - Vim
vimPlugins.vim-nix
# - zsh
zsh
zsh-powerlevel10k
zsh-nix-shell
zsh-you-should-use
zsh-syntax-highlighting
zsh-completions
];
fonts.fonts = with pkgs; [
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
];
nix = {
settings = {
experimental-features = [ "nix-command" "flakes" ];
auto-optimise-store = true;
};
};
nixpkgs = {
config.allowUnfree = true;
};
security = {
polkit.enable = true;
sudo.wheelNeedsPassword = false;
};
system.stateVersion = "22.11"; # DO NOT EDIT!
}
|