config: update comments

This commit is contained in:
Gabriel Arazas 2024-05-26 16:38:22 +08:00
parent 11d0426b7f
commit cd30aba3e1
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
5 changed files with 18 additions and 2 deletions

View File

@ -4,7 +4,7 @@
./packages.nix ./packages.nix
./templates.nix ./templates.nix
# The environment configurations. # Environment configurations.
./disko.nix ./disko.nix
./home-manager.nix ./home-manager.nix
./nixos.nix ./nixos.nix

View File

@ -1,3 +1,8 @@
# The declarative environment management modules. Basically the backbone of my
# flake. Most of the modules here should have some things integrated within
# each other such as the ability to easily declare home-manager users (or a
# NixVim instance) into a NixOS system from already existing declared
# home-manager users (or NixVim instances) in the flake config.
{ {
imports = [ imports = [
./disko.nix ./disko.nix

View File

@ -130,6 +130,9 @@ in
config.allowUnfree = true; config.allowUnfree = true;
}; };
# Unfortunately we cannot have NixVim with Neovim-reliant
# packages such as Neovide or something similar. It has
# to be Neovim.
neovimPackages = metadata.neovimPackages pkgs; neovimPackages = metadata.neovimPackages pkgs;
mkNixvimConfig' = neovimPkg: mkNixvimConfig' = neovimPkg:

View File

@ -85,7 +85,7 @@ in
}; };
config = lib.mkIf (lib.elem workflowName config.workflows.enable) { config = lib.mkIf (lib.elem workflowName config.workflows.enable) {
# Enable GNOME and GDM. # Enable GNOME.
services.xserver = { services.xserver = {
enable = true; enable = true;
desktopManager.gnome.enable = true; desktopManager.gnome.enable = true;
@ -113,6 +113,9 @@ in
# Bring all of the dconf keyfiles in there. # Bring all of the dconf keyfiles in there.
programs.dconf = { programs.dconf = {
enable = true; enable = true;
# In this case, we're using the default user dconf profile which is the
# fallback for every dconf-using components. Pretty handy.
profiles.user.databases = lib.singleton { profiles.user.databases = lib.singleton {
# Get them keyfiles. # Get them keyfiles.
keyfiles = [ ./config/dconf ]; keyfiles = [ ./config/dconf ];

View File

@ -10,6 +10,11 @@
description = '' description = ''
A list of workflows to be enabled. A list of workflows to be enabled.
''; '';
example = [
"a-happy-gnome"
"knome"
"horizontal-hunger"
];
}; };
imports = [ imports = [