didactiklabs / nixbook

Laptop NixOS Configuration
5 stars 0 forks source link

refacto: profile system #4

Closed Banh-Canh closed 4 months ago

Banh-Canh commented 4 months ago

BREAKING CHANGE:

You must rewrite your configuration.nix as follow:

args @ { config, pkgs, ... }:
let
   base = import ./base.nix (args // { inherit username hostname; });
   username = "khoa";
   hostname = "nixsus";
in base

You also must rename your profile directory as follow:

<username>-<hostname>