Compare commits
10 Commits
a8d41bdb79
...
200a6aa9d9
Author | SHA1 | Date |
---|---|---|
Trevor Vallender | 200a6aa9d9 | |
Trevor Vallender | 3c6f817639 | |
Trevor Vallender | 64cb9dd5fb | |
Trevor Vallender | ee2bca2a0f | |
Trevor Vallender | 8e30512a3a | |
Trevor Vallender | 01b2421098 | |
Trevor Vallender | 2196c3d2bf | |
Trevor Vallender | 11d9ebee99 | |
Trevor Vallender | 454e070d41 | |
Trevor Vallender | 13caff8b94 |
50
flake.lock
50
flake.lock
|
@ -8,11 +8,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1695327957,
|
"lastModified": 1696985954,
|
||||||
"narHash": "sha256-UsofTHPG8K7UqO0rJGHS2Ecbv+oVOYQ23Zk6SnshfOs=",
|
"narHash": "sha256-dU1lYBWHqxkvbJV3B9oPeqLL0H8FkSKEqjPie+9xPgQ=",
|
||||||
"owner": "jcdickinson",
|
"owner": "jcdickinson",
|
||||||
"repo": "codeium.nvim",
|
"repo": "codeium.nvim",
|
||||||
"rev": "b65443d114d3c3c9dcc59ecd8a7dbb3a35320607",
|
"rev": "822e762567a0bf50b1a4e733c8c93691934d7606",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -136,11 +136,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1696145345,
|
"lastModified": 1698860414,
|
||||||
"narHash": "sha256-3dM7I/d4751SLPJah0to1WBlWiyzIiuCEUwJqwBdmr4=",
|
"narHash": "sha256-ejtFTDbo7tT8j8AIQfN9g+4dlQmrUDoC3dEaw77jVcY=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "6f9b5b83ad1f470b3d11b8a9fe1d5ef68c7d0e30",
|
"rev": "fc2a8842ea5106640eb89ec522dde9120df82d8a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -154,11 +154,11 @@
|
||||||
"nixpkgs": "nixpkgs_2"
|
"nixpkgs": "nixpkgs_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1695455081,
|
"lastModified": 1698687579,
|
||||||
"narHash": "sha256-AtAMze2J5Maol28OLQoCFgppRWEy06Mn9RhduXNmhiI=",
|
"narHash": "sha256-BWqQQLhpuQolMiLMTcsc8cNlNzI9+MG/uc184IlP2nA=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "contrib",
|
"repo": "contrib",
|
||||||
"rev": "33663f663e07b4ca52c9165f74e3d793f08b15e7",
|
"rev": "bfd3e0efc1af9654808e644b157eb3c170c26fa1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -176,11 +176,11 @@
|
||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1696165790,
|
"lastModified": 1698802123,
|
||||||
"narHash": "sha256-18Yt3o3sjieqgOSjUXW8Apn6JuHLTKEJDt5k40sAf2A=",
|
"narHash": "sha256-Tpx1U6IlnD+wrSvUrBwEvwvK5D8cifIdppB9CwpVQdo=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "Hyprland",
|
"repo": "Hyprland",
|
||||||
"rev": "9ec656a37df103edc111e8e48cdfe89528dfe92e",
|
"rev": "7b32b4214d028a173c8192bddaa9e43503326080",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -320,11 +320,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1694767346,
|
"lastModified": 1698134075,
|
||||||
"narHash": "sha256-5uH27SiVFUwsTsqC5rs3kS7pBoNhtoy9QfTP9BmknGk=",
|
"narHash": "sha256-foCD+nuKzfh49bIoiCBur4+Fx1nozo+4C/6k8BYk4sg=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "ace5093e36ab1e95cb9463863491bee90d5a4183",
|
"rev": "8efd5d1e283604f75a808a20e6cde0ef313d07d4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -336,11 +336,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_4": {
|
"nixpkgs_4": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1696019113,
|
"lastModified": 1698611440,
|
||||||
"narHash": "sha256-X3+DKYWJm93DRSdC5M6K5hLqzSya9BjibtBsuARoPco=",
|
"narHash": "sha256-jPjHjrerhYDy3q9+s5EAsuhyhuknNfowY6yt6pjn9pc=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "f5892ddac112a1e9b3612c39af1b72987ee5783a",
|
"rev": "0cbe9f69c234a7700596e943bfae7ef27a31b735",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -423,18 +423,18 @@
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"host": "gitlab.freedesktop.org",
|
"host": "gitlab.freedesktop.org",
|
||||||
"lastModified": 1695919988,
|
"lastModified": 1697909146,
|
||||||
"narHash": "sha256-4RBgIZHaVqH0m1POnfzYRzwCWxifIKH4xQ0kCn2LGkA=",
|
"narHash": "sha256-jU0I6FoCKnj4zIBL4daosFWh81U1fM719Z6cae8PxSY=",
|
||||||
"owner": "wlroots",
|
"owner": "wlroots",
|
||||||
"repo": "wlroots",
|
"repo": "wlroots",
|
||||||
"rev": "c2aa7fd965cb7ee8bed24f4122b720aca8f0fc1e",
|
"rev": "47bf87ade2bd32395615a385ebde1fefbcdf79a2",
|
||||||
"type": "gitlab"
|
"type": "gitlab"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"host": "gitlab.freedesktop.org",
|
"host": "gitlab.freedesktop.org",
|
||||||
"owner": "wlroots",
|
"owner": "wlroots",
|
||||||
"repo": "wlroots",
|
"repo": "wlroots",
|
||||||
"rev": "c2aa7fd965cb7ee8bed24f4122b720aca8f0fc1e",
|
"rev": "47bf87ade2bd32395615a385ebde1fefbcdf79a2",
|
||||||
"type": "gitlab"
|
"type": "gitlab"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -454,11 +454,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1694628480,
|
"lastModified": 1697981233,
|
||||||
"narHash": "sha256-Qg9hstRw0pvjGu5hStkr2UX1D73RYcQ9Ns/KnZMIm9w=",
|
"narHash": "sha256-y8q4XUwx+gVK7i2eLjfR32lVo7TYvEslyzrmzYEaPZU=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "xdg-desktop-portal-hyprland",
|
"repo": "xdg-desktop-portal-hyprland",
|
||||||
"rev": "8f45a6435069b9e24ebd3160eda736d7a391cbf2",
|
"rev": "22e7a65ff9633e1dedfa5317fdffc49f68de2ff2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -2,6 +2,13 @@
|
||||||
{ config, pkgs, inputs, ... }:
|
{ config, pkgs, inputs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
|
virtualisation.docker = {
|
||||||
|
enable = true;
|
||||||
|
storageDriver = "btrfs";
|
||||||
|
logDriver = "json-file";
|
||||||
|
};
|
||||||
|
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
../shared/shared-configuration.nix
|
../shared/shared-configuration.nix
|
||||||
|
@ -11,6 +18,8 @@
|
||||||
../shared/services/miniflux.nix
|
../shared/services/miniflux.nix
|
||||||
../shared/services/nginx.nix
|
../shared/services/nginx.nix
|
||||||
../shared/services/radicale.nix
|
../shared/services/radicale.nix
|
||||||
|
../shared/services/redmine.nix
|
||||||
|
../shared/services/wallabag.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
|
@ -36,12 +45,6 @@
|
||||||
vim
|
vim
|
||||||
];
|
];
|
||||||
|
|
||||||
virtualisation.docker = {
|
|
||||||
enable = true;
|
|
||||||
storageDriver = "btrfs";
|
|
||||||
logDriver = "json-file";
|
|
||||||
};
|
|
||||||
|
|
||||||
users.users.kamal = {
|
users.users.kamal = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
|
|
|
@ -44,9 +44,6 @@
|
||||||
pkgs.pciutils
|
pkgs.pciutils
|
||||||
pkgs.pinentry-curses
|
pkgs.pinentry-curses
|
||||||
pkgs.pulseaudio
|
pkgs.pulseaudio
|
||||||
pkgs.xdg-desktop-portal
|
|
||||||
pkgs.xdg-desktop-portal-gtk
|
|
||||||
pkgs.xdg-desktop-portal-kde
|
|
||||||
inputs.devenv.packages.x86_64-linux.devenv
|
inputs.devenv.packages.x86_64-linux.devenv
|
||||||
pkgs.gst_all_1.gstreamer
|
pkgs.gst_all_1.gstreamer
|
||||||
pkgs.gst_all_1.gst-plugins-base
|
pkgs.gst_all_1.gst-plugins-base
|
||||||
|
@ -55,12 +52,22 @@
|
||||||
pkgs.gst_all_1.gst-plugins-ugly
|
pkgs.gst_all_1.gst-plugins-ugly
|
||||||
];
|
];
|
||||||
|
|
||||||
xdg.mime.enable = true;
|
xdg = {
|
||||||
xdg.mime.defaultApplications = {
|
mime.enable = true;
|
||||||
|
mime.defaultApplications = {
|
||||||
"text/html" = "org.qutebrowser.qutebrowser.desktop";
|
"text/html" = "org.qutebrowser.qutebrowser.desktop";
|
||||||
"x-scheme-handler/http" = "org.qutebrowser.qutebrowser.desktop";
|
"x-scheme-handler/http" = "org.qutebrowser.qutebrowser.desktop";
|
||||||
"x-scheme-handler/https" = "org.qutebrowser.qutebrowser.desktop";
|
"x-scheme-handler/https" = "org.qutebrowser.qutebrowser.desktop";
|
||||||
"x-scheme-handler/about" = "org.qutebrowser.qutebrowser.desktop";
|
"x-scheme-handler/about" = "org.qutebrowser.qutebrowser.desktop";
|
||||||
"x-scheme-handler/unknown" = "org.qutebrowser.qutebrowser.desktop";
|
"x-scheme-handler/unknown" = "org.qutebrowser.qutebrowser.desktop";
|
||||||
};
|
};
|
||||||
|
portal = {
|
||||||
|
enable = true;
|
||||||
|
extraPortals = with pkgs; [
|
||||||
|
xdg-desktop-portal-wlr
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
|
];
|
||||||
|
gtkUsePortal = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Syncthing
|
||||||
virtualHosts."syncthing.tsvallender.co.uk" = {
|
virtualHosts."syncthing.tsvallender.co.uk" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
@ -42,6 +43,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Miniflux
|
||||||
virtualHosts."feeds.tsvallender.co.uk" = {
|
virtualHosts."feeds.tsvallender.co.uk" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
@ -50,6 +52,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Radicale
|
||||||
virtualHosts."cal.tsvallender.co.uk" = {
|
virtualHosts."cal.tsvallender.co.uk" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
@ -57,6 +60,23 @@
|
||||||
proxyPass = "http://127.0.0.1:5232";
|
proxyPass = "http://127.0.0.1:5232";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Redmine
|
||||||
|
virtualHosts."redmine.tsvallender.co.uk" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://127.0.0.1:3000";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
# Wallabag
|
||||||
|
virtualHosts."wb.tsvallender.co.uk" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://127.0.0.1:8485";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
security.acme = {
|
security.acme = {
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
{ config, pkgs, inputs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.redmine = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
{ config, pkgs, inputs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
virtualisation.oci-containers.backend = "docker";
|
||||||
|
virtualisation.oci-containers.containers = {
|
||||||
|
wallabag = {
|
||||||
|
autoStart = true;
|
||||||
|
image = "wallabag/wallabag";
|
||||||
|
environment = {
|
||||||
|
SYMFONY__ENV__DOMAIN_NAME = "https://wb.tsvallender.co.uk";
|
||||||
|
};
|
||||||
|
volumes = [
|
||||||
|
"wallabag_data:/var/www/wallabag/data"
|
||||||
|
];
|
||||||
|
ports = [
|
||||||
|
"8485:80"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
|
@ -5,3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ub2Cem7efGOSb31VF+/aSPVCdHn28NlJ69jGD6ZQR1+hrfr4npOpklZyrWIJ9cvJpqXenEcc1z9F/8RFkO4EJ7UzTwx/9SGpEEfxKHKtzmGvcHwxQlVxtG9wGGvkZW5BbJkuJ19k13NMYUVwhWIhK694bZT5jMdU/6plL27KRa+IXUINICQ5i75j9/0CjxZoFdqZjUu8O2T1w1aZB7So0sIDZX02x49o2SfJeOBxKDzIPdvN2ceg9WwCb/+i73ZX9ln6eZM8C76kD0Xd2LEqX7oS1DEXN6pZIFzBuft+Eu38Xm8GRkXVeuNxvbaZ2DBo1p8pu5JyHJUULW+KQAQlX+mKkUq97xzgDQGG20Vkgx03Ftvis2ifDbfUD2wHOOx+453t/GbmmasmydqvvqRPBUWy2DbKERdjjws7jIXjlGqz8mGKQ== jon.sayer1@gmail.com
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
(menu-bar-mode -1)
|
||||||
|
(tool-bar-mode -1)
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,4 @@
|
||||||
[user]
|
[user]
|
||||||
email = trevor@foxsoft.co.uk
|
email = trevor@foxsoft.co.uk
|
||||||
|
[commit]
|
||||||
|
template = ~/fs/git_template
|
||||||
|
|
|
@ -65,6 +65,7 @@
|
||||||
home.file.".tmux.conf".source = ./tmux.conf;
|
home.file.".tmux.conf".source = ./tmux.conf;
|
||||||
home.file.".psqlrc".source = ./psqlrc;
|
home.file.".psqlrc".source = ./psqlrc;
|
||||||
home.file.".w3m/config".source = ./w3m/config;
|
home.file.".w3m/config".source = ./w3m/config;
|
||||||
|
xdg.configFile."emacs/init.el".source = ./emacs/init.el;
|
||||||
xdg.configFile."git/config".source = ./git/config;
|
xdg.configFile."git/config".source = ./git/config;
|
||||||
xdg.configFile."git/config_foxsoft".source = ./git/config_foxsoft;
|
xdg.configFile."git/config_foxsoft".source = ./git/config_foxsoft;
|
||||||
xdg.configFile."nvim/init.lua".source = ./nvim/init.lua;
|
xdg.configFile."nvim/init.lua".source = ./nvim/init.lua;
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
preload = ~/img/wallpaper/carina_nebula.jpg
|
preload = ~/img/wallpaper/carina_nebula.jpg
|
||||||
wallpaper = eDP-1,~/img/wallpaper/carina_nebula.jpg
|
preload = ~/img/wallpaper/golden_ratio.jpg
|
||||||
|
wallpaper = eDP-1,~/img/wallpaper/golden_ratio.jpg
|
||||||
wallpaper = DP-2,~/img/wallpaper/carina_nebula.jpg
|
wallpaper = DP-2,~/img/wallpaper/carina_nebula.jpg
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,54 @@ cmp.setup {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
local capabilities = require('cmp_nvim_lsp').default_capabilities()
|
local capabilities = require('cmp_nvim_lsp').default_capabilities()
|
||||||
require'lspconfig'.solargraph.setup {}
|
|
||||||
|
-- textDocument/diagnostic support until 0.10.0 is released
|
||||||
|
_timers = {}
|
||||||
|
local function setup_diagnostics(client, buffer)
|
||||||
|
if require("vim.lsp.diagnostic")._enable then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
local diagnostic_handler = function()
|
||||||
|
local params = vim.lsp.util.make_text_document_params(buffer)
|
||||||
|
client.request("textDocument/diagnostic", { textDocument = params }, function(err, result)
|
||||||
|
if err then
|
||||||
|
local err_msg = string.format("diagnostics error - %s", vim.inspect(err))
|
||||||
|
vim.lsp.log.error(err_msg)
|
||||||
|
end
|
||||||
|
local diagnostic_items = {}
|
||||||
|
if result then
|
||||||
|
diagnostic_items = result.items
|
||||||
|
end
|
||||||
|
vim.lsp.diagnostic.on_publish_diagnostics(
|
||||||
|
nil,
|
||||||
|
vim.tbl_extend("keep", params, { diagnostics = diagnostic_items }),
|
||||||
|
{ client_id = client.id }
|
||||||
|
)
|
||||||
|
end)
|
||||||
|
end
|
||||||
|
|
||||||
|
diagnostic_handler() -- to request diagnostics on buffer when first attaching
|
||||||
|
|
||||||
|
vim.api.nvim_buf_attach(buffer, false, {
|
||||||
|
on_lines = function()
|
||||||
|
if _timers[buffer] then
|
||||||
|
vim.fn.timer_stop(_timers[buffer])
|
||||||
|
end
|
||||||
|
_timers[buffer] = vim.fn.timer_start(200, diagnostic_handler)
|
||||||
|
end,
|
||||||
|
on_detach = function()
|
||||||
|
if _timers[buffer] then
|
||||||
|
vim.fn.timer_stop(_timers[buffer])
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
end
|
||||||
|
require("lspconfig").ruby_ls.setup({
|
||||||
|
on_attach = function(client, buffer)
|
||||||
|
setup_diagnostics(client, buffer)
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
-- Vimwiki
|
-- Vimwiki
|
||||||
vim.cmd([[
|
vim.cmd([[
|
||||||
|
|
|
@ -17,8 +17,10 @@
|
||||||
chromium
|
chromium
|
||||||
delta # Nice diffing pager for Git
|
delta # Nice diffing pager for Git
|
||||||
docker-compose
|
docker-compose
|
||||||
|
dogdns
|
||||||
duf
|
duf
|
||||||
dunst
|
dunst
|
||||||
|
emacs
|
||||||
ethtool
|
ethtool
|
||||||
feh
|
feh
|
||||||
firefox
|
firefox
|
||||||
|
@ -28,6 +30,7 @@
|
||||||
git-crypt
|
git-crypt
|
||||||
gnumake
|
gnumake
|
||||||
gnupg
|
gnupg
|
||||||
|
go
|
||||||
gimp
|
gimp
|
||||||
grimblast # Screenshotter by the hyprland devs
|
grimblast # Screenshotter by the hyprland devs
|
||||||
groff
|
groff
|
||||||
|
@ -57,14 +60,13 @@
|
||||||
qutebrowser
|
qutebrowser
|
||||||
ripgrep
|
ripgrep
|
||||||
rpi-imager
|
rpi-imager
|
||||||
ruby_3_1
|
ruby_3_2
|
||||||
rubyPackages_3_1.dip
|
rubyPackages_3_2.dip
|
||||||
rubyPackages_3_1.solargraph
|
rubyPackages_3_2.ruby-lsp
|
||||||
rofi-wayland
|
rofi-wayland
|
||||||
sshfs
|
sshfs
|
||||||
smartmontools # HDD health
|
smartmontools # HDD health
|
||||||
spotify
|
spotify
|
||||||
termpdfpy
|
|
||||||
texlive.combined.scheme-full
|
texlive.combined.scheme-full
|
||||||
thunderbird
|
thunderbird
|
||||||
timg
|
timg
|
||||||
|
|
|
@ -8,5 +8,6 @@
|
||||||
heroku
|
heroku
|
||||||
libreoffice
|
libreoffice
|
||||||
microsoft-edge
|
microsoft-edge
|
||||||
|
slack
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue