Remove JetBrains Toolbox from development packages, add (non-functional) Fleet configuration, and introduce Vial for keyboard setup

This commit is contained in:
Chris Toph 2025-03-12 13:36:59 -04:00
parent 2a6d53d14a
commit 6bdba199c1
6 changed files with 66 additions and 26 deletions

View file

@ -18,7 +18,6 @@
logisim-evolution logisim-evolution
mcaselector mcaselector
prettierd prettierd
jetbrains-toolbox
vscode-fhs vscode-fhs
# nix # nix

View file

@ -0,0 +1,37 @@
{
config,
pkgs,
lib,
...
}:
# Same idea as package itself, not working might remove
let
fleet = pkgs.callPackage ../../../../../pkgs/common/fleet/package.nix { };
in
{
home.packages = [
fleet
];
xdg.desktopEntries = {
fleet = {
name = "Fleet";
comment = "Jetbrains Fleet";
exec = "fleet %u";
icon = "${config.home.homeDirectory}/.local/share/JetBrains/Toolbox/apps/fleet/lib/Fleet.png";
type = "Application";
terminal = false;
mimeType = [
"text/plain"
"inode/directory"
"x-scheme-handler/fleet"
];
categories = [
"Development"
"IDE"
];
};
};
}

View file

@ -1,10 +0,0 @@
{ pkgs, ... }:
{
programs.vscode = {
enable = true;
# extensions = with pkgs.vscode-extensions; [
# # bbenoist.Nix
# # brettm12345.nixfmt-vscode
# ];
};
}

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: { pkgs, config, ... }:
{ {
imports = [ imports = [
## Required Configs ## ## Required Configs ##
@ -28,6 +28,7 @@
bitwarden-desktop bitwarden-desktop
inspector inspector
wezterm wezterm
vial # KB setup
## Productivity ## ## Productivity ##
gimp gimp
@ -35,24 +36,28 @@
; ;
}; };
dconf.settings = {
"org/virt-manager/virt-manager/connections" = {
autoconnect = [
"qemu:///session"
"qemu:///system"
];
uris = [
"qemu:///session"
"qemu:///system"
];
};
};
xdg.desktopEntries = { xdg.desktopEntries = {
# fleet = {
# name = "Fleet";
# comment = "Jetbrains Fleet";
# exec = "fleet %u";
# icon = "${config.home.homeDirectory}/.local/share/JetBrains/Toolbox/apps/fleet/lib/Fleet.png";
# type = "Application";
# terminal = false;
# mimeType = [
# "text/plain"
# "inode/directory"
# ];
# categories = [
# "Development"
# "IDE"
# ];
# };
win11 = { win11 = {
name = "Windows 11"; name = "Windows 11";
comment = "Windows 11 VM"; comment = "Windows 11 VM";
exec = "virt-manager --connect qemu:///system --show-domain-console win11-sys"; exec = "virt-manager --connect qemu:///session --show-domain-console win11";
icon = "windows95"; icon = "windows95";
type = "Application"; type = "Application";
terminal = false; terminal = false;

View file

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
# allows vial to identify the keyboard
services.udev.packages = with pkgs; [
via
];
}

View file

@ -36,6 +36,7 @@ in
"hosts/common/optional/libvirt.nix" # vm tools "hosts/common/optional/libvirt.nix" # vm tools
"hosts/common/optional/nvtop.nix" # GPU monitor (not available in home-manager) "hosts/common/optional/nvtop.nix" # GPU monitor (not available in home-manager)
"hosts/common/optional/plymouth.nix" # fancy boot screen "hosts/common/optional/plymouth.nix" # fancy boot screen
"hosts/common/optional/vial.nix" # KB setup
## Misc Inputs ## ## Misc Inputs ##
@ -61,6 +62,7 @@ in
}; };
## System-wide packages ## ## System-wide packages ##
programs.nix-ld.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
asdf-vm asdf-vm
openssh openssh