1
Fork 0

Self management stuff + vim.loader

This commit is contained in:
Matei Adriel 2023-09-05 20:59:37 +03:00
parent 2e8ec89ef5
commit fe3c267ca9
No known key found for this signature in database
12 changed files with 41 additions and 19 deletions

View file

@ -1,3 +1,6 @@
-- enable experimental lua loader
vim.loader.enable()
-- bootstrap from github
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"

View file

@ -198,7 +198,7 @@ return {
})
end,
event = "VeryLazy",
cond = false,
-- cond = false,
},
{
"mbbill/undotree",

View file

@ -1,3 +1,3 @@
{
imports = [ ./smos.nix ./intray.nix ];
imports = [ ./smos ./intray.nix ];
}

View file

@ -1,11 +0,0 @@
{ config, ... }: {
programs.smos = {
enable = true;
notify.enable = true;
config = { };
};
satellite.persistence.at.data.apps.smos.directories = [
config.programs.smos.workflowDir
];
}

View file

@ -0,0 +1,23 @@
{ config, ... }: {
programs.smos = {
enable = true;
notify = {
enable = true;
};
github = {
enable = true;
oauth-token-file = config.homeage.file.smos.path;
};
};
satellite.persistence.at.data.apps.smos.directories = [
config.programs.smos.workflowDir
];
homeage.file.smos = {
source = ./smos_github_oauth.age;
path = "${config.xdg.dataHome}/smos/.github_token";
};
}

View file

@ -0,0 +1,8 @@
age-encryption.org/v1
-> ssh-ed25519 UUF9JQ 8KhqQ8dEHYLDM89d+glRT9xtId2umJM2O8Vj6oWM0zY
UAZ+pzFuL+wKSFY+yG1t1U9l0knA/VpupVBr6m2/+eY
-> Q7U4ZXW4-grease S8&{':OI EQs~v%Gq zp_"?LJ* z@)Y
mmb3Yi9moBnueYa4AeMJwAA0A6lZAo9+L4zYgnxyjLBOUwQMPO/zDPmHqQ
--- HMqzE5ekHYLWxdxpC7J9NMdrfx4VJYVwwnvhq6JAtmI
c ¤ÞµŒ­ûF ;úU¶KFçtö2üÚ_†}¦èns3µ„¼oYCn…쎪8Œ‰¾0á蠦@»"Aìjµ©³QÌ`

View file

@ -116,14 +116,12 @@ let
# }}}
# {{{ Clients
neovim = wrapClient {
# REASON: nvim 9.0
base = upkgs.neovim;
base = pkgs.neovim;
name = "nvim";
};
neovide = wrapClient {
# REASON: neovide 10.0.4
base = upkgs.neovide;
base = pkgs.neovide;
name = "neovide";
extraArgs = "--set NEOVIDE_MULTIGRID true";
};

View file

@ -42,7 +42,7 @@ in
nixpkgs = {
# Add all overlays defined in the overlays directory
overlays = builtins.attrValues outputs.overlays ++ [
inputs.neovim-nightly-overlay.overlay
# inputs.neovim-nightly-overlay.overlay
];
config = {

View file

@ -13,6 +13,7 @@ in
"./hosts/nixos/common/users/adrielus_password.age".publicKeys = all_hosts ++ [ adrielus_tethys ];
# Scoped for the user
# TODO: move this into `pass`.
# TODO: perhaps move this into `pass`?.
"./home/features/desktop/wakatime/wakatime_config.age".publicKeys = [ adrielus_tethys ];
"./home/features/cli/productivity/smos/smos_github_oauth.age".publicKeys = [ adrielus_tethys ];
}