fix!: migrate to wofi
This commit is contained in:
20
nix/modules/wofi.nix
Normal file
20
nix/modules/wofi.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.wofi = {
|
||||
enable = lib.mkEnableOption "enable wofi";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.wofi.enable {
|
||||
environment.systemPackages = with pkgs; [ wofi ];
|
||||
home-manager.users.luca = {
|
||||
xdg.configFile = {
|
||||
wofi.source = ../../custom/wofi;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user