converted more modules
This commit is contained in:
26
modules/home-manager/profiles/desktop.nix
Normal file
26
modules/home-manager/profiles/desktop.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ inputs, ... }:
|
||||
{
|
||||
flake.homeModules.desktop =
|
||||
{ pkgs, ... } :
|
||||
{
|
||||
xdg.enable = true;
|
||||
|
||||
imports = with inputs.self.homeModules; [
|
||||
rebuild
|
||||
john
|
||||
ssh
|
||||
git
|
||||
shell
|
||||
ghostty
|
||||
sops
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
flake.homeConfigurations.desktop = inputs.home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = import inputs.nixpkgs { system = "x86_64-linux"; };
|
||||
modules = with inputs.self.homeModules; [
|
||||
desktop
|
||||
];
|
||||
};
|
||||
}
|
||||
21
modules/home-manager/vscode.nix
Normal file
21
modules/home-manager/vscode.nix
Normal 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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user