diff --git a/hosts/jpporta-nixos/configuration.nix b/hosts/jpporta-nixos/configuration.nix index bcc6aa2..6c3f4c8 100644 --- a/hosts/jpporta-nixos/configuration.nix +++ b/hosts/jpporta-nixos/configuration.nix @@ -171,7 +171,6 @@ }; }; postgresql.enable = true; - redis.servers."".enable = true; # valkey/redis syncthing = { enable = true; user = "jpporta"; diff --git a/hosts/writter-deck/home.nix b/hosts/writter-deck/home.nix index 7f65f3c..459c7c7 100644 --- a/hosts/writter-deck/home.nix +++ b/hosts/writter-deck/home.nix @@ -1,7 +1,8 @@ -{ config -, pkgs -, lib -, ... +{ + config, + pkgs, + lib, + ... }: let @@ -157,11 +158,17 @@ in user = "jpporta"; serverAliveInterval = 30; }; + "pc-ts" = { + hostname = "jpporta-nixos"; + user = "jpporta"; + serverAliveInterval = 30; + }; }; }; }; services.syncthing.enable = true; + services.tailscale.enable = true; home.sessionVariables.TERMINAL = "foot"; } diff --git a/modules/home-manager/nvim/nvim/lua/plugins/obsidian.lua b/modules/home-manager/nvim/nvim/lua/plugins/obsidian.lua index 8ef4475..705bcaf 100644 --- a/modules/home-manager/nvim/nvim/lua/plugins/obsidian.lua +++ b/modules/home-manager/nvim/nvim/lua/plugins/obsidian.lua @@ -68,7 +68,7 @@ return { suffix = suffix .. string.char(math.random(65, 90)) end end - return os.date("%s", os.time()) .. suffix + return os.date("%s", os.time()) .. "-" .. suffix end, follow_url_func = function(url) vim.ui.open(url) -- need Neovim 0.10.0+ diff --git a/modules/home-manager/power-profiles/default.nix b/modules/home-manager/power-profiles/default.nix index 58baa8a..812123e 100644 --- a/modules/home-manager/power-profiles/default.nix +++ b/modules/home-manager/power-profiles/default.nix @@ -188,29 +188,6 @@ let "$text" "$tooltip" "power-profile-$cls" "power-profile-$cls" ''; - waybarStyleSnippet = pkgs.writeText "waybar-power-profile.css" '' - /* @import this at the top of your `~/.config/waybar/style.css`: - @import url("power-profile.css"); - */ - - #custom-power-profile { - min-width: 12px; - padding: 0 4px; - font-family: "BerkeleyMono Nerd Font Propo"; - } - - #custom-power-profile.caffeinated { - color: #fabd2f; - } - - #custom-power-profile.headless { - color: #83a598; - } - - #custom-power-profile.normal { - color: #ebdbb2; - } - ''; in { options.custom.power-profiles = { @@ -229,10 +206,6 @@ in # to avoid two hypridle processes fighting over the IPC socket. custom.hypridle.enable = lib.mkForce false; - # Drop the waybar snippets where the user can @include them. - xdg.configFile."waybar/power-profile.jsonc".source = waybarConfigSnippet; - xdg.configFile."waybar/power-profile.css".source = waybarStyleSnippet; - # The systemd user service that runs hypridle with the active config. # Started on graphical-session.target so it follows Hyprland's lifecycle. systemd.user.services.power-profile-hypridle = {