Compare commits
No commits in common. "09baf8960f27ca5ced2e8a13ce51ea1973261610" and "a8467ef71323779fad9ffdd45bc91ce7f17155f6" have entirely different histories.
09baf8960f
...
a8467ef713
4 changed files with 5 additions and 48 deletions
|
|
@ -10,7 +10,6 @@
|
||||||
[
|
[
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
./profiles/hibernate-boot.nix
|
./profiles/hibernate-boot.nix
|
||||||
./profiles/devshells.nix
|
|
||||||
./profiles/samba-mount.nix
|
./profiles/samba-mount.nix
|
||||||
./profiles/wireguard.nix
|
./profiles/wireguard.nix
|
||||||
./profiles/restic-server.nix
|
./profiles/restic-server.nix
|
||||||
|
|
@ -131,7 +130,6 @@
|
||||||
"discord-ptb"
|
"discord-ptb"
|
||||||
"obsidian"
|
"obsidian"
|
||||||
"rider"
|
"rider"
|
||||||
"clion"
|
|
||||||
"idea-ultimate"
|
"idea-ultimate"
|
||||||
"android-studio-stable"
|
"android-studio-stable"
|
||||||
"krunker"
|
"krunker"
|
||||||
|
|
|
||||||
|
|
@ -121,7 +121,11 @@
|
||||||
vscodium-fhs
|
vscodium-fhs
|
||||||
android-studio
|
android-studio
|
||||||
jetbrains.rider
|
jetbrains.rider
|
||||||
jetbrains.clion
|
(pkgs.buildFHSEnv {
|
||||||
|
name = "silk-fhs";
|
||||||
|
runScript = "bash";
|
||||||
|
targetPkgs = pkgs: with pkgs; [glfw assimp];
|
||||||
|
})
|
||||||
# jetbrains.idea-ultimate
|
# jetbrains.idea-ultimate
|
||||||
|
|
||||||
# communication
|
# communication
|
||||||
|
|
|
||||||
|
|
@ -1,44 +0,0 @@
|
||||||
{
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
shells = {
|
|
||||||
silk-fhs = "with pkgs; [glfw libGL assimp wgpu-native]";
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
environment.systemPackages = [
|
|
||||||
(pkgs.writeShellApplication {
|
|
||||||
name = "runsh";
|
|
||||||
|
|
||||||
runtimeInputs = [pkgs.nix];
|
|
||||||
|
|
||||||
text = ''
|
|
||||||
${lib.concatMapAttrsStringSep "\n" (name: value: ''
|
|
||||||
runshell-${name}() {
|
|
||||||
# shellcheck disable=SC2016
|
|
||||||
nix shell --impure --expr '(import <nixpkgs> {}).buildFHSEnv {
|
|
||||||
name = "devshell";
|
|
||||||
runScript = "$SHELL";
|
|
||||||
targetPkgs = pkgs: ${value};
|
|
||||||
}' --command devshell
|
|
||||||
}
|
|
||||||
'')
|
|
||||||
shells}
|
|
||||||
if [ -z "''${1:-}" ]; then
|
|
||||||
echo "available shells:"
|
|
||||||
${lib.concatMapAttrsStringSep "\n" (name: _: "echo ${name}") shells}
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
case $1 in
|
|
||||||
${lib.concatMapAttrsStringSep "\n" (name: _: ''
|
|
||||||
"${name}") runshell-${name} ;;
|
|
||||||
'')
|
|
||||||
shells}
|
|
||||||
*) echo no such shell ;;
|
|
||||||
esac
|
|
||||||
'';
|
|
||||||
})
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
@ -14,7 +14,6 @@
|
||||||
fd # find replacement
|
fd # find replacement
|
||||||
graphviz-nox
|
graphviz-nox
|
||||||
p7zip
|
p7zip
|
||||||
zip
|
|
||||||
unar
|
unar
|
||||||
jq
|
jq
|
||||||
openssl # for generating passwords
|
openssl # for generating passwords
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue