profiles: put modules into folders
This commit is contained in:
parent
b46b918295
commit
f61f11ba29
7 changed files with 6 additions and 6 deletions
19
profiles/gtk/default.nix
Normal file
19
profiles/gtk/default.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
cfg = config.my.profiles.gtk;
|
||||
in
|
||||
{
|
||||
options.my.profiles.gtk = with lib; {
|
||||
enable = mkEnableOption "bluetooth profile";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
# Allow setting GTK configuration using home-manager
|
||||
services.dbus.packages = with pkgs; [
|
||||
gnome3.dconf
|
||||
];
|
||||
|
||||
# GTK theme configuration
|
||||
my.home.gtk.enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue