feat(home,worm): worm home for battleship

battleship will be turned into a spacestation
This commit is contained in:
Guz
2026-05-01 19:26:35 -03:00
parent 0a2b99bd75
commit a3b0a7e71b
3 changed files with 31 additions and 4 deletions

View File

@@ -113,9 +113,7 @@
};
modules = [
./hosts/battleship/configuration.nix
./home/terminal/configuration.nix
inputs.stylix.nixosModules.stylix
./style.nix
./home/worm/configuration.nix
];
};
"fighter" = nixpkgs.lib.nixosSystem rec {
@@ -203,7 +201,6 @@
}: {
audacity = pkgs.callPackage ./packages/audacity.nix {};
cal-sans = pkgs.callPackage ./packages/cal-sans.nix {};
neovim = inputs.neovim.packages.${pkgs.stdenv.hostPlatform.system}.default;
devkit = {
ghostty = pkgs.callPackage ./packages/devkit/ghostty.nix {
command = "${lib.getExe self.packages.${pkgs.stdenv.hostPlatform.system}.devkit.zsh}";
@@ -216,6 +213,7 @@
zsh = pkgs.callPackage ./packages/devkit/zsh {};
neovim = self.packages.${pkgs.system}.neovim;
};
neovim = inputs.neovim.packages.${pkgs.stdenv.hostPlatform.system}.default;
});
devShells = forAllSystems ({

View File

@@ -0,0 +1,24 @@
{
pkgs,
self,
...
} @ args: {
# Home Manager
home-manager = {
backupFileExtension = "bkp";
extraSpecialArgs = {inherit (args) inputs self pkgs-unstable;};
useGlobalPkgs = true;
useUserPackages = true;
users."guz" = ./home.nix;
};
# Users
users.users."guz" = {
extraGroups = ["wheel" "guz"];
isNormalUser = true;
password = "1313";
# hashedPasswordFile = builtins.toString config.sops.secrets."guz/password".path;
shell = self.packages.${pkgs.stdenv.hostPlatform.system}.devkit.zsh;
};
users.groups."guz" = {};
}

5
home/worm/home.nix Normal file
View File

@@ -0,0 +1,5 @@
{self, ...}: {
imports = [
self.homeManagerModules.devkit
];
}