rm -fr vm; add hm to checks

This commit is contained in:
Motiejus Jakštys 2024-02-02 22:46:03 +02:00
parent 4543c295e1
commit dd5cde36a6
2 changed files with 2 additions and 62 deletions

View File

@ -106,23 +106,12 @@
];
in
{
#nixosConfigurations.vm = nixpkgs.lib.nixosSystem {
# system = "x86_64-linux";
# modules = [
# ./hosts/vm/configuration.nix
# ./modules
# ];
# specialArgs = {inherit myData;} // inputs;
#};
nixosConfigurations = {
vno1-oh2 = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
modules = [
{nixpkgs.overlays = overlays;}
./hosts/vno1-oh2/configuration.nix
./modules
agenix.nixosModules.default
@ -157,7 +146,6 @@
modules = [
{nixpkgs.overlays = overlays;}
./hosts/fwminex/configuration.nix
./modules
./modules/profiles/desktop
@ -184,7 +172,6 @@
modules = [
{nixpkgs.overlays = overlays;}
./hosts/vno3-rp3b/configuration.nix
./modules
agenix.nixosModules.default
@ -285,9 +272,8 @@
builtins.mapAttrs (
system: deployLib:
deployLib.deployChecks self.deploy
#// self.homeConfigurations.${system}.motiejusja.activationPackage
// {
pre-commit-check = inputs.pre-commit-hooks.lib.${system}.run {
pre-commit-check = pre-commit-hooks.lib.${system}.run {
src = ./.;
hooks = {
alejandra.enable = true;
@ -295,6 +281,7 @@
statix.enable = true;
};
};
hm-module = self.homeConfigurations.${system}.motiejusja.activationPackage;
}
)
deploy-rs.lib;

View File

@ -1,47 +0,0 @@
{
pkgs,
myData,
...
}: {
mj = {
stateVersion = "23.05";
timeZone = "UTC";
base.users.passwd = {
root.initialPassword = "live";
};
};
environment = {
systemPackages = with pkgs; [
tmux
htop
];
};
services = {
nsd = {
enable = true;
interfaces = ["0.0.0.0" "::"];
zones = {
"jakstys.lt.".data = myData.jakstysLTZone;
};
};
};
networking = {
hostName = "vm";
domain = "jakstys.lt";
firewall = {
allowedTCPPorts = [53];
allowedUDPPorts = [53];
};
};
nix = {
extraOptions = ''
experimental-features = nix-command flakes
trusted-users = vm
'';
};
}