Opinionated user-agnostic NixOS configuration for PCs
Find a file
2025-10-31 23:01:35 +01:00
examples wip(networking): setup using systemd-networkd 2025-10-10 18:23:14 +02:00
home wip(firefox): configure firefox profile 2025-10-10 18:23:14 +02:00
system fixup! wip(networking): setup using systemd-networkd 2025-10-31 23:01:35 +01:00
flake.lock feat: update NixOS system and deps 2025-10-10 18:23:14 +02:00
flake.nix feat: update flake inputs 2025-09-26 11:10:24 +02:00
installation-iso.nix feat: add initial configuration 2025-06-19 19:55:07 +02:00
README.md feat: add initial configuration 2025-06-19 19:55:07 +02:00

Installation

Building Image

Build an installation image and copy it to a USB stick:

$ nix build .#nixosConfigurations.installationIso.config.system.build.isoImage
$ dd if=result of=/dev/<DEVICE> bs=4M status=progress

Configuration

The flake can be used to create a new flake containing a NixOS configuration by following the following example:

{
  description = "Example configuration for a NixOS installation";

  inputs = {
    plustik-pc-setup = {
      url = "git+https://code.tecks.eu/plustik/plustik-pc-setup?ref=main";
    };
  };

  outputs = { self, plustik-pc-setup, ... }: {
    nixosConfigurations = {
      "example" = plustik-pc-setup.lib.mkNixOSConfig {
        hostPlatform = "x86_64-linux";
        systemId = "example";
        systemCustomModules = [
          ./examples/system.nix
        ];
        homeCustomModules = [
          ./examples/home.nix
        ];
      };
    };
  };
}