panacea/flake.nix

35 lines
802 B
Nix
Raw Normal View History

2021-08-08 20:56:16 +02:00
{
description = "System configuration for panacea";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
agenix.url = "github:ryantm/agenix";
agenix.inputs.nixpkgs.follows = "nixpkgs";
emacs-overlay.url = "github:nix-community/emacs-overlay";
2021-10-17 20:56:51 +02:00
openconnect-sso = {
url = "github:vlaci/openconnect-sso";
flake = false;
};
2021-08-08 20:56:16 +02:00
};
outputs = { self, nixpkgs, agenix, ... }@inputs:
let
system = "x86_64-linux";
pkgs = import pkgs {
inherit system;
config.allowUnfree = true;
};
lib = nixpkgs.lib;
2021-10-17 20:56:51 +02:00
in {
nixosConfigurations.panacea = lib.nixosSystem {
inherit system;
modules = [ (import ./configuration.nix) agenix.nixosModules.age ];
specialArgs = { inherit inputs; };
2021-08-10 14:19:36 +02:00
};
2021-10-17 20:56:51 +02:00
};
2021-08-08 20:56:16 +02:00
}