Skip to content

Commit

Permalink
nix: Remove cachix
Browse files Browse the repository at this point in the history
  • Loading branch information
juanibiapina committed May 8, 2024
1 parent 605335f commit c264800
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 51 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/babbel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ jobs:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: "accept-flake-config = true"

- uses: cachix/cachix-action@v14
with:
name: juanibiapina
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'

- name: "Build babbel configuration"
run: "nix build .#darwinConfigurations.babbel.config.system.build.toplevel"

5 changes: 0 additions & 5 deletions .github/workflows/desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ jobs:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: "accept-flake-config = true"

- uses: cachix/cachix-action@v14
with:
name: juanibiapina
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'

- name: "Build desktop configuration"
env:
NIXPKGS_ALLOW_UNFREE: 1
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/mini.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,5 @@ jobs:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: "accept-flake-config = true"

- uses: cachix/cachix-action@v14
with:
name: juanibiapina
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'

- name: "Build mini configuration"
run: "nix build .#nixosConfigurations.mini.config.system.build.toplevel"
5 changes: 0 additions & 5 deletions .github/workflows/upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ jobs:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: "accept-flake-config = true"

- uses: cachix/cachix-action@v14
with:
name: juanibiapina
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'

- name: "Update flake"
run: "nix flake update"

Expand Down
4 changes: 2 additions & 2 deletions dotfiles/nix/.config/nix/nix.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
keep-derivations = true
keep-outputs = true
experimental-features = nix-command flakes
substituters = http://mini.local:3001/ https://cache.nixos.org https://juanibiapina.cachix.org https://devenv.cachix.org https://nix-community.cachix.org
trusted-public-keys = mini.local-1:n07Ow+aJ1YbIq5s2LJTiJL91V9VsBGQK5xOP9YX+AuM= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= juanibiapina.cachix.org-1:bUZRS3Ty+eSUDlN+nMxpnvRprzgPouA19C9MjApilvo= devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
substituters = http://mini.local:3001/ https://cache.nixos.org https://devenv.cachix.org https://nix-community.cachix.org
trusted-public-keys = mini.local-1:n07Ow+aJ1YbIq5s2LJTiJL91V9VsBGQK5xOP9YX+AuM= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
11 changes: 0 additions & 11 deletions nix/cachix.nix

This file was deleted.

13 changes: 0 additions & 13 deletions nix/cachix/juanibiapina.nix

This file was deleted.

1 change: 0 additions & 1 deletion nix/hosts/desktop/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
imports =
[
./hardware-configuration.nix
../../cachix.nix
../../modules/system.nix
./packages.nix
];
Expand Down
1 change: 0 additions & 1 deletion nix/hosts/mini/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
imports =
[
./hardware-configuration.nix
../../cachix.nix
../../modules/system.nix
];

Expand Down
3 changes: 0 additions & 3 deletions nix/modules/system.nix
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,6 @@

# Shared packages for all systems
environment.systemPackages = with pkgs; [
# nix
cachix

# basic tools (mostly for my dotfiles)
(callPackage ../packages/nvim.nix {})
sub.packages."${pkgs.system}".sub
Expand Down

0 comments on commit c264800

Please sign in to comment.