pinwheel: Set configuration-manager.system from pkgs.system
This commit is contained in:
@@ -34,10 +34,9 @@
|
|||||||
|
|
||||||
outputs = { self, ... }@inputs: {
|
outputs = { self, ... }@inputs: {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
pinwheel = let
|
pinwheel = inputs.nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
in inputs.nixpkgs.lib.nixosSystem {
|
specialArgs = { inherit inputs; };
|
||||||
specialArgs = { inherit inputs system; };
|
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/pinwheel/configuration.nix
|
./hosts/pinwheel/configuration.nix
|
||||||
inputs.agenix.nixosModules.default
|
inputs.agenix.nixosModules.default
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ system, pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
|
|
||||||
config-manager = {
|
config-manager = {
|
||||||
flakePath = "/home/alex/config";
|
flakePath = "/home/alex/config";
|
||||||
system=system;
|
system=pkgs.system;
|
||||||
};
|
};
|
||||||
|
|
||||||
mod = {
|
mod = {
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
{ inputs, pkgs, lib, system, config, ...}:
|
{ inputs, pkgs, lib, config, ...}:
|
||||||
let
|
let
|
||||||
|
system = config.config-manager.system;
|
||||||
|
|
||||||
hyprlandEnabled = config.mod.hyprland.enable;
|
hyprlandEnabled = config.mod.hyprland.enable;
|
||||||
|
|
||||||
grimblast = inputs.hyprland-contrib.packages.${system}.grimblast;
|
grimblast = inputs.hyprland-contrib.packages.${system}.grimblast;
|
||||||
|
|||||||
Reference in New Issue
Block a user