refactor: simplify host setup

This commit is contained in:
Nickolaj Jepsen 2025-12-13 21:41:52 +01:00
parent 15fb616845
commit d1d4082d56
27 changed files with 147 additions and 90 deletions

View file

@ -1,7 +1,4 @@
{pkgs, ...}: {
fireproof.desktop.enable = true;
fireproof.work.enable = true;
fireproof.dev.enable = true;
# Enable OpenGL
hardware.graphics = {
enable = true;

19
hosts/laptop/default.nix Normal file
View file

@ -0,0 +1,19 @@
{
config = {
fireproof = {
desktop.enable = true;
work.enable = true;
dev.enable = true;
hostname = "laptop";
username = "nickolaj";
};
facter.reportPath = ./facter.json;
};
imports = [
./configuration.nix
./disk-configuration.nix
./monitors.nix
./ssh.nix
];
}