Restructure flake
This commit is contained in:
parent
eb80947e01
commit
0ec27dd717
4 changed files with 58 additions and 51 deletions
11
common.nix
11
common.nix
|
@ -16,10 +16,11 @@ with lib; {
|
|||
./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'';
|
||||
exec_after = ''which swaync-client && swaync-client --inhibitor-remove "xdg-desktop-portal-wlr" || true'';
|
||||
};
|
||||
|
||||
## Packages
|
||||
# Nix options
|
||||
# Always have flakes enabled!
|
||||
nix.extraOptions = ''
|
||||
experimental-features = nix-command flakes repl-flake
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue