profile/usb-iso: init

This commit is contained in:
Felix Buehler 2023-04-05 23:58:42 +02:00
parent eafb6ddbb7
commit 357fed6d35
6 changed files with 19 additions and 9 deletions

1
images/installer Symbolic link
View file

@ -0,0 +1 @@
/nix/store/gsdmlcz526sacn2bn5p3fvn16xp76zw9-nixos-yubikey-22.11beta-297654.gfedcba-x86_64-linux.iso

View file

@ -18,19 +18,12 @@
vscodeExtensions = vscodeExtensions =
with vscode-extensions; [ with vscode-extensions; [
bbenoist.nix bbenoist.nix
coenraads.bracket-pair-colorizer-2
editorconfig.editorconfig editorconfig.editorconfig
mkhl.direnv mkhl.direnv
ms-azuretools.vscode-docker ms-azuretools.vscode-docker
ms-python.python ms-python.python
ms-vscode-remote.remote-ssh ms-vscode-remote.remote-ssh
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [ ] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
{
name = "remote-ssh-edit";
publisher = "ms-vscode-remote";
version = "0.47.2";
sha256 = "sha256-LxFOxkcQNCLotgZe2GKc2aGWeP9Ny1BpD1XcTqB85sI=";
}
{ {
name = "vsc-material-theme"; name = "vsc-material-theme";
publisher = "Equinusocio"; publisher = "Equinusocio";

View file

@ -20,6 +20,7 @@ in
sway.enable = true; sway.enable = true;
sync.enable = true; sync.enable = true;
update.enable = true; update.enable = true;
usb-iso.enable = true;
webcam.enable = true; webcam.enable = true;
}; };
} }

View file

@ -17,6 +17,7 @@
./sway ./sway
./sync ./sync
./update ./update
./usb-iso
./webcam ./webcam
]; ];
} }

View file

@ -38,8 +38,6 @@ in
])) ]))
# linter # linter
shellcheck shellcheck
# setup
woeusb-ng
]; ];
}; };
} }

View file

@ -0,0 +1,16 @@
{ config, lib, pkgs, ... }:
let
cfg = config.my.profiles.usb-iso;
in
{
options.my.profiles.usb-iso = with lib; {
enable = mkEnableOption "usb-iso profile";
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
ventoy-bin-full # general
woeusb-ng # windows
];
};
}