Take out common stuff in NixOS config

This commit is contained in:
Natsu Kagami 2023-04-02 17:35:59 +02:00
parent 41fc7ddc83
commit 8d06042c9e
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
5 changed files with 278 additions and 373 deletions

View file

@ -11,7 +11,11 @@ in
# Common stuff
{ lib, pkgs, config, ... }:
with lib; {
imports = [ defaultShell ];
imports = [
defaultShell
./modules/common/linux
./modules/my-tinc
];
# swaync disable notifications on screencast
config.xdg.portal.wlr.settings.screencast = {
exec_before = ''which swaync-client && swaync-client --inhibitor-add "xdg-desktop-portal-wlr" || true'';