converted more modules

This commit is contained in:
John Lancaster
2026-03-08 11:25:07 -05:00
parent 7d4f997c18
commit 0c1e633aaa
4 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
{
flake.homeModules.vscode = { pkgs, ... }:
{
programs.vscode = {
enable = true;
package = pkgs.vscode;
profiles.default.extensions = with pkgs.vscode-extensions; [
mhutchie.git-graph
ms-vscode-remote.vscode-remote-extensionpack
ms-python.python
ms-python.vscode-pylance
ms-toolsai.jupyter
charliermarsh.ruff
github.vscode-pull-request-github
github.vscode-github-actions
github.copilot
catppuccin.catppuccin-vsc
];
};
};
}

View File

@@ -19,6 +19,17 @@
pkgs = import inputs.nixpkgs { system = "x86_64-linux"; };
modules = [
inputs.self.homeModules."john-pc-ubuntu"
# Include another inline module to set the options created through the jsl-home modules
{
homeManagerFlakeDir = "~/.config/home-manager";
docker.enable = true;
ssh.matchSets = {
certs = true;
appdaemon = true;
homelab = true;
};
}
];
};
}

12
modules/nixos/games.nix Normal file
View File

@@ -0,0 +1,12 @@
{ ... }:
{
flake.modules.nixos.games = {
programs.steam = {
enable = true;
gamescopeSession.enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
localNetworkGameTransfers.openFirewall = true;
};
};
}