[openconnect-sso] Fix poetry error
This commit is contained in:
parent
2843567f2c
commit
381cfbcd72
4 changed files with 14 additions and 9 deletions
|
@ -14,6 +14,13 @@
|
|||
url = "github:nix-community/home-manager/release-23.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
openconnect-sso = {
|
||||
url = github:ThinkChaos/openconnect-sso/fix/nix-flake;
|
||||
inputs = {
|
||||
flake-utils.follows = "utils";
|
||||
nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
sops-nix = {
|
||||
url = "github:Mic92/sops-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
@ -26,7 +33,7 @@
|
|||
|
||||
outputs = inputs@{
|
||||
self, nixpkgs, nixpkgs-unstable,
|
||||
devshell, flake-utils, home-manager, sops-nix, utils,
|
||||
devshell, flake-utils, home-manager, openconnect-sso, sops-nix, utils,
|
||||
... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
|
@ -50,7 +57,6 @@
|
|||
(import ./overlays/cmdtime)
|
||||
(import ./overlays/icosystem)
|
||||
(import ./overlays/letter)
|
||||
(import ./overlays/openconnect-sso)
|
||||
(import ./overlays/spotify)
|
||||
];
|
||||
|
||||
|
|
|
@ -11,7 +11,10 @@
|
|||
model = "RTX 2060";
|
||||
};
|
||||
|
||||
networking.openconnect-sso.enable = true;
|
||||
networking = {
|
||||
networkmanager.enable = true;
|
||||
openconnect-sso.enable = true;
|
||||
};
|
||||
|
||||
nix = {
|
||||
flakes.enable = true;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ config, inputs, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.sisyphus.networking.openconnect-sso;
|
||||
|
@ -14,7 +14,7 @@ in {
|
|||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
openconnect-sso
|
||||
inputs.openconnect-sso.packages.${config.nixpkgs.localSystem.system}.default
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
import "${builtins.fetchTarball {
|
||||
url = "https://github.com/vlaci/openconnect-sso/archive/master.tar.gz";
|
||||
sha256 = "08cqd40p9vld1liyl6qrsdrilzc709scyfghfzmmja3m1m7nym94";
|
||||
}}/overlay.nix"
|
Loading…
Reference in a new issue