mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 13:39:46 +01:00
23 lines
446 B
Nix
23 lines
446 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
config = {
|
||
|
wayland.windowManager.sway = {
|
||
|
enable = true;
|
||
|
config = null;
|
||
|
systemdIntegration = false;
|
||
|
package = pkgs.sway;
|
||
|
};
|
||
|
|
||
|
nixpkgs.overlays = [ (import ./sway-overlay.nix) ];
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileExists home-files/.config/sway/config
|
||
|
assertFileContent home-files/.config/sway/config \
|
||
|
${pkgs.writeText "expected" "\n"}
|
||
|
'';
|
||
|
};
|
||
|
}
|