moves home-manager to hostname specific configs
This commit is contained in:
12
config/home-manager/packages/workstation/default.nix
Normal file
12
config/home-manager/packages/workstation/default.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
files = builtins.removeAttrs (builtins.readDir ./.) [ "default.nix" ];
|
||||
|
||||
# Import all other .nix files as modules
|
||||
moduleFiles = builtins.map (fname: ./. + "/${fname}") (builtins.attrNames files);
|
||||
in
|
||||
{
|
||||
# Import all the package modules
|
||||
imports = moduleFiles;
|
||||
}
|
21
config/home-manager/packages/workstation/kitty.nix
Normal file
21
config/home-manager/packages/workstation/kitty.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
font = {
|
||||
name = "Hack Nerd Font";
|
||||
size = 14;
|
||||
};
|
||||
|
||||
settings = {
|
||||
dynamic_background_opacity = true;
|
||||
background_opacity = "0.95";
|
||||
background_blur = 64;
|
||||
};
|
||||
|
||||
shellIntegration.enableFishIntegration = true;
|
||||
theme = "Catppuccin-Macchiato";
|
||||
#Also available: Catppuccin-Frappe Catppuccin-Latte Catppuccin-Macchiato Catppuccin-Mocha
|
||||
# See all available kitty themes at: https://github.com/kovidgoyal/kitty-themes/blob/46d9dfe230f315a6a0c62f4687f6b3da20fd05e4/themes.json
|
||||
};
|
||||
}
|
49
config/home-manager/packages/workstation/packages.nix
Normal file
49
config/home-manager/packages/workstation/packages.nix
Normal file
@@ -0,0 +1,49 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
# GUI Applications
|
||||
## Utilities
|
||||
mission-center
|
||||
flameshot
|
||||
gnome.gnome-tweaks
|
||||
pinta
|
||||
bottles
|
||||
trayscale
|
||||
spacedrive
|
||||
|
||||
## Chat Apps
|
||||
telegram-desktop
|
||||
betterdiscordctl
|
||||
vesktop
|
||||
whatsapp-for-linux
|
||||
signal-desktop
|
||||
|
||||
## Multimedia
|
||||
spotify
|
||||
plex-media-player
|
||||
vlc
|
||||
|
||||
## Astronomy
|
||||
stellarium
|
||||
|
||||
## Games
|
||||
### Open-source games
|
||||
openra
|
||||
xonotic
|
||||
mindustry
|
||||
wesnoth
|
||||
shattered-pixel-dungeon
|
||||
|
||||
### Games launchers
|
||||
lutris
|
||||
heroic
|
||||
|
||||
### Game utilities
|
||||
protonup-qt
|
||||
protontricks
|
||||
|
||||
### Virtualization
|
||||
virt-manager
|
||||
virt-viewer
|
||||
];
|
||||
}
|
43
config/home-manager/packages/workstation/vscode.nix
Normal file
43
config/home-manager/packages/workstation/vscode.nix
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
pkgs-vscode,
|
||||
...
|
||||
}:
|
||||
{
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
package = pkgs-vscode.vscode;
|
||||
mutableExtensionsDir = true;
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
ms-azuretools.vscode-docker
|
||||
ms-vscode-remote.remote-containers
|
||||
ms-vscode-remote.remote-ssh
|
||||
ms-vscode-remote.remote-ssh-edit
|
||||
ms-vscode.makefile-tools
|
||||
ms-vsliveshare.vsliveshare
|
||||
bbenoist.nix
|
||||
aaron-bond.better-comments
|
||||
alexisvt.flutter-snippets
|
||||
bmewburn.vscode-intelephense-client
|
||||
christian-kohler.path-intellisense
|
||||
dart-code.dart-code
|
||||
dart-code.flutter
|
||||
esbenp.prettier-vscode
|
||||
foxundermoon.shell-format
|
||||
github.vscode-github-actions
|
||||
github.vscode-pull-request-github
|
||||
usernamehw.errorlens
|
||||
vincaslt.highlight-matching-tag
|
||||
vscode-icons-team.vscode-icons
|
||||
golang.go
|
||||
davidanson.vscode-markdownlint
|
||||
bbenoist.nix
|
||||
brettm12345.nixfmt-vscode
|
||||
yzhang.markdown-all-in-one
|
||||
xdebug.php-debug
|
||||
github.copilot
|
||||
github.copilot-chat
|
||||
];
|
||||
};
|
||||
}
|
9
config/home-manager/packages/workstation/zed-editor.nix
Normal file
9
config/home-manager/packages/workstation/zed-editor.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
pkgs-zed,
|
||||
...
|
||||
}:
|
||||
{
|
||||
home.packages = [ pkgs-zed.zed-editor ];
|
||||
}
|
Reference in New Issue
Block a user