mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 03:13:38 +00:00
nix flake update: 2024-03-15 12:04:21 UTC
• Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/bd5ddf2c6bfafff031edf80221e1ee94e86ca10a' (2024-03-14) → 'github:NixOS/nixpkgs/f242fc768bdfcf91d9094a8a8f66551324bf1a47' (2024-03-15)
This commit is contained in:
6
flake.lock
generated
6
flake.lock
generated
@@ -187,11 +187,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1710408871,
|
"lastModified": 1710470187,
|
||||||
"narHash": "sha256-YpSGYZR96I8g5OK/Fdm0O4+mHLen6YPA1cPanqqNqT0=",
|
"narHash": "sha256-l2R47RqhdEUYrMrQjdFKhxtqprkJjIE89qJx3iEVv+U=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "bd5ddf2c6bfafff031edf80221e1ee94e86ca10a",
|
"rev": "f242fc768bdfcf91d9094a8a8f66551324bf1a47",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
3
justfile
3
justfile
@@ -1,6 +1,9 @@
|
|||||||
set export
|
set export
|
||||||
|
|
||||||
config := "machines/$(hostname)/configuration.nix"
|
config := "machines/$(hostname)/configuration.nix"
|
||||||
|
arch := `uname s`
|
||||||
|
|
||||||
|
cmd := if arch == "Linux" { "nixos-rebuild" } else { "darwin-rebuild" }
|
||||||
|
|
||||||
build-linux:
|
build-linux:
|
||||||
nixos-rebuild --use-remote-sudo -I nixos-config=$config switch --flake .
|
nixos-rebuild --use-remote-sudo -I nixos-config=$config switch --flake .
|
||||||
|
Reference in New Issue
Block a user