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 a6f3ec6d1c
3 changed files with 42 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 {
@@ -179,6 +177,12 @@
./home/terminal/home.nix
];
};
"worm" = home-manager.lib.homeManagerConfiguration {
inherit pkgs pkgs-unstable;
modules = [
./home/worm/home.nix
];
};
});
nixosModules = {
@@ -203,7 +207,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 +219,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,29 @@
{
pkgs,
inputs,
self,
...
} @ args: {
imports = [
inputs.home-manager.nixosModules.default
];
# 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
];
}