fucked around?

This commit is contained in:
2025-10-09 16:42:37 -05:00
parent 48a974704d
commit 72378c32de
2 changed files with 18 additions and 5 deletions

View File

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

View File

@@ -1,5 +1,9 @@
{ config, lib, pkgs, ... }:
{ config, lib, stable_pkgs, unstable_pkgs, ... }:
let
pkgs = stable_pkgs.x86_64;
unstable = unstable_pkgs.x86_64;
in
{
imports =
[ # Include the results of the hardware scan.