switched to using nixos-anywhere flake in dev shell

This commit is contained in:
Leyla Becker 2025-06-01 14:19:31 -05:00
parent 254edf2d4a
commit 36382ebfe0
3 changed files with 163 additions and 4 deletions

View file

@ -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
];