38 lines
556 B
Nix
Raw Normal View History

2025-01-14 21:10:03 -05:00
# TODO: Maybe replace with https://gitlab.com/w0lff/shikane because its written in rust
2025-01-09 18:04:44 -05:00
{
config,
lib,
pkgs,
...
}:
let
exec_kanshi = pkgs.writeTextFile {
name = "exec_kanshi.conf";
text = ''
exec kanshi
'';
};
in
2025-01-09 18:04:44 -05:00
{
imports = [ ];
environment.systemPackages = with pkgs; [
kanshi
];
me.swayIncludes = [
exec_kanshi
];
2025-01-09 18:04:44 -05:00
home-manager.users.talexander =
{ pkgs, ... }:
{
home.file = {
".config/kanshi/config" = {
source = ./files/config_kanshi;
};
};
};
}