mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 22:57:55 +00:00
539a798009
I revisited NixOS this week and I've rewritten my NixOS config from scratch. I must say I really like Nix flakes. For whatever reason it just clicked and I understood more programming with Nix despite my previous experience which is not good. Could be just the fact I had a break for a long time from completely using Nix (I still used it on non-NixOS distros). Eh... I still took some things from the original inspiration of this configuration so there's that.
23 lines
568 B
Nix
23 lines
568 B
Nix
{ config, options, lib, pkgs, ... }:
|
|
|
|
let
|
|
cfg = config.modules.themes.a-happy-gnome;
|
|
in
|
|
{
|
|
options.modules.theme.a-happy-gnome.enable = lib.mkEnableOption "Enables my configuration of GNOME Shell.";
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
services.xserver.enable = true;
|
|
services.xserver.displayManager.gdm.enable = true;
|
|
services.xserver.desktopManager.gnome.enable = true;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
chrome-gnome-shell
|
|
|
|
gnomeExtensions.arcmenu
|
|
gnomeExtensions.x11-gestures
|
|
gnomeExtensions.gsconnect
|
|
];
|
|
};
|
|
}
|