Move all logic from nixos-anywhere to main flake
It should now be possible to nixos-anywhere without the custom directory. Still testing that works though.
This commit is contained in:
parent
0ac27f8b99
commit
d0df5172d3
3 changed files with 9 additions and 17 deletions
|
|
@ -25,6 +25,7 @@
|
|||
repo = "nidus-sync";
|
||||
rev = "b31ca6c83ed96dbb1d15c94bcf57cfdb07a11b5a";
|
||||
};
|
||||
nixos-facter-modules.url = "github:numtide/nixos-facter-modules";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
|
||||
nixvim = {
|
||||
url = "github:nix-community/nixvim/nixos-25.05";
|
||||
|
|
@ -37,12 +38,12 @@
|
|||
outputs = inputs@{ self, disko, home-manager, nixpkgs, nixvim, sops-nix, timecard-bot, ...}:
|
||||
let
|
||||
configFiles = pkgs.stdenv.mkDerivation {
|
||||
name = "config-files";
|
||||
src = ./configs;
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -r * $out/
|
||||
'';
|
||||
name = "config-files";
|
||||
src = ./configs;
|
||||
};
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
system = "x86_64-linux";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue