feat(home,worm): worm home for battleship
battleship will be turned into a spacestation
This commit is contained in:
@@ -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 ({
|
||||
|
||||
24
home/worm/configuration.nix
Normal file
24
home/worm/configuration.nix
Normal 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
5
home/worm/home.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{self, ...}: {
|
||||
imports = [
|
||||
self.homeManagerModules.devkit
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user