feat: Added cachix

This commit is contained in:
uttarayan21
2024-04-28 05:33:31 +05:30
parent fe00addf7c
commit 26e1ffd399
9 changed files with 323 additions and 79 deletions

View File

@@ -46,7 +46,8 @@ in {
./zellij.nix ./zellij.nix
../modules ../modules
] ]
++ lib.optionals device.isLinux [../linux]; ++ lib.optionals device.isLinux [../linux]
++ lib.optionals device.isServer [../server];
home.packages = with pkgs; home.packages = with pkgs;
[ [
@@ -68,7 +69,7 @@ in {
pkg-config pkg-config
devenv devenv
sleek sleek
openapi-tui # openapi-tui
# Misc # Misc
qmk qmk
@@ -119,8 +120,8 @@ in {
programs = { programs = {
thefuck = { thefuck = {
enable = true; enable = true;
enableFishIntegration = true; enableFishIntegration = true;
}; };
direnv = { direnv = {
enable = true; enable = true;

335
flake.lock generated
View File

@@ -150,6 +150,30 @@
"type": "github" "type": "github"
} }
}, },
"cachix-deploy-flake": {
"inputs": {
"darwin": "darwin",
"disko": "disko",
"home-manager": [
"home-manager"
],
"nixos-anywhere": "nixos-anywhere",
"nixpkgs": "nixpkgs_4"
},
"locked": {
"lastModified": 1689691408,
"narHash": "sha256-XWrxsfn2VNexC5Z/PqdX5VCNjMQLOW1Mqstqznzmx2c=",
"owner": "cachix",
"repo": "cachix-deploy-flake",
"rev": "347933f81e9212cb98b78b6529e86fd810fcf8ae",
"type": "github"
},
"original": {
"owner": "cachix",
"repo": "cachix-deploy-flake",
"type": "github"
}
},
"crane": { "crane": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@@ -274,6 +298,24 @@
"type": "github" "type": "github"
} }
}, },
"darwin": {
"inputs": {
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1687691275,
"narHash": "sha256-VVywT8ubStvDPF5TscDBokT3T0l3zsOzCW056noh5zc=",
"owner": "LnL7",
"repo": "nix-darwin",
"rev": "25ae710ba3cd448c5d5678788d37f3d149378bc0",
"type": "github"
},
"original": {
"owner": "LnL7",
"repo": "nix-darwin",
"type": "github"
}
},
"devshell": { "devshell": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_9", "flake-utils": "flake-utils_9",
@@ -319,6 +361,27 @@
"type": "github" "type": "github"
} }
}, },
"disko": {
"inputs": {
"nixpkgs": [
"cachix-deploy-flake",
"nixpkgs"
]
},
"locked": {
"lastModified": 1687968164,
"narHash": "sha256-L9jr2zCB6NIaBE3towusjGBigsnE2pMID8wBGkYbTS4=",
"owner": "nix-community",
"repo": "disko",
"rev": "8002e7cb899bc2a02a2ebfb7f999fcd7c18b92a1",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "disko",
"type": "github"
}
},
"fenix": { "fenix": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@@ -534,6 +597,27 @@
"type": "github" "type": "github"
} }
}, },
"flake-parts_10": {
"inputs": {
"nixpkgs-lib": [
"nixvim",
"nixpkgs"
]
},
"locked": {
"lastModified": 1712014858,
"narHash": "sha256-sB4SWl2lX95bExY2gMFG5HIzvva5AVMJd4Igm+GpZNw=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "9126214d0a59633752a136528f5f3b9aa8565b7d",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-parts_2": { "flake-parts_2": {
"inputs": { "inputs": {
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
@@ -553,6 +637,28 @@
} }
}, },
"flake-parts_3": { "flake-parts_3": {
"inputs": {
"nixpkgs-lib": [
"cachix-deploy-flake",
"nixos-anywhere",
"nixpkgs"
]
},
"locked": {
"lastModified": 1687762428,
"narHash": "sha256-DIf7mi45PKo+s8dOYF+UlXHzE0Wl/+k3tXUyAoAnoGE=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "37dd7bb15791c86d55c5121740a1887ab55ee836",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-parts_4": {
"inputs": { "inputs": {
"nixpkgs-lib": [ "nixpkgs-lib": [
"lanzaboote", "lanzaboote",
@@ -573,33 +679,11 @@
"type": "github" "type": "github"
} }
}, },
"flake-parts_4": {
"inputs": {
"nixpkgs-lib": [
"neovim",
"nixvim",
"nixpkgs"
]
},
"locked": {
"lastModified": 1712014858,
"narHash": "sha256-sB4SWl2lX95bExY2gMFG5HIzvva5AVMJd4Igm+GpZNw=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "9126214d0a59633752a136528f5f3b9aa8565b7d",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-parts_5": { "flake-parts_5": {
"inputs": { "inputs": {
"nixpkgs-lib": [ "nixpkgs-lib": [
"neovim", "neovim",
"nnn", "nixvim",
"nixpkgs" "nixpkgs"
] ]
}, },
@@ -618,6 +702,28 @@
} }
}, },
"flake-parts_6": { "flake-parts_6": {
"inputs": {
"nixpkgs-lib": [
"neovim",
"nnn",
"nixpkgs"
]
},
"locked": {
"lastModified": 1712014858,
"narHash": "sha256-sB4SWl2lX95bExY2gMFG5HIzvva5AVMJd4Igm+GpZNw=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "9126214d0a59633752a136528f5f3b9aa8565b7d",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-parts_7": {
"inputs": { "inputs": {
"nixpkgs-lib": [ "nixpkgs-lib": [
"neovim", "neovim",
@@ -639,7 +745,7 @@
"type": "indirect" "type": "indirect"
} }
}, },
"flake-parts_7": { "flake-parts_8": {
"inputs": { "inputs": {
"nixpkgs-lib": [ "nixpkgs-lib": [
"neovim-nightly-overlay", "neovim-nightly-overlay",
@@ -660,7 +766,7 @@
"type": "github" "type": "github"
} }
}, },
"flake-parts_8": { "flake-parts_9": {
"inputs": { "inputs": {
"nixpkgs-lib": [ "nixpkgs-lib": [
"neovim-nightly-overlay", "neovim-nightly-overlay",
@@ -681,27 +787,6 @@
"type": "indirect" "type": "indirect"
} }
}, },
"flake-parts_9": {
"inputs": {
"nixpkgs-lib": [
"nixvim",
"nixpkgs"
]
},
"locked": {
"lastModified": 1712014858,
"narHash": "sha256-sB4SWl2lX95bExY2gMFG5HIzvva5AVMJd4Igm+GpZNw=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "9126214d0a59633752a136528f5f3b9aa8565b7d",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-utils": { "flake-utils": {
"inputs": { "inputs": {
"systems": "systems" "systems": "systems"
@@ -1110,7 +1195,7 @@
}, },
"hercules-ci-effects": { "hercules-ci-effects": {
"inputs": { "inputs": {
"flake-parts": "flake-parts_6", "flake-parts": "flake-parts_7",
"nixpkgs": [ "nixpkgs": [
"neovim", "neovim",
"nnn", "nnn",
@@ -1133,7 +1218,7 @@
}, },
"hercules-ci-effects_2": { "hercules-ci-effects_2": {
"inputs": { "inputs": {
"flake-parts": "flake-parts_8", "flake-parts": "flake-parts_9",
"nixpkgs": [ "nixpkgs": [
"neovim-nightly-overlay", "neovim-nightly-overlay",
"nixpkgs" "nixpkgs"
@@ -1287,7 +1372,7 @@
"inputs": { "inputs": {
"crane": "crane_3", "crane": "crane_3",
"flake-compat": "flake-compat", "flake-compat": "flake-compat",
"flake-parts": "flake-parts_3", "flake-parts": "flake-parts_4",
"flake-utils": "flake-utils_6", "flake-utils": "flake-utils_6",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
@@ -1335,7 +1420,7 @@
}, },
"naersk": { "naersk": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_3" "nixpkgs": "nixpkgs_5"
}, },
"locked": { "locked": {
"lastModified": 1698420672, "lastModified": 1698420672,
@@ -1354,11 +1439,11 @@
"neogit": { "neogit": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1713820126, "lastModified": 1714142101,
"narHash": "sha256-HornAbEtdpxSIQktJCHu8sLjXVjJJOdw4Kwa2T3NihE=", "narHash": "sha256-LgVQAwXTUr/tw92EkgTy1AlyTs2gyyYoU0ENlioeMII=",
"owner": "NeogitOrg", "owner": "NeogitOrg",
"repo": "neogit", "repo": "neogit",
"rev": "45dcbb677d3933b8671be13df872aca51fa9d0df", "rev": "df527d152d34214a3a24a577bf7ef1f121e8add2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -1419,7 +1504,7 @@
}, },
"locked": { "locked": {
"lastModified": 1, "lastModified": 1,
"narHash": "sha256-ozI/5Xy1CxKxsaWwRzHW78S4lSE1kRiCbE1i30QC4Kg=", "narHash": "sha256-gCukuAUllTFxqnRuhUvSapyMCWHd1sSD96SSI9518ow=",
"path": "./neovim", "path": "./neovim",
"type": "path" "type": "path"
}, },
@@ -1480,7 +1565,7 @@
"neovim-nightly-overlay": { "neovim-nightly-overlay": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_6", "flake-compat": "flake-compat_6",
"flake-parts": "flake-parts_7", "flake-parts": "flake-parts_8",
"hercules-ci-effects": "hercules-ci-effects_2", "hercules-ci-effects": "hercules-ci-effects_2",
"neovim-flake": "neovim-flake_2", "neovim-flake": "neovim-flake_2",
"nixpkgs": [ "nixpkgs": [
@@ -1566,7 +1651,7 @@
}, },
"nix-index-database": { "nix-index-database": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_4" "nixpkgs": "nixpkgs_6"
}, },
"locked": { "locked": {
"lastModified": 1713668931, "lastModified": 1713668931,
@@ -1582,6 +1667,78 @@
"type": "github" "type": "github"
} }
}, },
"nixos-2305": {
"locked": {
"lastModified": 1687938137,
"narHash": "sha256-Z00c0Pk3aE1aw9x44lVcqHmvx+oX7dxCXCvKcUuE150=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ba2ded3227a2992f2040fad4ba6f218a701884a5",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "release-23.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixos-anywhere": {
"inputs": {
"disko": [
"cachix-deploy-flake",
"disko"
],
"flake-parts": "flake-parts_3",
"nixos-2305": "nixos-2305",
"nixos-images": "nixos-images",
"nixpkgs": [
"cachix-deploy-flake",
"nixpkgs"
],
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1687941964,
"narHash": "sha256-/Gr4tOq+tMBbE46njUt1aJGbsB9lpwnK99/oeC9uTXE=",
"owner": "numtide",
"repo": "nixos-anywhere",
"rev": "22a2964bef34f92fe1c093ae54a8ab52eefdd5df",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "nixos-anywhere",
"type": "github"
}
},
"nixos-images": {
"inputs": {
"nixos-2305": [
"cachix-deploy-flake",
"nixos-anywhere",
"nixos-2305"
],
"nixos-unstable": [
"cachix-deploy-flake",
"nixos-anywhere",
"nixpkgs"
]
},
"locked": {
"lastModified": 1686819168,
"narHash": "sha256-IbRVStbKoMC2fUX6TxNO82KgpVfI8LL4Cq0bTgdYhnY=",
"owner": "nix-community",
"repo": "nixos-images",
"rev": "ccc1a2c08ce2fc38bcece85d2a6e7bf17bac9e37",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixos-images",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1706487304, "lastModified": 1706487304,
@@ -1649,6 +1806,33 @@
} }
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": {
"lastModified": 1687274257,
"narHash": "sha256-TutzPriQcZ8FghDhEolnHcYU2oHIG5XWF+/SUBNnAOE=",
"path": "/nix/store/22qgs3skscd9bmrxv9xv4q5d4wwm5ppx-source",
"rev": "2c9ecd1f0400076a4d6b2193ad468ff0a7e7fdc5",
"type": "path"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
}
},
"nixpkgs_4": {
"locked": {
"lastModified": 1687977148,
"narHash": "sha256-gUcXiU2GgjYIc65GOIemdBJZ+lkQxuyIh7OkR9j0gCo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "60a783e00517fce85c42c8c53fe0ed05ded5b2a4",
"type": "github"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
}
},
"nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1711715736, "lastModified": 1711715736,
"narHash": "sha256-9slQ609YqT9bT/MNX9+5k5jltL9zgpn36DpFB7TkttM=", "narHash": "sha256-9slQ609YqT9bT/MNX9+5k5jltL9zgpn36DpFB7TkttM=",
@@ -1662,7 +1846,7 @@
"type": "indirect" "type": "indirect"
} }
}, },
"nixpkgs_4": { "nixpkgs_6": {
"locked": { "locked": {
"lastModified": 1713537308, "lastModified": 1713537308,
"narHash": "sha256-XtTSSIB2DA6tOv+l0FhvfDMiyCmhoRbNB+0SeInZkbk=", "narHash": "sha256-XtTSSIB2DA6tOv+l0FhvfDMiyCmhoRbNB+0SeInZkbk=",
@@ -1678,7 +1862,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_5": { "nixpkgs_7": {
"locked": { "locked": {
"lastModified": 1713714899, "lastModified": 1713714899,
"narHash": "sha256-+z/XjO3QJs5rLE5UOf015gdVauVRQd2vZtsFkaXBq2Y=", "narHash": "sha256-+z/XjO3QJs5rLE5UOf015gdVauVRQd2vZtsFkaXBq2Y=",
@@ -1694,7 +1878,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_6": { "nixpkgs_8": {
"locked": { "locked": {
"lastModified": 1714076141, "lastModified": 1714076141,
"narHash": "sha256-Drmja/f5MRHZCskS6mvzFqxEaZMeciScCTFxWVLqWEY=", "narHash": "sha256-Drmja/f5MRHZCskS6mvzFqxEaZMeciScCTFxWVLqWEY=",
@@ -1714,7 +1898,7 @@
"inputs": { "inputs": {
"devshell": "devshell", "devshell": "devshell",
"flake-compat": "flake-compat_3", "flake-compat": "flake-compat_3",
"flake-parts": "flake-parts_4", "flake-parts": "flake-parts_5",
"home-manager": "home-manager_2", "home-manager": "home-manager_2",
"nix-darwin": "nix-darwin", "nix-darwin": "nix-darwin",
"nixpkgs": [ "nixpkgs": [
@@ -1742,7 +1926,7 @@
"inputs": { "inputs": {
"devshell": "devshell_2", "devshell": "devshell_2",
"flake-compat": "flake-compat_7", "flake-compat": "flake-compat_7",
"flake-parts": "flake-parts_9", "flake-parts": "flake-parts_10",
"home-manager": "home-manager_3", "home-manager": "home-manager_3",
"nix-darwin": "nix-darwin_3", "nix-darwin": "nix-darwin_3",
"nixpkgs": [ "nixpkgs": [
@@ -1768,7 +1952,7 @@
"nnn": { "nnn": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_5", "flake-compat": "flake-compat_5",
"flake-parts": "flake-parts_5", "flake-parts": "flake-parts_6",
"hercules-ci-effects": "hercules-ci-effects", "hercules-ci-effects": "hercules-ci-effects",
"neovim-flake": "neovim-flake", "neovim-flake": "neovim-flake",
"nixpkgs": [ "nixpkgs": [
@@ -1825,7 +2009,7 @@
"inputs": { "inputs": {
"fenix": "fenix_3", "fenix": "fenix_3",
"flake-utils": "flake-utils_15", "flake-utils": "flake-utils_15",
"nixpkgs": "nixpkgs_6", "nixpkgs": "nixpkgs_8",
"systems": "systems_19" "systems": "systems_19"
}, },
"locked": { "locked": {
@@ -1970,6 +2154,7 @@
"anyrun-nixos-options": "anyrun-nixos-options", "anyrun-nixos-options": "anyrun-nixos-options",
"anyrun-rbw": "anyrun-rbw", "anyrun-rbw": "anyrun-rbw",
"anyrun-rink": "anyrun-rink", "anyrun-rink": "anyrun-rink",
"cachix-deploy-flake": "cachix-deploy-flake",
"flake-utils": "flake-utils_4", "flake-utils": "flake-utils_4",
"home-manager": "home-manager", "home-manager": "home-manager",
"hyprlock": "hyprlock", "hyprlock": "hyprlock",
@@ -1980,7 +2165,7 @@
"neovim-nightly-overlay": "neovim-nightly-overlay", "neovim-nightly-overlay": "neovim-nightly-overlay",
"nix-darwin": "nix-darwin_2", "nix-darwin": "nix-darwin_2",
"nix-index-database": "nix-index-database", "nix-index-database": "nix-index-database",
"nixpkgs": "nixpkgs_5", "nixpkgs": "nixpkgs_7",
"nixvim": "nixvim_2", "nixvim": "nixvim_2",
"nur": "nur", "nur": "nur",
"openapi-tui": "openapi-tui", "openapi-tui": "openapi-tui",
@@ -2513,6 +2698,28 @@
"type": "github" "type": "github"
} }
}, },
"treefmt-nix": {
"inputs": {
"nixpkgs": [
"cachix-deploy-flake",
"nixos-anywhere",
"nixpkgs"
]
},
"locked": {
"lastModified": 1687940979,
"narHash": "sha256-D4ZFkgIG2s9Fyi78T3fVG9mqMD+/UnFDB62jS4gjZKY=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "0a4f06c27610a99080b69433873885df82003aae",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "treefmt-nix",
"type": "github"
}
},
"zjstatus": { "zjstatus": {
"inputs": { "inputs": {
"crane": "crane_5", "crane": "crane_5",

View File

@@ -79,6 +79,10 @@
url = "github:zaghaghi/openapi-tui"; url = "github:zaghaghi/openapi-tui";
flake = false; flake = false;
}; };
cachix-deploy-flake = {
url = "github:cachix/cachix-deploy-flake";
inputs.home-manager.follows = "home-manager";
};
}; };
outputs = { outputs = {
@@ -97,6 +101,7 @@
system = "x86_64-linux"; system = "x86_64-linux";
user = "fs0c131y"; user = "fs0c131y";
hasGui = false; # Don't wan't to run GUI apps on a headless server hasGui = false; # Don't wan't to run GUI apps on a headless server
isServer = true;
} }
{ {
name = "ryu"; name = "ryu";
@@ -135,6 +140,10 @@
mkDevice = {device}: { mkDevice = {device}: {
isLinux = !isNull (builtins.match ".*-linux" device.system); isLinux = !isNull (builtins.match ".*-linux" device.system);
isServer =
if (builtins.hasAttr "isServer" device)
then device.isServer
else false;
isNix = isNix =
if (builtins.hasAttr "isNix" device) if (builtins.hasAttr "isNix" device)
then device.isNix then device.isNix
@@ -163,7 +172,7 @@
overlays = import ./overlays.nix { overlays = import ./overlays.nix {
inherit inputs; inherit inputs;
}; };
in { in rec {
nixosConfigurations = let nixosConfigurations = let
devices = nixos_devices; devices = nixos_devices;
in in
@@ -186,5 +195,14 @@
}; };
packages = inputs.neovim.packages; packages = inputs.neovim.packages;
cachix = let
cachix-deploy-lib = inputs.cachix-deploy.lib nixpkgs.legacyPackages.x86_64-linux;
in
cachix-deploy-lib.spec {
agents.mirai = homeConfigurations.mirai.config.system.build.toplevel;
agents.ryu = nixosConfigurations.ryu.config.system.build.toplevel;
# agents.mirai = homeConfigurations.mirai.config.system.build.toplevel;
};
}; };
} }

17
neovim/flake.lock generated
View File

@@ -269,11 +269,11 @@
"neogit": { "neogit": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1713820126, "lastModified": 1714142101,
"narHash": "sha256-HornAbEtdpxSIQktJCHu8sLjXVjJJOdw4Kwa2T3NihE=", "narHash": "sha256-LgVQAwXTUr/tw92EkgTy1AlyTs2gyyYoU0ENlioeMII=",
"owner": "NeogitOrg", "owner": "NeogitOrg",
"repo": "neogit", "repo": "neogit",
"rev": "45dcbb677d3933b8671be13df872aca51fa9d0df", "rev": "df527d152d34214a3a24a577bf7ef1f121e8add2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -390,15 +390,16 @@
"pre-commit-hooks": "pre-commit-hooks" "pre-commit-hooks": "pre-commit-hooks"
}, },
"locked": { "locked": {
"lastModified": 1713939051, "lastModified": 1714124569,
"narHash": "sha256-EwDbsFjpXANXd2MIvRm4Bz2CDNWIhlV/659xOAxhEv0=", "narHash": "sha256-v8DjUedj2WB0cyeOlZtM88Xm2sfrhlgcqqoEFFr8myc=",
"owner": "nix-community", "owner": "GaetanLepage",
"repo": "nixvim", "repo": "nixvim",
"rev": "f2f97d844bb39559f3356e209b49c92900d860b8", "rev": "aa696d6fb70d7a68a010a18f844ded267cfcb80a",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "GaetanLepage",
"ref": "ast-grep",
"repo": "nixvim", "repo": "nixvim",
"type": "github" "type": "github"
} }

View File

@@ -9,8 +9,9 @@
}; };
neogit = final.pkgs.vimUtils.buildVimPlugin { neogit = final.pkgs.vimUtils.buildVimPlugin {
name = "neogit"; name = "neogit";
version = inputs.neogit.rev;
src = inputs.neogit; src = inputs.neogit;
dependencies = [final.vimPlugins.plenary-nvim]; dependencies = with final.vimPlugins; [plenary-nvim diffview-nvim fzf-lua];
}; };
# comfortable-motion = final.pkgs.vimUtils.buildVimPlugin { # comfortable-motion = final.pkgs.vimUtils.buildVimPlugin {
# name = "comfortable-motion"; # name = "comfortable-motion";

View File

@@ -218,7 +218,7 @@
{}) {})
gnumake gnumake
python3 python3
(nerdfonts.override {fonts = ["FiraCode" "Hasklig" "Symbols"];}) (nerdfonts.override {fonts = ["FiraCode" "Hasklig" "NerdFontsSymbolsOnly"];})
monaspace monaspace
]; ];
sessionVariables = { sessionVariables = {

View File

@@ -68,7 +68,12 @@
pkgs.darwin.apple_sdk.frameworks.SystemConfiguration pkgs.darwin.apple_sdk.frameworks.SystemConfiguration
pkgs.darwin.apple_sdk.frameworks.Security pkgs.darwin.apple_sdk.frameworks.Security
pkgs.darwin.apple_sdk.frameworks.CoreFoundation pkgs.darwin.apple_sdk.frameworks.CoreFoundation
]
++ pkgs.lib.optionals pkgs.stdenv.isLinux [
pkgs.openssl
]; ];
PKG_CONFIG_PATH = with final; pkgs.lib.makeSearchPath "lib/pkgconfig" [pkgs.openssl.dev];
nativeBuildINputs = with final; [pkgs.pkg-config];
}; };
picat = let picat = let
# https://github.com/SimonPersson/picat # https://github.com/SimonPersson/picat

6
server/cachix.nix Normal file
View File

@@ -0,0 +1,6 @@
{...}: {
services.cachix-agent = {
enable = true;
name = "mirai";
};
}

5
server/default.nix Normal file
View File

@@ -0,0 +1,5 @@
{...}: {
imports = [
./cachix.nix
];
}