this repo has no description
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

phew

+47 -47
+46 -46
flake.nix
··· 1 + { self, config, lib, pkgs, ... }: 2 + let inherit (lib) fileContents; 3 + in 1 4 { 2 - description = "Your new nix config"; 5 + imports = [ ../../users/anish ]; 3 6 4 - inputs = { 5 - # Nixpkgs 6 - nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11"; 7 - unstable.url = "github:nixos/nixpkgs/nixos-unstable"; 8 7 9 - # Home manager 10 - home-manager.url = "github:nix-community/home-manager"; 11 - home-manager.inputs.nixpkgs.follows = "nixpkgs"; 12 - hardware.url = "github:nixos/nixos-hardware"; 13 - 14 - # Tools 15 - agenix.url = "github:ryantm/agenix"; 16 - agenix.inputs.nixpkgs.follows = "nixpkgs"; 17 - deploy-rs.url = "github:serokell/deploy-rs"; 18 - deploy-rs.inputs.nixpkgs.follows = "nixpkgs"; 19 - 20 - # Packages 21 - poonam.url = "git+ssh://gitea@git.sealight.xyz/aynish/kitaab?ref=main"; 22 - basant.url = "git+ssh://gitea@git.sealight.xyz/aynish/basant?ref=main"; 23 - basant.inputs.nixpkgs.follows = "nixpkgs"; 24 - basant.inputs.poonam.follows = "poonam"; 25 - grasp.url = "git+ssh://gitea@git.sealight.xyz/aynish/grasp.git?ref=main"; 26 - grasp.inputs.nixpkgs.follows = "nixpkgs"; 27 - # Others 28 - nur.url = "github:nix-community/NUR"; 29 - rust-overlay = { 30 - url = "github:oxalica/rust-overlay"; 31 - inputs.nixpkgs.follows = "nixpkgs"; 8 + fonts = { 9 + fonts = with pkgs; [ powerline-fonts dejavu_fonts ]; 10 + fontconfig.defaultFonts = { 11 + monospace = [ "DejaVu Sans Mono for Powerline" ]; 12 + sansSerif = [ "DejaVu Sans" ]; 32 13 }; 33 - eww = { 34 - url = "github:elkowar/eww"; 35 - inputs.nixpkgs.follows = "nixpkgs"; 36 - inputs.rust-overlay.follows = "rust-overlay"; 14 + }; 15 + 16 + nix = { 17 + settings = { 18 + sandbox = true; 19 + trusted-users = [ "root" "@wheel" ]; 20 + allowed-users = [ "@wheel" ]; 21 + auto-optimise-store = true; 22 + system-features = [ "nixos-test" "benchmark" "big-parallel" "kvm" ]; 37 23 }; 38 - tidalcycles.url = "github:mitchmindtree/tidalcycles.nix"; 39 - tidalcycles.inputs.nixpkgs.follows = "unstable"; 40 - # TODO hundred rabbits software 41 - # TODO needs secrets 42 - # dhyan.url = "git+ssh://gitea@git.sealight.xyz/aynish/dhyan?ref=main"; 43 - # dhyan.inputs.nixpkgs.follows = "nixpkgs"; 44 - # TODO needs secrets 45 - # muneem.url = "git+ssh://gitea@git.sealight.xyz/aynish/muneem?ref=main"; 46 - # muneem.inputs.nixpkgs.follows = "nixpkgs"; 24 + gc.automatic = true; 25 + optimise.automatic = true; 26 + extraOptions = '' 27 + min-free = 536870912 28 + keep-outputs = true 29 + keep-derivations = true 30 + fallback = true 31 + ''; 47 32 }; 48 33 49 - outputs = 34 + environment.systemPackages = with pkgs; [ 35 + pinentry_gnome 36 + cached-nix-shell 37 + ]; 38 + 39 + # For rage encryption, all hosts need a ssh key pair 40 + services.openssh = { 41 + enable = true; 42 + openFirewall = lib.mkDefault false; 43 + }; 44 + 45 + # programs.gnupg.agent.enable = true; 46 + # programs.gnupg.agent.pinentryFlavor = "curses"; 47 + 48 + services.earlyoom.enable = true; 49 + } 50 50 { self 51 51 , nixpkgs 52 52 , unstable ··· 234 234 box = { 235 235 hostname = "mossnet.lan"; 236 236 profiles.system = { 237 - user = "anish"; 237 + user = "root"; 238 238 path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.box; 239 239 }; 240 240 }; 241 241 helix = { 242 242 hostname = "sealight.xyz"; 243 243 profiles.system = { 244 - user = "anish"; 244 + user = "root"; 245 245 path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.helix; 246 246 }; 247 247 }; 248 248 lituus = { 249 249 hostname = "git.sealight.xyz"; 250 250 profiles.system = { 251 - user = "anish"; 251 + user = "root"; 252 252 path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.lituus; 253 253 }; 254 254 }; 255 255 cube = { 256 256 hostname = "lakhwara.com"; 257 257 profiles.system = { 258 - user = "anish"; 258 + user = "root"; 259 259 path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.cube; 260 260 }; 261 261 };
+1 -1
hosts/profiles/core/default.nix
··· 16 16 nix = { 17 17 settings = { 18 18 sandbox = true; 19 - trusted-users = [ "anish" "root" "@wheel" ]; 19 + trusted-users = [ "root" "@wheel" ]; 20 20 allowed-users = [ "@wheel" ]; 21 21 auto-optimise-store = true; 22 22 system-features = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];