added comments for casual readers

This commit is contained in:
2026-11-08 17:09:59 +00:00
parent ce5062db24
commit 3b039c93ac
3 changed files with 14 additions and 1 deletions

View File

@@ -3,6 +3,11 @@
self,
...
}: {
# Desktop Attribute, brings together all things you would need for a desktop
# Segmenting like this makes it easier to have different types of machines
# Using the same config, like having a "laptop" attribute if you need different
# packages there, etc.
flake.nixosModules.desktop = moduleWithSystem ({pkgs, ...}: let
modules = with self.nixosModules; [
core
@@ -12,6 +17,7 @@
in {
imports = modules;
# Add lazygit to every desktop
environment.systemPackages = with pkgs; [
lazygit
];