this repo has no description
2
fork

Configure Feed

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

add disko (unused)

+59 -3
+8 -3
flake.nix
··· 17 17 agenix.inputs.nixpkgs.follows = "nixpkgs"; 18 18 deploy-rs.url = "github:serokell/deploy-rs"; 19 19 deploy-rs.inputs.nixpkgs.follows = "nixpkgs"; 20 + disko.url = "github:nix-community/disko"; 21 + disko.inputs.nixpkgs.follows = "nixpkgs"; 20 22 21 - # Packages 23 + # My Packages 22 24 poonam.url = "git+ssh://gitea@git.sealight.xyz/aynish/kitaab?ref=main"; 23 25 poonam.inputs.nixpkgs.follows = "nixpkgs"; 24 26 basant.url = "git+ssh://gitea@git.sealight.xyz/aynish/basant?ref=main"; ··· 26 28 basant.inputs.nixpkgs.follows = "nixpkgs"; 27 29 basant.inputs.poonam.follows = "poonam"; 28 30 vimwikicli.inputs.nixpkgs.follows = "nixpkgs"; 29 - 30 31 grasp.url = "git+ssh://gitea@git.sealight.xyz/aynish/grasp.git?ref=main"; 31 32 grasp.inputs.nixpkgs.follows = "nixpkgs"; 33 + 32 34 # Matrix 33 35 nix-matrix-appservices.url = "gitlab:coffeetables/nix-matrix-appservices"; 36 + 34 37 # Others 35 38 nur.url = "github:nix-community/NUR"; 36 39 rust-overlay = { ··· 63 66 , home-manager 64 67 , deploy-rs 65 68 , agenix 69 + , disko 66 70 , basant 67 71 , grasp 68 72 , nix-matrix-appservices ··· 184 188 self.nixosModules.backup 185 189 self.nixosModules.wireguard 186 190 self.nixosModules.microbin 191 + disko.nixosModules.disko 187 192 ]; 188 193 }; 189 194 ··· 275 280 }; 276 281 helix = { 277 282 hostname = "git.sealight.xyz"; 278 - # autoRollback = false; 283 + autoRollback = false; 279 284 profiles.system = { 280 285 user = "root"; 281 286 path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.helix;
+51
hosts/helix/disko.nix
··· 1 + { disks ? [ "/dev/vdb" ], ... }: { 2 + disko.devices = { 3 + disk = { 4 + vdb = { 5 + type = "disk"; 6 + device = builtins.elemAt disks 0; 7 + content = { 8 + type = "table"; 9 + format = "gpt"; 10 + partitions = [ 11 + { 12 + name = "ESP"; 13 + start = "1MiB"; 14 + end = "128MiB"; 15 + fs-type = "fat32"; 16 + bootable = true; 17 + content = { 18 + type = "filesystem"; 19 + format = "vfat"; 20 + mountpoint = "/boot"; 21 + }; 22 + } 23 + { 24 + name = "root"; 25 + start = "128MiB"; 26 + end = "100%"; 27 + content = { 28 + type = "btrfs"; 29 + extraArgs = [ "-f" ]; # Override existing partition 30 + subvolumes = { 31 + # Subvolume name is different from mountpoint 32 + "/rootfs" = { 33 + mountpoint = "/"; 34 + }; 35 + # Mountpoints inferred from subvolume name 36 + "/home" = { 37 + mountOptions = [ "compress=zstd" ]; 38 + }; 39 + "/nix" = { 40 + mountOptions = [ "compress=zstd" "noatime" ]; 41 + }; 42 + }; 43 + }; 44 + } 45 + ]; 46 + }; 47 + }; 48 + }; 49 + }; 50 + } 51 +