fucked around?
This commit is contained in:
17
flake.nix
17
flake.nix
@@ -18,15 +18,24 @@
|
||||
url = "github:Maroka-chan/VPN-Confinement";
|
||||
};
|
||||
};
|
||||
outputs = { self, nixpkgs, home-manager, vpn-confinement, ... }@inputs:
|
||||
outputs = { self, nixpkgs, ... }@inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
systems = {
|
||||
x86_64 = "x86_64-linux";
|
||||
arm64 = "aarch64-linux";
|
||||
darwin = "aarch64-darwin";
|
||||
}
|
||||
stable_pkgs = builtins.mapAttrs (k: v: import nixpkgs { system = v; }) systems;
|
||||
unstable_pkgs = builtins.mapAttrs (k: v: import nixpkgs-unstable { system = v; }) systems;
|
||||
|
||||
#pkgs = nixpkgs.legacyPackages.${system};
|
||||
#unstable = nixpkgs-unstable.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
snowbelle = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs; };
|
||||
system = systems.x86_64;
|
||||
specialArgs = { inherit inputs stable_pkgs unstable_pkgs; };
|
||||
modules = [
|
||||
./hosts/snowbelle/configuration.nix
|
||||
inputs.home-manager.nixosModules.default
|
||||
|
||||
Reference in New Issue
Block a user