flake: caveserver

sh-initrd-on-root
Zynh Ludwig 2024-07-11 20:56:52 +00:00
parent 20d60fabdc
commit 23b93025c3
2 changed files with 44 additions and 0 deletions

View File

@ -86,5 +86,13 @@
./hosts/msiserver/home.nix
];
};
homeConfigurations."val@caveserver" = inputs.home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages."x86_64-linux";
extraSpecialArgs = { inherit inputs; };
modules = [
./hosts/caveserver/home.nix
];
};
};
}

36
hosts/caveserver/home.nix Normal file
View File

@ -0,0 +1,36 @@
{ pkgs, inputs, config, ... }:
{
imports = [
../../home/modules
];
snowhawk.neovim = {
enable = true;
package = inputs.neovim-overlay.packages.${pkgs.system}.default;
};
snowhawk.user.enable = false;
snowhawk.defaultPrograms.enable = false;
home.username = "val";
home.homeDirectory = "/home/val";
home.sessionPath = [
"${config.home.homeDirectory}/.cargo/bin"
];
home.packages = with pkgs; [
nix-output-monitor
(writeShellScriptBin "rebuild" ''
sudo nixos-rebuild switch --log-format internal-json -v |& nom --json
'')
go
rustup
];
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
home.stateVersion = "23.11";
}