my nixos dotfiles :3 codeberg.org/koibtw/dotfiles
dotfiles neovim nixos catppuccin linux

seber: user quota

Changed files
+16
systems
+12
systems/seber/default.nix
··· 24 24 i18n.defaultLocale = "en_US.UTF-8"; 25 25 26 26 environment.systemPackages = with pkgs; [ 27 + linuxquota 27 28 git 28 29 vim 29 30 htop 30 31 ]; 31 32 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 + }; 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 + options = [ 29 + "usrquota" 30 + "jqfmt=vfsv0" 31 + ]; 28 32 }; 29 33 30 34 swapDevices = [