Compare commits

..

6 commits

5 changed files with 72 additions and 1 deletions

View file

@ -22,6 +22,7 @@
impermanence.enable = true; impermanence.enable = true;
webis.enable = true; webis.enable = true;
}; };
programs.prismlauncher.enable = true;
services.wallpaper.enable = true; services.wallpaper.enable = true;
}; };
@ -30,6 +31,19 @@
stable.calibre # NOTE: breaks often in unstable stable.calibre # NOTE: breaks often in unstable
]; ];
home-manager.users.moritz.services.kanshi.settings = [
{
profile.name = "default";
profile.outputs = [
{
adaptiveSync = true;
criteria = "*";
scale = 1.2;
}
];
}
];
hardware = { hardware = {
keyboard.qmk.enable = true; keyboard.qmk.enable = true;
nvidia = { nvidia = {

View file

@ -45,15 +45,17 @@ in
".cache/nvim/luac" ".cache/nvim/luac"
".cat_installer" # eduroam ".cat_installer" # eduroam
".config/JetBrains" ".config/JetBrains"
".config/Mullvad VPN/"
".config/Nextcloud" ".config/Nextcloud"
".config/Signal/" ".config/Signal/"
".config/Mullvad VPN/"
".config/calibre" ".config/calibre"
".config/github-copilot" ".config/github-copilot"
".config/kdeconnect" ".config/kdeconnect"
".config/keepassxc" ".config/keepassxc"
".java/.userPrefs/jetbrains/" ".java/.userPrefs/jetbrains/"
".local/share/JetBrains" ".local/share/JetBrains"
".local/share/PrismLauncher/"
".local/share/Steam/"
".local/share/direnv" ".local/share/direnv"
".local/share/nvim" ".local/share/nvim"
".local/share/zoxide" ".local/share/zoxide"

View file

@ -11,6 +11,7 @@ in
options.my.programs.kitty.enable = mkEnableOption "kitty"; options.my.programs.kitty.enable = mkEnableOption "kitty";
config = mkIf cfg.enable { config = mkIf cfg.enable {
my.terminal.package = config.home-manager.users.moritz.programs.kitty.package;
my.shell.aliases.ssh = "TERM=xterm-256color command ssh"; my.shell.aliases.ssh = "TERM=xterm-256color command ssh";
home-manager.users.moritz = { home-manager.users.moritz = {
programs.kitty = { programs.kitty = {

View file

@ -58,6 +58,34 @@ in
plugins.helpview.enable = true; plugins.helpview.enable = true;
performance.combinePlugins.standalonePlugins = [ "helpview.nvim" ]; performance.combinePlugins.standalonePlugins = [ "helpview.nvim" ];
} }
{
plugins.obsidian.enable = true;
plugins.obsidian.settings = {
dir = "~/Documents/Nextcloud/Notes/zettelkasten/";
note_id_func.__raw = ''
function(title)
if title ~= nil then
return title
else
suffix = ""
for _ = 1, 4 do
suffix = suffix .. string.char(math.random(65, 90))
end
return tostring(os.date("%Y-%m-%d")) .. "-" .. suffix
end
end
'';
};
}
{
plugins.mini = {
enable = true;
modules = {
align = { };
};
};
performance.combinePlugins.standalonePlugins = [ "mini.nvim" ];
}
]; ];
}; };
} }

View file

@ -0,0 +1,26 @@
{ config
, lib
, pkgs
, ...
}:
with lib;
let
cfg = config.my.programs.prismlauncher;
prismlauncher = pkgs.runCommandNoCC "prismlauncher"
{
nativeBuildInputs = [ pkgs.makeWrapper ];
} ''
makeWrapper ${lib.getExe pkgs.prismlauncher} $out/bin/prismlauncher \
--set QT_STYLE_OVERRIDE "" \
--set QT_QPA_PLATFORMTHEME "gtk3"
'';
in
{
options.my.programs.prismlauncher.enable = mkEnableOption "prismlauncher";
config = mkIf cfg.enable {
users.users.moritz.packages = [ prismlauncher ];
};
}