38 lines
556 B
Nix
38 lines
556 B
Nix
# TODO: Maybe replace with https://gitlab.com/w0lff/shikane because its written in rust
|
|
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
let
|
|
exec_kanshi = pkgs.writeTextFile {
|
|
name = "exec_kanshi.conf";
|
|
text = ''
|
|
exec kanshi
|
|
'';
|
|
};
|
|
in
|
|
{
|
|
imports = [ ];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
kanshi
|
|
];
|
|
|
|
me.swayIncludes = [
|
|
exec_kanshi
|
|
];
|
|
|
|
home-manager.users.talexander =
|
|
{ pkgs, ... }:
|
|
{
|
|
home.file = {
|
|
".config/kanshi/config" = {
|
|
source = ./files/config_kanshi;
|
|
};
|
|
};
|
|
};
|
|
}
|