Initial commit

This commit is contained in:
Nox Sluijtman 2023-12-26 15:30:19 +01:00
commit 490e7b1ea6
4 changed files with 88 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
result

19
configuration.nix Normal file
View file

@ -0,0 +1,19 @@
{ pkgs, ... }:{
services.tailscale.enable = true;
environment.systemPackages = with pkgs; [
skim
vim
];
voidcruiser = {
vim.enable = true;
zsh = {
enable = true;
skim.enable = true;
};
};
users.users.root = {
openssh.authorizedKeys.keys = [
"AAAEBo5bABp32xczVJCnnuHC8E0wbuHf55BJd2XSBc9rS1/EBdpmVBpWc8sWyMDeFW7LzU"
];
};
}

43
flake.lock Normal file
View file

@ -0,0 +1,43 @@
{
"nodes": {
"nixos": {
"locked": {
"lastModified": 1703200384,
"narHash": "sha256-q5j06XOsy0qHOarsYPfZYJPWbTbc8sryRxianlEPJN0=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "0b3d618173114c64ab666f557504d6982665d328",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-23.11",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixos": "nixos",
"voidconf": "voidconf"
}
},
"voidconf": {
"locked": {
"lastModified": 1703599266,
"narHash": "sha256-qDyAbLAL0DlrV3YE01hsFApFp7YtyB38zptSScqwaAc=",
"ref": "refs/heads/main",
"rev": "fae704eb4888c1ec9b71e142ea7362e3fed83f38",
"revCount": 16,
"type": "git",
"url": "https://forge.antimattercloud.nl/Egg/voidconf"
},
"original": {
"type": "git",
"url": "https://forge.antimattercloud.nl/Egg/voidconf"
}
}
},
"root": "root",
"version": 7
}

25
flake.nix Normal file
View file

@ -0,0 +1,25 @@
{ description = "Minimal NixOS installation image";
inputs = {
nixos.url = github:nixos/nixpkgs/nixos-23.11;
voidconf.url = git+https://forge.antimattercloud.nl/Egg/voidconf;
};
outputs = { self, nixos, voidconf }: {
nixosConfigurations = {
default = nixos.lib.nixosSystem {
system = "x86_64-linux";
modules = [
"${nixos}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
voidconf.nixosModules.live
./configuration.nix
];
};
};
};
}