switched to using nixos-anywhere flake in dev shell
This commit is contained in:
parent
254edf2d4a
commit
36382ebfe0
3 changed files with 163 additions and 4 deletions
12
flake.nix
12
flake.nix
|
@ -28,6 +28,11 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
nixos-anywhere = {
|
||||
url = "github:nix-community/nixos-anywhere";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
# disk configurations
|
||||
disko = {
|
||||
url = "github:nix-community/disko";
|
||||
|
@ -79,6 +84,7 @@
|
|||
sops-nix,
|
||||
nix-syncthing,
|
||||
home-manager,
|
||||
nixos-anywhere,
|
||||
impermanence,
|
||||
...
|
||||
} @ inputs: let
|
||||
|
@ -131,11 +137,11 @@
|
|||
systemsHomes
|
||||
// homeSystems;
|
||||
in {
|
||||
formatter = forEachPkgs (pkgs: pkgs.alejandra);
|
||||
formatter = forEachPkgs (system: pkgs: pkgs.alejandra);
|
||||
|
||||
# templates = import ./templates;
|
||||
|
||||
devShells = forEachPkgs (pkgs: {
|
||||
devShells = forEachPkgs (system: pkgs: {
|
||||
default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
# for version controlling this repo
|
||||
|
@ -147,7 +153,7 @@
|
|||
# for viewing configuration options defined in this repo
|
||||
nix-inspect
|
||||
# for installing flakes from this repo onto other systems
|
||||
nixos-anywhere
|
||||
nixos-anywhere.packages.${system}.nixos-anywhere
|
||||
# for updating disko configurations
|
||||
disko
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue