commit 490e7b1ea6ed2ee0a8a2f64b1cc115d81173dfd4 Author: Marty Sluijtman Date: Tue Dec 26 15:30:19 2023 +0100 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b2be92b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +result diff --git a/configuration.nix b/configuration.nix new file mode 100644 index 0000000..bb97bde --- /dev/null +++ b/configuration.nix @@ -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" + ]; + }; +} diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..a170e95 --- /dev/null +++ b/flake.lock @@ -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 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..0823e67 --- /dev/null +++ b/flake.nix @@ -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 + ]; + + }; + }; + + }; +} +