my nixos dotfiles :3 (git.koi.rip mirror) git.koi.rip/koi/dotfiles
linux dotfiles neovim nixos catppuccin

seber: user quota

+16
+12
systems/seber/default.nix
··· 24 i18n.defaultLocale = "en_US.UTF-8"; 25 26 environment.systemPackages = with pkgs; [ 27 git 28 vim 29 htop 30 ]; 31 32 services.nginx.enable = true; 33 34 age = { 35 identityPaths = [ "/home/adam/.ssh/id_ed25519" ];
··· 24 i18n.defaultLocale = "en_US.UTF-8"; 25 26 environment.systemPackages = with pkgs; [ 27 + linuxquota 28 git 29 vim 30 htop 31 ]; 32 33 services.nginx.enable = true; 34 + 35 + system.activationScripts.quotas = { 36 + deps = [ ]; 37 + text = '' 38 + echo 39 + ${pkgs.linuxquota}/bin/quotacheck -aumv || true 40 + ${pkgs.linuxquota}/bin/quotaon -auv || true 41 + ${pkgs.linuxquota}/bin/setquota -u seba 8M 10M 0 0 / || true 42 + echo 43 + ''; 44 + }; 45 46 age = { 47 identityPaths = [ "/home/adam/.ssh/id_ed25519" ];
+4
systems/seber/hardware.nix
··· 25 fileSystems."/" = { 26 device = "/dev/disk/by-uuid/9bc4dce8-4cbe-49e2-bd9f-12542c3361fe"; 27 fsType = "ext4"; 28 }; 29 30 swapDevices = [
··· 25 fileSystems."/" = { 26 device = "/dev/disk/by-uuid/9bc4dce8-4cbe-49e2-bd9f-12542c3361fe"; 27 fsType = "ext4"; 28 + options = [ 29 + "usrquota" 30 + "jqfmt=vfsv0" 31 + ]; 32 }; 33 34 swapDevices = [