renamen file structure
This commit is contained in:
parent
8e8b009ee8
commit
375470c7aa
17
flake.lock
17
flake.lock
@ -21,6 +21,22 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1731797098,
|
||||
"narHash": "sha256-UhWmEZhwJZmVZ1jfHZFzCg+ZLO9Tb/v3Y6LC0UNyeTo=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixos-hardware",
|
||||
"rev": "672ac2ac86f7dff2f6f3406405bddecf960e0db6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "master",
|
||||
"repo": "nixos-hardware",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1731954261,
|
||||
@ -56,6 +72,7 @@
|
||||
"root": {
|
||||
"inputs": {
|
||||
"disko": "disko",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"pkgsUnstable": "pkgsUnstable"
|
||||
}
|
||||
|
@ -21,14 +21,14 @@
|
||||
inherit system;
|
||||
specialArgs = { inherit unstable; };
|
||||
modules = [
|
||||
./system/vincents-hp/configuration.nix
|
||||
./system/my-hp/configuration.nix
|
||||
];
|
||||
};
|
||||
old-hp = lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = { inherit unstable; };
|
||||
modules = [
|
||||
./system/vincents-old-hp/configuration.nix
|
||||
./system/old-hp/configuration.nix
|
||||
];
|
||||
};
|
||||
macmini = lib.nixosSystem {
|
||||
@ -37,14 +37,14 @@
|
||||
modules = [
|
||||
# add your model from this list: https://github.com/NixOS/nixos-hardware/blob/master/flake.nix
|
||||
nixos-hardware.nixosModules.apple-macmini-4-1
|
||||
./system/2012macmini/configuration.nix
|
||||
./system/macmini/configuration.nix
|
||||
];
|
||||
};
|
||||
moms-hp = lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = { inherit unstable; };
|
||||
modules = [
|
||||
./system/susans-hp/configuration.nix
|
||||
./system/moms-hp/configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
@ -2,7 +2,8 @@ echo "enter config name"
|
||||
read HOST
|
||||
|
||||
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode destroy system/$HOST/disk.nix
|
||||
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode format system/$HOST/disk.nix
|
||||
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode disko system/$HOST/disk.nix
|
||||
#sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode format system/$HOST/disk.nix
|
||||
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode mount system/$HOST/disk.nix
|
||||
|
||||
sudo nixos-install --flake .#$HOST
|
||||
|
Loading…
Reference in New Issue
Block a user