nix machine / user configurations
at terra 641 B view raw
1{ 2 config, 3 inputs, 4 secrets, 5 ... 6}: 7let 8 smosDir = "${config.home.homeDirectory}/smos"; 9in 10{ 11 imports = [ "${inputs.smos}/nix/home-manager-module.nix" ]; 12 programs.smos = { 13 enable = true; 14 notify.enable = true; 15 config = { 16 workflow-dir = smosDir + "/workflows"; 17 github.oauth-token = secrets.githubToken; 18 }; 19 }; 20 home.shellAliases = { 21 s = "smos"; 22 sin = "smos ${config.programs.smos.config.workflow-dir}/inbox.smos"; 23 sq = "smos-query"; 24 sqn = "smos-query next"; 25 sqp = "smos-query projects"; 26 sgh = "smos-github"; 27 sghi = "smos-github import"; 28 sghl = "smos-github list"; 29 }; 30}