Self management stuff + vim.loader
This commit is contained in:
parent
2e8ec89ef5
commit
fe3c267ca9
|
@ -1,3 +1,6 @@
|
||||||
|
-- enable experimental lua loader
|
||||||
|
vim.loader.enable()
|
||||||
|
|
||||||
-- bootstrap from github
|
-- bootstrap from github
|
||||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||||
|
|
||||||
|
|
|
@ -198,7 +198,7 @@ return {
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
cond = false,
|
-- cond = false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"mbbill/undotree",
|
"mbbill/undotree",
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
{
|
{
|
||||||
imports = [ ./smos.nix ./intray.nix ];
|
imports = [ ./smos ./intray.nix ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
{ config, ... }: {
|
|
||||||
programs.smos = {
|
|
||||||
enable = true;
|
|
||||||
notify.enable = true;
|
|
||||||
config = { };
|
|
||||||
};
|
|
||||||
|
|
||||||
satellite.persistence.at.data.apps.smos.directories = [
|
|
||||||
config.programs.smos.workflowDir
|
|
||||||
];
|
|
||||||
}
|
|
23
home/features/cli/productivity/smos/default.nix
Normal file
23
home/features/cli/productivity/smos/default.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
|
@ -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Ì`
|
Binary file not shown.
|
@ -116,14 +116,12 @@ let
|
||||||
# }}}
|
# }}}
|
||||||
# {{{ Clients
|
# {{{ Clients
|
||||||
neovim = wrapClient {
|
neovim = wrapClient {
|
||||||
# REASON: nvim 9.0
|
base = pkgs.neovim;
|
||||||
base = upkgs.neovim;
|
|
||||||
name = "nvim";
|
name = "nvim";
|
||||||
};
|
};
|
||||||
|
|
||||||
neovide = wrapClient {
|
neovide = wrapClient {
|
||||||
# REASON: neovide 10.0.4
|
base = pkgs.neovide;
|
||||||
base = upkgs.neovide;
|
|
||||||
name = "neovide";
|
name = "neovide";
|
||||||
extraArgs = "--set NEOVIDE_MULTIGRID true";
|
extraArgs = "--set NEOVIDE_MULTIGRID true";
|
||||||
};
|
};
|
||||||
|
|
|
@ -42,7 +42,7 @@ in
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
# Add all overlays defined in the overlays directory
|
# Add all overlays defined in the overlays directory
|
||||||
overlays = builtins.attrValues outputs.overlays ++ [
|
overlays = builtins.attrValues outputs.overlays ++ [
|
||||||
inputs.neovim-nightly-overlay.overlay
|
# inputs.neovim-nightly-overlay.overlay
|
||||||
];
|
];
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -13,6 +13,7 @@ in
|
||||||
"./hosts/nixos/common/users/adrielus_password.age".publicKeys = all_hosts ++ [ adrielus_tethys ];
|
"./hosts/nixos/common/users/adrielus_password.age".publicKeys = all_hosts ++ [ adrielus_tethys ];
|
||||||
|
|
||||||
# Scoped for the user
|
# 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/desktop/wakatime/wakatime_config.age".publicKeys = [ adrielus_tethys ];
|
||||||
|
"./home/features/cli/productivity/smos/smos_github_oauth.age".publicKeys = [ adrielus_tethys ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue