diff options
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/default.nix | 2 | ||||
-rw-r--r-- | profiles/desktop/default.nix | 25 | ||||
-rw-r--r-- | profiles/multimedia/default.nix | 12 |
3 files changed, 28 insertions, 11 deletions
diff --git a/profiles/default.nix b/profiles/default.nix index 8cf62de..9c0d2f9 100644 --- a/profiles/default.nix +++ b/profiles/default.nix @@ -1 +1 @@ -{ ... }: { imports = [ ./laptop ./gtk ./trusted ./wm ./desktop ]; } +{ ... }: { imports = [ ./laptop ./gtk ./trusted ./wm ./desktop ./multimedia ]; } diff --git a/profiles/desktop/default.nix b/profiles/desktop/default.nix index 0ad6e12..8ebe0da 100644 --- a/profiles/desktop/default.nix +++ b/profiles/desktop/default.nix @@ -5,15 +5,20 @@ in { enable = mkEnableOption "desktop profile"; }; config = lib.mkIf cfg.enable { - my.systems.fonts.enable = true; - my.services.gnome.enable = true; - my.programs.sway.enable = true; - my.home.emacs.enable = true; - my.home.firefox.enable = true; - my.home.terminal.program = "alacritty"; - my.home.xdg.enable = true; - my.profiles.gtk.enable = true; - my.profiles.trusted.enable = true; - my.profiles.wm.windowManager = "sway"; + my = { + systems = { fonts.enable = true; }; + services = { gnome.enable = true; }; + home = { + emacs.enable = true; + firefox.enable = true; + terminal.program = "alacritty"; + xdg.enable = true; + }; + profiles = { + gtk.enable = true; + wm.windowManager = "sway"; + }; + programs = { sway.enable = true; }; + }; }; } diff --git a/profiles/multimedia/default.nix b/profiles/multimedia/default.nix new file mode 100644 index 0000000..4c1d3fe --- /dev/null +++ b/profiles/multimedia/default.nix @@ -0,0 +1,12 @@ +{ config, lib, ... }: +let cfg = config.my.profiles.multimedia; +in { + options.my.profiles.multimedia = with lib; { + enable = mkEnableOption "multimedia profile"; + }; + config = lib.mkIf cfg.enable { + my.home.vlc.enable = true; + my.home.mpv.enable = true; + my.home.sublime-music.enable = true; + }; +} |