diff options
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/audio.nix | 9 | ||||
-rwxr-xr-x | modules/larbs.nix | 28 | ||||
-rwxr-xr-x | modules/nur.nix | 9 |
3 files changed, 46 insertions, 0 deletions
diff --git a/modules/audio.nix b/modules/audio.nix new file mode 100755 index 0000000..2563c21 --- /dev/null +++ b/modules/audio.nix @@ -0,0 +1,9 @@ +{ pkgs, ... }: +{ + hardware.pulseaudio.enable = true; + + environment.systemPackages = with pkgs; [ + pulsemixer + pamixer + ]; +} diff --git a/modules/larbs.nix b/modules/larbs.nix new file mode 100755 index 0000000..5dcd309 --- /dev/null +++ b/modules/larbs.nix @@ -0,0 +1,28 @@ +{ pkgs, ... }: +let + pnvim = import ../pkgs/nvim.nix pkgs; +in +{ + imports = [ + ./audio.nix + ./slock.nix + ]; + + environment.systemPackages = with pkgs.nur.repos.pn; [ + pnvim + larbs-mail + larbs-news + larbs-music + dmenu + dwm + dwmblocks + larbs-scripts + st + ]; + + services.xserver = { + enable = true; + displayManager.startx.enable = true; + libinput.enable = true; + }; +} diff --git a/modules/nur.nix b/modules/nur.nix new file mode 100755 index 0000000..c8326e9 --- /dev/null +++ b/modules/nur.nix @@ -0,0 +1,9 @@ +{ + nixpkgs.config.packageOverrides = pkgs: { + nur = import (builtins.fetchTarball { + url = "https://github.com/nix-community/NUR/archive/master.tar.gz"; + }) { + inherit pkgs; + }; + }; +} |