moves home-manager to hostname specific configs

This commit is contained in:
2024-11-02 21:05:14 +01:00
parent 1e7baa0365
commit 7134d0c29d
27 changed files with 459 additions and 213 deletions

View 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;
}

View 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
};
}

View 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
];
}

View 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
];
};
}

View File

@@ -0,0 +1,9 @@
{
config,
pkgs,
pkgs-zed,
...
}:
{
home.packages = [ pkgs-zed.zed-editor ];
}