From 4a7d7d85beb45b56bbfd917a079270f4cfda6b74 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Fri, 7 Jul 2023 23:09:12 +0300 Subject: [PATCH] ok i think everythings normal now --- modules/default.nix | 1 + modules/media/mopidy/default.nix | 2 -- modules/media/mpd/default.nix | 17 ----------------- modules/shell/zsh.nix | 15 --------------- 4 files changed, 1 insertion(+), 34 deletions(-) delete mode 100644 modules/media/mopidy/default.nix delete mode 100644 modules/media/mpd/default.nix delete mode 100644 modules/shell/zsh.nix diff --git a/modules/default.nix b/modules/default.nix index e69de29b..8248e080 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -0,0 +1 @@ +# TODO do this later diff --git a/modules/media/mopidy/default.nix b/modules/media/mopidy/default.nix deleted file mode 100644 index a48b7cae..00000000 --- a/modules/media/mopidy/default.nix +++ /dev/null @@ -1,2 +0,0 @@ -# TODO(sako):: Make this -{} diff --git a/modules/media/mpd/default.nix b/modules/media/mpd/default.nix deleted file mode 100644 index ad41802a..00000000 --- a/modules/media/mpd/default.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ config, pkgs, lib, ...}: -{ - services.mpd = { - enable = true; - # pipewire fix - user = "sako"; - musicDirectory = "/home/sako/music"; - extraConfig = builtins.readFile ../../../config/mpd/mpd.conf; - startWhenNeeded = true; - }; - - # systemd fix pipewire - systemd.services.mpd.environment = { - XDG_RUNTIME_DIR = "/run/user/1000"; - }; - -} diff --git a/modules/shell/zsh.nix b/modules/shell/zsh.nix deleted file mode 100644 index 0dfaec9e..00000000 --- a/modules/shell/zsh.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ options, config, lib, pkgs, ...}: -with lib; -let cfg = config.modules.shell.zsh; -in { - options.modules.shell.zsh = { - enable = mkBoolOpt false; - }; - - config = mkIf cfg.enable { - programs.zsh = { - enable = true; - promptInit = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-heme"; - }; - }; -}