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 =
|
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";
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
./sway
|
./sway
|
||||||
./sync
|
./sync
|
||||||
./update
|
./update
|
||||||
|
./usb-iso
|
||||||
./webcam
|
./webcam
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,8 +38,6 @@ in
|
||||||
]))
|
]))
|
||||||
# linter
|
# linter
|
||||||
shellcheck
|
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