flake: caveserver
This commit is contained in:
parent
20d60fabdc
commit
23b93025c3
2 changed files with 44 additions and 0 deletions
|
@ -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
36
hosts/caveserver/home.nix
Normal 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";
|
||||
}
|
Loading…
Reference in a new issue