feat: set up 'stylix'
This commit is contained in:
16
home/modules/pomo.nix
Normal file
16
home/modules/pomo.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
dotsPath,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
pomoScript = builtins.readFile "${dotsPath}/.bin/pomo";
|
||||
pomoScriptNoShebang = pkgs.lib.removePrefix "#!/usr/bin/env python3\n" pomoScript;
|
||||
pomo = pkgs.writers.writePython3Bin "pomo" {
|
||||
libraries = with pkgs.python3Packages; [ plyer ];
|
||||
} pomoScriptNoShebang;
|
||||
in
|
||||
{
|
||||
home.packages = [ pomo ];
|
||||
}
|
||||
Reference in New Issue
Block a user