HYBPXVO2BD6SK7IVFLS6YZFEN2HMSZDALXIUCJGSKVB3LYMLCWJAC GQYLHW2XMCTVLK6WFVJZ5ROCZVAGSX22M5MBZU554DRPXOZ5CBMAC UAQOJNN4U555IQMOHWGZRQT6YAJDXEH2KT62D6P7SA4BV7YZSXSQC LLRYXY25L67F5SIWZCZ3MXBC67T6LMQ3JBBJJR2ESKALWHXT4YGAC 6CN27KP7L546BBPTWWVFSXF5Z6ZIC7U2XTXJJJRUYQEFMP76YMVAC 5G7WRBMWKG6DMCOHE6WQHTYZACUHO2UPBZRWN72CFH7P45NN5E7QC KE4A6XYYKVBEVCWG4TPFRAO5EYJHCJB25VWNXB2NZNXNEPSDKH6QC RXJH46XLP6AFSIZZD4WEQA5A5YZLKHZ54ZUGCRH7TRAOH2Z4Q2VQC # Example to create a bios compatible gpt partition{ lib, ... }:{disko.devices = {disk.disk1 = {device = lib.mkDefault "/dev/sda";type = "disk";content = {type = "gpt";partitions = {boot = {name = "boot";size = "1M";type = "EF02";};esp = {name = "ESP";size = "500M";type = "EF00";content = {type = "filesystem";format = "vfat";mountpoint = "/boot";};};root = {name = "root";size = "100%";content = {type = "lvm_pv";vg = "pool";};};};};};lvm_vg = {pool = {type = "lvm_vg";lvs = {root = {size = "100%FREE";content = {type = "filesystem";format = "ext4";mountpoint = "/";mountOptions = ["defaults"];};};};};};};}
{ pkgs, lib, modulesPath, ... }:{imports = [(modulesPath + "/installer/scan/not-detected.nix")(modulesPath + "/profiles/qemu-guest.nix")./disk.nix];boot.loader.grub = {efiSupport = true;efiInstallAsRemovable = true;};# user configurationusers.users.james = {isNormalUser = true;shell = pkgs.nushell; # nushell as default shellextraGroups = ["wheel" # sudo access"docker" # if using Docker"dialout"];openssh.authorizedKeys.keys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA7WV4+7uhIWQVHEN/2K0jJPTaZ/HbG3W8OKSpzmPBI4"];};users.users.root.openssh.authorizedKeys.keys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE0LRmns5YhIUkmr4DCJPUeLKs6aDFNTeXBhrQoTxpme"];services.openssh = {enable = true;settings = {PasswordAuthentication = false;PermitRootLogin = "yes";PubkeyAuthentication = true;};openFirewall = true;};networking = {hostName = "plum";firewall = {enable = true;allowedTCPPorts = [ 22 ];};};time.timeZone = "Europe/Warsaw";i18n.defaultLocale = "en_US.UTF-8";# this value determines the NixOS release from which the default# settings for stateful data, like file locations and database versions# on your system were taken. Don't change this after installation.system.stateVersion = "24.11";}
nixosConfigurations."plum" = lib.nixosSystem' {system = systems.linux;modules = [disko.nixosModules.disko./hosts/plum/configuration.nixhome-manager.nixosModules.home-manager({ pkgs, ... }:{home-manager.useGlobalPkgs = true;home-manager.useUserPackages = true;home-manager.users.james = import ./home/default.nix (mkHomeConfig systems.linux);})];};
"disko": {"inputs": {"nixpkgs": ["nixpkgs"]},"locked": {"lastModified": 1756115622,"narHash": "sha256-iv8xVtmLMNLWFcDM/HcAPLRGONyTRpzL9NS09RnryRM=","owner": "nix-community","repo": "disko","rev": "bafad29f89e83b2d861b493aa23034ea16595560","type": "github"},"original": {"owner": "nix-community","repo": "disko","type": "github"}},