mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-10 10:12:37 +08:00
Update nixos-flake
This commit is contained in:
parent
612e80f19a
commit
2a221733c3
3 changed files with 11 additions and 6 deletions
8
flake.lock
generated
8
flake.lock
generated
|
|
@ -709,16 +709,16 @@
|
|||
},
|
||||
"nixos-flake": {
|
||||
"locked": {
|
||||
"lastModified": 1719366064,
|
||||
"narHash": "sha256-5ivb67sqA8/jNbgrP+dgYj5b6QMaxdXGLlkD+hGXoNc=",
|
||||
"lastModified": 1719368423,
|
||||
"narHash": "sha256-uLollCs32UZuBYRFDpv0Ms5xFFsT8bIoqzvLeHSI7RA=",
|
||||
"owner": "srid",
|
||||
"repo": "nixos-flake",
|
||||
"rev": "697d91045c63fba49557e0bfd66f453a858a867f",
|
||||
"rev": "b56b1209ee65ec646bfd17a0a6249e0db798a765",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "srid",
|
||||
"ref": "activate-v2",
|
||||
"ref": "deploy",
|
||||
"repo": "nixos-flake",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
home-manager.url = "github:nix-community/home-manager";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
||||
nixos-flake.url = "github:srid/nixos-flake/activate-v2";
|
||||
nixos-flake.url = "github:srid/nixos-flake/deploy";
|
||||
disko.url = "github:nix-community/disko";
|
||||
disko.inputs.nixpkgs.follows = "nixpkgs";
|
||||
ragenix.url = "github:yaxitech/ragenix";
|
||||
|
|
@ -82,7 +82,7 @@
|
|||
programs.nixpkgs-fmt.enable = true;
|
||||
};
|
||||
|
||||
packages.default = self'.packages.activate-v2;
|
||||
packages.default = self'.packages.activate;
|
||||
|
||||
devShells.default = pkgs.mkShell {
|
||||
inputsFrom = [ config.treefmt.build.devShell ];
|
||||
|
|
|
|||
5
justfile
5
justfile
|
|
@ -6,6 +6,11 @@ default:
|
|||
activate:
|
||||
nix run
|
||||
|
||||
# Deploy host 'immediacy'
|
||||
[group('main')]
|
||||
deploy:
|
||||
nix run . host immediacy
|
||||
|
||||
# Format the nix source tree
|
||||
fmt:
|
||||
treefmt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue