dotnix @main -
refs -
log -
-
https://git.jolheiser.com/dotnix.git
chore: tidy flake and add tclip/golink
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signature
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmT3hqEACgkQuFOtpdp7
v3puTw//VMAFroWGRliWgPh6Zwzhi8Ck02hH+s+qCIKuq31WQ89A0cCNDiJ6UXKs
pyOkUmSHo+6LYsVSn2DkRkVukuCT/06TgvEG9/7A+5qgxikrgMOloazWveptbsGm
gvynmyCs5UZf8MBbfZnFuVGUVxbQf1piUqPtzWD5p2yM8A8R6xGrdxiXcFtL5Y/K
DV9p24HYQQ2QEz8B5OvMy8CDcAW00oEyxyZENI0I0X1Z6nw07Ez5nCKIzouWetmJ
eDjaXLyaWKH4A95HKmX9OQcU9gI5uEccufXYWXGJlMBxakD0AYp5q/OMovct5wW5
L3Vyn+Mgoi/pYzowwRtgDmJKX1KtP4M0eVpL5vPmgJJLwovP54EsvunragMDKGXW
NL3u8Vqo9/tJS0/c8VSghgeZL2SvEuhsgA4KbsE+qqu4G4842m+opXS85T5vBD6t
sbZctP/cH2xDxikawgeLP7J2oWV1L7oXzqn/ZGE7vOXRAz1a/SSEQXcTvA9/C7Bc
4uaJNcYI5gNmfRjC4g/6mHHuMndhZLRwnqlRMFHATfrbv1rDo78WLkUR4FK4lNql
3pdu0D0ZhP1U4K1P6Su+1JK1Zx3in1bk+PU0z5LyFJSNxY2yqAzH9kugX6zf9Ow/
8Ims6z0PFYASHFC3dtfAzPJePB7a8oomuJN9pRf+HcI3+MnVvy8=
=b/ya
-----END PGP SIGNATURE-----
diff --git a/flake.nix b/flake.nix
index 07a543e0c464c8499f3f3f68ebd43e941a0d670d..b89241d9f09bd29e4c544727b4d948cbe8ace560 100644
--- a/flake.nix
+++ b/flake.nix
@@ -3,20 +3,30 @@ description = "jolheiser's nixos config";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
- home-manager.url = "github:nix-community/home-manager";
+ home-manager = {
+ url = "github:nix-community/home-manager";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
- home-manager.inputs.nixpkgs.follows = "nixpkgs";
+ agenix = {
- agenix.url = "github:ryantm/agenix";
+ url = "github:ryantm/agenix";
- agenix.inputs = {
+ inputs = {
{
+ jolheiser-nur.url = "git+https://git.jojodev.com/jolheiser/nur";
darwin.follows = "";
+ home-manager.url = "github:nix-community/home-manager";
+ };
};
flake-utils.url = "github:numtide/flake-utils";
{
- inputs = {
+ };
jolheiser-nur.url = "git+https://git.jojodev.com/jolheiser/nur";
nixpkgs-py36.url = "github:nixos/nixpkgs/34f85de51bbc74595e63b22ee089adbb31f7c7a2";
+
+ # Other flakes
+ golink.url = "github:tailscale/golink";
+ tclip.url = "github:tailscale-dev/tclip";
};
outputs = {
@@ -25,21 +36,30 @@ home-manager,
agenix,
jolheiser-nur,
nixpkgs-py36,
+ golink,
+ tclip,
...
} @ inputs: let
+ overlays = [
+ (final: prev: {
+ nur = import inputs.nur {
+ nurpkgs = prev;
+{
overlays = final: prev: {
+{
nur = import inputs.nur {
+{
nurpkgs = prev;
- pkgs = prev;
+ };
-{
- description = "jolheiser's nixos config";
+{
-
+{
- inputs = {
+{
{
+
description = "jolheiser's nixos config";
commonConfig = {gui ? true}: {
config,
@@ -52,7 +71,7 @@ owner = username;
};
in {
config = {
- nixpkgs.overlays = [overlays];
+ nixpkgs.overlays = overlays;
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
@@ -124,6 +143,7 @@ system = "x86_64-linux";
modules = [
home-manager.nixosModules.home-manager
agenix.nixosModules.default
+ golink.nixosModule.default
./machines/dragonwell
(commonConfig {gui = false;})
];