Skip to content

Commit

Permalink
adding kerio to linux
Browse files Browse the repository at this point in the history
  • Loading branch information
orzklv committed Aug 12, 2024
1 parent ecce12e commit c64ad12
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
12 changes: 10 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@
flake-utils.url = "github:numtide/flake-utils";

# Disko for easier partition management
disko.url = "github:nix-community/disko";
disko.inputs.nixpkgs.follows = "nixpkgs";
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};

# TODO: Add any other flake you might need
# hardware.url = "github:nixos/nixos-hardware";
Expand All @@ -43,6 +45,12 @@
url = "github:AstroNvim/AstroNvim/v3.40.3";
flake = false;
};

# Kerio Control Access
kerio = {
url = "github:shakhzodkudratov/kerio-control-vpnclient-nix"
inputs.nixpkgs.follows = "nixpkgs";
};
};

# In this context, outputs are mostly about getting home-manager what it
Expand Down
1 change: 1 addition & 0 deletions modules/home/packages/linux.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
# Add new packages here
pkgs.docker-compose
pkgs.pinentry
pkgs.kerio.kerio-control-vpnclient
]
1 change: 1 addition & 0 deletions modules/nixos/nixpkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
outputs.overlays.additions
outputs.overlays.modifications
outputs.overlays.unstable-packages
outputs.overlays.kerio-additions

# You can also add overlays exported from other flakes:
# neovim-nightly-overlay.overlays.default
Expand Down
8 changes: 8 additions & 0 deletions overlays/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,12 @@
config.allowUnfree = true;
};
};

# Bind the kerio packages over pkgs.kerio
kerio-addition = final: _prev: {
kerio = import inputs.kerio {
system = final.system;
config.allowUnfree = true;
};
};
}

0 comments on commit c64ad12

Please sign in to comment.