Fixed Typos

This commit is contained in:
Annika Merris 2024-05-18 18:11:13 -04:00
parent 517dd12828
commit f6cd2a6b68
3 changed files with 8 additions and 5 deletions

View file

@ -65,6 +65,7 @@ inputs.nixpkgs.lib.nixosSystem {
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
system.stateVersion = "23.11"; system.stateVersion = "23.11";
gui.enable = true;
discord.enable = true; discord.enable = true;
} }
]; ];

View file

@ -10,8 +10,8 @@
}; };
config = lib.mkIf (config.gui.enable && config.discord.enable) { config = lib.mkIf (config.gui.enable && config.discord.enable) {
home-manager.users.${config.user} = { home-manager.users.${config.user} = {
home.packages = with pkgs [ home.packages = [
discord pkgs.discord
]; ];
xdg.configFile."discord/settings.json".text = '' xdg.configFile."discord/settings.json".text = ''
{ {

View file

@ -13,9 +13,11 @@
type = lib.types.str; type = lib.types.str;
description = "Puny Hooman readable name of the user"; description = "Puny Hooman readable name of the user";
}; };
gui = lib.mkEnableOption { gui = {
description = "Enable graphics."; enable = lib.mkEnableOption {
default = false; description = "Enable graphics.";
default = false;
};
}; };
}; };
config = config =