refactor!: multi-host setup

This commit is contained in:
2025-01-21 08:18:09 +00:00
parent b03daef66c
commit c03f3cb182
7 changed files with 46 additions and 37 deletions

View File

@@ -0,0 +1,20 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ config, lib, pkgs, meta, ... }:
{
imports = [ ../../modules/default.nix ];
wsl.enable = true;
wsl.defaultUser = "luca";
networking.hostName = meta.hostname;
programs.nix-ld.enable = true;
hm.enable = true;
environment.systemPackages = with pkgs;
config.commonPackages ++ [ asciiquarium ];
system.stateVersion = "24.05";
}