pinwheel: Set configuration-manager.system from pkgs.system

This commit is contained in:
Alexander Heldt
2023-10-23 21:43:46 +02:00
parent 3dc2ced280
commit d65a9d81dc
3 changed files with 7 additions and 6 deletions

View File

@@ -34,10 +34,9 @@
outputs = { self, ... }@inputs: {
nixosConfigurations = {
pinwheel = let
pinwheel = inputs.nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
in inputs.nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs system; };
specialArgs = { inherit inputs; };
modules = [
./hosts/pinwheel/configuration.nix
inputs.agenix.nixosModules.default

View File

@@ -1,4 +1,4 @@
{ system, pkgs, ... }:
{ pkgs, ... }:
{
imports =
[
@@ -72,7 +72,7 @@
config-manager = {
flakePath = "/home/alex/config";
system=system;
system=pkgs.system;
};
mod = {

View File

@@ -1,5 +1,7 @@
{ inputs, pkgs, lib, system, config, ...}:
{ inputs, pkgs, lib, config, ...}:
let
system = config.config-manager.system;
hyprlandEnabled = config.mod.hyprland.enable;
grimblast = inputs.hyprland-contrib.packages.${system}.grimblast;