Remove JetBrains Toolbox from development packages, add (non-functional) Fleet configuration, and introduce Vial for keyboard setup
This commit is contained in:
parent
2a6d53d14a
commit
6bdba199c1
6 changed files with 66 additions and 26 deletions
|
@ -18,7 +18,6 @@
|
|||
logisim-evolution
|
||||
mcaselector
|
||||
prettierd
|
||||
jetbrains-toolbox
|
||||
vscode-fhs
|
||||
|
||||
# nix
|
||||
|
|
37
home/toph/common/optional/development/fleet.nix
Normal file
37
home/toph/common/optional/development/fleet.nix
Normal 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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
# extensions = with pkgs.vscode-extensions; [
|
||||
# # bbenoist.Nix
|
||||
# # brettm12345.nixfmt-vscode
|
||||
# ];
|
||||
};
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
imports = [
|
||||
## Required Configs ##
|
||||
|
@ -28,6 +28,7 @@
|
|||
bitwarden-desktop
|
||||
inspector
|
||||
wezterm
|
||||
vial # KB setup
|
||||
|
||||
## Productivity ##
|
||||
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 = {
|
||||
# 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 = {
|
||||
name = "Windows 11";
|
||||
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";
|
||||
type = "Application";
|
||||
terminal = false;
|
||||
|
|
7
hosts/common/optional/vial.nix
Normal file
7
hosts/common/optional/vial.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
# allows vial to identify the keyboard
|
||||
services.udev.packages = with pkgs; [
|
||||
via
|
||||
];
|
||||
}
|
|
@ -36,6 +36,7 @@ in
|
|||
"hosts/common/optional/libvirt.nix" # vm tools
|
||||
"hosts/common/optional/nvtop.nix" # GPU monitor (not available in home-manager)
|
||||
"hosts/common/optional/plymouth.nix" # fancy boot screen
|
||||
"hosts/common/optional/vial.nix" # KB setup
|
||||
|
||||
## Misc Inputs ##
|
||||
|
||||
|
@ -61,6 +62,7 @@ in
|
|||
};
|
||||
|
||||
## System-wide packages ##
|
||||
programs.nix-ld.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
asdf-vm
|
||||
openssh
|
||||
|
|
Loading…
Add table
Reference in a new issue