mirror of
https://git.sr.ht/~neverness/ultima
synced 2024-11-27 20:21:11 +00:00
update
This commit is contained in:
parent
daf6a83c3c
commit
11dd462059
|
@ -41,8 +41,9 @@
|
|||
};
|
||||
};
|
||||
|
||||
outputs = inputs: # THIS IS SEPARATES OUTPUTS FROM FLAKE
|
||||
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
outputs = inputs:
|
||||
with inputs;
|
||||
flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
systems = [ "x86_64-linux" ];
|
||||
imports = [ ./workst ];
|
||||
};
|
||||
|
|
|
@ -4,6 +4,7 @@ let
|
|||
userName = "nixzoid";
|
||||
in {
|
||||
flake = let
|
||||
lp = inputs.nixpkgs.legacyPackages.x86_64-linux;
|
||||
args = rec { # IMPORTS LET_IN FROM HOSTS TO ALL SYSTEM
|
||||
# DIRECTORIES
|
||||
flakeDir = "/persist/flake";
|
||||
|
@ -22,18 +23,15 @@ in {
|
|||
inherit inputs hostName userName;
|
||||
};
|
||||
in with inputs; {
|
||||
nixosConfigurations = {
|
||||
${hostName} = nixpkgs.lib.nixosSystem {
|
||||
modules = [ ./host ];
|
||||
specialArgs = args;
|
||||
};
|
||||
formatter = { x86_64-linux = lp.nixfmt; };
|
||||
nixosConfigurations.${hostName} = nixpkgs.lib.nixosSystem {
|
||||
modules = [ ./host ];
|
||||
specialArgs = args;
|
||||
};
|
||||
homeConfigurations = {
|
||||
${userName} = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages."x86_64-linux";
|
||||
modules = [ ./home ];
|
||||
extraSpecialArgs = args;
|
||||
};
|
||||
homeConfigurations.${userName} = home-manager.lib.homeManagerConfiguration {
|
||||
modules = [ ./home ];
|
||||
extraSpecialArgs = args;
|
||||
pkgs = lp;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue