feat(Justfile): cachix recipe and apply locally without ssh
This commit is contained in:
parent
349057f1c3
commit
5b6ecd0a25
8 changed files with 414 additions and 1 deletions
14
nix/os/cachix.nix
Normal file
14
nix/os/cachix.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
|
||||
# WARN: this file will get overwritten by $ cachix use <name>
|
||||
{ pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
folder = ./cachix;
|
||||
toImport = name: value: folder + ("/" + name);
|
||||
filterCaches = key: value: value == "regular" && lib.hasSuffix ".nix" key;
|
||||
imports = lib.mapAttrsToList toImport (lib.filterAttrs filterCaches (builtins.readDir folder));
|
||||
in {
|
||||
inherit imports;
|
||||
nix.binaryCaches = ["https://cache.nixos.org/"];
|
||||
}
|
||||
|
12
nix/os/cachix/nixpkgs-wayland.nix
Normal file
12
nix/os/cachix/nixpkgs-wayland.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
|
||||
{
|
||||
nix = {
|
||||
binaryCaches = [
|
||||
"https://nixpkgs-wayland.cachix.org"
|
||||
];
|
||||
binaryCachePublicKeys = [
|
||||
"nixpkgs-wayland.cachix.org-1:3lwxaILxMRkVhehr5StQprHdEo4IrE8sRho9R9HOLYA="
|
||||
];
|
||||
};
|
||||
}
|
||||
|
0
nix/os/profiles/graphical-gnome-xorg.nix
Normal file
0
nix/os/profiles/graphical-gnome-xorg.nix
Normal file
Loading…
Add table
Add a link
Reference in a new issue