mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
profile/usb-iso: init
This commit is contained in:
parent
eafb6ddbb7
commit
357fed6d35
6 changed files with 19 additions and 9 deletions
1
images/installer
Symbolic link
1
images/installer
Symbolic link
|
@ -0,0 +1 @@
|
|||
/nix/store/gsdmlcz526sacn2bn5p3fvn16xp76zw9-nixos-yubikey-22.11beta-297654.gfedcba-x86_64-linux.iso
|
|
@ -18,19 +18,12 @@
|
|||
vscodeExtensions =
|
||||
with vscode-extensions; [
|
||||
bbenoist.nix
|
||||
coenraads.bracket-pair-colorizer-2
|
||||
editorconfig.editorconfig
|
||||
mkhl.direnv
|
||||
ms-azuretools.vscode-docker
|
||||
ms-python.python
|
||||
ms-vscode-remote.remote-ssh
|
||||
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
||||
{
|
||||
name = "remote-ssh-edit";
|
||||
publisher = "ms-vscode-remote";
|
||||
version = "0.47.2";
|
||||
sha256 = "sha256-LxFOxkcQNCLotgZe2GKc2aGWeP9Ny1BpD1XcTqB85sI=";
|
||||
}
|
||||
{
|
||||
name = "vsc-material-theme";
|
||||
publisher = "Equinusocio";
|
||||
|
|
|
@ -20,6 +20,7 @@ in
|
|||
sway.enable = true;
|
||||
sync.enable = true;
|
||||
update.enable = true;
|
||||
usb-iso.enable = true;
|
||||
webcam.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
./sway
|
||||
./sync
|
||||
./update
|
||||
./usb-iso
|
||||
./webcam
|
||||
];
|
||||
}
|
||||
|
|
|
@ -38,8 +38,6 @@ in
|
|||
]))
|
||||
# linter
|
||||
shellcheck
|
||||
# setup
|
||||
woeusb-ng
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
16
profiles/usb-iso/default.nix
Normal file
16
profiles/usb-iso/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue