From 527c96af4ed48111cfa19161fb2680b6866c2594 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Fri, 11 Dec 2020 12:11:45 +0100 Subject: Add machines folder --- modules/larbs.nix | 22 ++++++++++++++++++++++ modules/nur.nix | 9 +++++++++ 2 files changed, 31 insertions(+) create mode 100755 modules/larbs.nix create mode 100755 modules/nur.nix (limited to 'modules') diff --git a/modules/larbs.nix b/modules/larbs.nix new file mode 100755 index 0000000..89c04c0 --- /dev/null +++ b/modules/larbs.nix @@ -0,0 +1,22 @@ +{ pkgs, ... }: +let + pnvim = import ../pkgs/nvim.nix pkgs; +in +{ + environment.systemPackages = with pkgs.nur.repos.pn; [ + pnvim + larbs-mail + larbs-news + larbs-music + dmenu + dwm + dwmblocks + larbs-scripts + st + ]; + + services.xserver = { + 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; + }; + }; +} -- cgit 1.4.1