tangled
alpha
login
or
join now
koi.rip
/
dotfiles
0
fork
atom
my nixos dotfiles :3 (git.koi.rip mirror)
git.koi.rip/koi/dotfiles
linux
dotfiles
neovim
nixos
catppuccin
0
fork
atom
overview
issues
pulls
pipelines
seber: user quota
koi.rip
2 months ago
a80d62a8
6692008f
+16
2 changed files
expand all
collapse all
unified
split
systems
seber
default.nix
hardware.nix
+12
systems/seber/default.nix
···
24
24
i18n.defaultLocale = "en_US.UTF-8";
25
25
26
26
environment.systemPackages = with pkgs; [
27
27
+
linuxquota
27
28
git
28
29
vim
29
30
htop
30
31
];
31
32
32
33
services.nginx.enable = true;
34
34
+
35
35
+
system.activationScripts.quotas = {
36
36
+
deps = [ ];
37
37
+
text = ''
38
38
+
echo
39
39
+
${pkgs.linuxquota}/bin/quotacheck -aumv || true
40
40
+
${pkgs.linuxquota}/bin/quotaon -auv || true
41
41
+
${pkgs.linuxquota}/bin/setquota -u seba 8M 10M 0 0 / || true
42
42
+
echo
43
43
+
'';
44
44
+
};
33
45
34
46
age = {
35
47
identityPaths = [ "/home/adam/.ssh/id_ed25519" ];
+4
systems/seber/hardware.nix
···
25
25
fileSystems."/" = {
26
26
device = "/dev/disk/by-uuid/9bc4dce8-4cbe-49e2-bd9f-12542c3361fe";
27
27
fsType = "ext4";
28
28
+
options = [
29
29
+
"usrquota"
30
30
+
"jqfmt=vfsv0"
31
31
+
];
28
32
};
29
33
30
34
swapDevices = [