mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2026-02-04 13:56:56 -05:00
Fixed Typos
This commit is contained in:
parent
517dd12828
commit
f6cd2a6b68
3 changed files with 8 additions and 5 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -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 = ''
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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 =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue