1
Fork 0

Add a devshell for managing the satellite

This commit is contained in:
prescientmoon 2025-05-30 03:46:58 +02:00
parent ffac1e9a3c
commit 96244c63a1
Signed by: prescientmoon
SSH key fingerprint: SHA256:WFp/cO76nbarETAoQcQXuV+0h7XJsEsOCI0UsyPIy6U
6 changed files with 27 additions and 6 deletions

2
.envrc Normal file
View file

@ -0,0 +1,2 @@
watch_file ./devshells/satellite.nix
use flake .#satellite

1
.gitignore vendored
View file

@ -6,3 +6,4 @@ README.html
*.log
.luarc.json
*.idea
!.envrc

View file

@ -1,7 +1,15 @@
# Shell for bootstrapping flake-enabled nix and home-manager
{ pkgs ? (import ./nixpkgs.nix) { }, ... }:
{
pkgs ? (import ./nixpkgs.nix) { },
...
}:
pkgs.mkShell {
# Enable experimental features without having to specify the argument
NIX_CONFIG = "experimental-features = nix-command flakes";
packages = with pkgs; [ nix home-manager git ];
packages = with pkgs; [
nix
home-manager
git
python3
];
}

View file

@ -1,4 +1,4 @@
args: {
args: rec {
haskell = import ./haskell.nix args;
lua = import ./lua.nix args;
purescript = import ./purescript.nix args;
@ -6,4 +6,6 @@ args: {
typst = import ./typst.nix args;
web = import ./web.nix args;
bootstrap = import ./bootstrap/shell.nix args;
satellite = import ./satellite.nix args;
default = satellite;
}

8
devshells/satellite.nix Normal file
View file

@ -0,0 +1,8 @@
{ pkgs, ... }:
pkgs.mkShell {
packages = with pkgs; [
just
sops
ssh-to-age
];
}

6
flake.lock generated
View file

@ -1521,11 +1521,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1745526057,
"narHash": "sha256-ITSpPDwvLBZBnPRS2bUcHY3gZSwis/uTe255QgMtTLA=",
"lastModified": 1748370509,
"narHash": "sha256-QlL8slIgc16W5UaI3w7xHQEP+Qmv/6vSNTpoZrrSlbk=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "f771eb401a46846c1aebd20552521b233dd7e18b",
"rev": "4faa5f5321320e49a78ae7848582f684d64783e9",
"type": "github"
},
"original": {