Compare commits
6 Commits
1540b22752
...
57dabe199f
Author | SHA1 | Date |
---|---|---|
Moritz Böhme | 57dabe199f | |
Moritz Böhme | a9ffa8d649 | |
Moritz Böhme | 54b73fbc64 | |
Moritz Böhme | 8d4ec90a2e | |
Moritz Böhme | c64a45ac7b | |
Moritz Böhme | 14c1cafcd8 |
|
@ -22,6 +22,7 @@
|
|||
impermanence.enable = true;
|
||||
webis.enable = true;
|
||||
};
|
||||
programs.prismlauncher.enable = true;
|
||||
services.wallpaper.enable = true;
|
||||
};
|
||||
|
||||
|
@ -30,6 +31,19 @@
|
|||
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 = {
|
||||
keyboard.qmk.enable = true;
|
||||
nvidia = {
|
||||
|
|
|
@ -45,15 +45,17 @@ in
|
|||
".cache/nvim/luac"
|
||||
".cat_installer" # eduroam
|
||||
".config/JetBrains"
|
||||
".config/Mullvad VPN/"
|
||||
".config/Nextcloud"
|
||||
".config/Signal/"
|
||||
".config/Mullvad VPN/"
|
||||
".config/calibre"
|
||||
".config/github-copilot"
|
||||
".config/kdeconnect"
|
||||
".config/keepassxc"
|
||||
".java/.userPrefs/jetbrains/"
|
||||
".local/share/JetBrains"
|
||||
".local/share/PrismLauncher/"
|
||||
".local/share/Steam/"
|
||||
".local/share/direnv"
|
||||
".local/share/nvim"
|
||||
".local/share/zoxide"
|
||||
|
|
|
@ -11,6 +11,7 @@ in
|
|||
options.my.programs.kitty.enable = mkEnableOption "kitty";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
my.terminal.package = config.home-manager.users.moritz.programs.kitty.package;
|
||||
my.shell.aliases.ssh = "TERM=xterm-256color command ssh";
|
||||
home-manager.users.moritz = {
|
||||
programs.kitty = {
|
||||
|
|
|
@ -58,6 +58,34 @@ in
|
|||
plugins.helpview.enable = true;
|
||||
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" ];
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue