Skip to content

Commit

Permalink
flake: migrate to flakehub
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMagee committed May 16, 2024
1 parent 046b85a commit 8f73721
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 85 deletions.
122 changes: 47 additions & 75 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 5 additions & 9 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,11 @@
};

inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
hardware.url = "github:nixos/nixos-hardware";
sops-nix = {
url = "github:mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.*.tar.gz";
hardware.url = "https://flakehub.com/f/NixOS/nixos-hardware/*.tar.gz";

home-manager = {
url = "github:nix-community/home-manager";
url = "https://flakehub.com/f/nix-community/home-manager/0.1.*.tar.gz";
inputs.nixpkgs.follows = "nixpkgs";
};

Expand All @@ -24,7 +20,7 @@
};

disko = {
url = "github:nix-community/disko";
url = "https://flakehub.com/f/nix-community/disko/*.tar.gz";
inputs.nixpkgs.follows = "nixpkgs";
};

Expand All @@ -40,7 +36,7 @@
home-manager,
deploy-rs,
disko,
vscode-server,
vscode-server, nixos-hardware,
...
}@inputs:
let
Expand Down
1 change: 0 additions & 1 deletion shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ pkgs.mkShell {
git

deploy-rs
sops
gnupg
age
];
Expand Down

0 comments on commit 8f73721

Please sign in to comment.