From 3f7ae94d68e5569915ac4f5d804cf887a6ebbce5 Mon Sep 17 00:00:00 2001 From: adikro Date: Sat, 22 Nov 2025 02:54:08 +0100 Subject: kernel stuff and configured nixcord a bit --- flake.lock | 120 ++++++-------- home/chaotic.nix | 4 + home/home.nix | 6 +- home/programs/nixcord.nix | 186 ++++++++++++++++++--- home/wayland/niri/niri.nix | 7 +- home/wayland/waybar.nix | 354 +++++++++++++++++----------------------- hosts/desktop/configuration.nix | 9 +- 7 files changed, 378 insertions(+), 308 deletions(-) create mode 100644 home/chaotic.nix diff --git a/flake.lock b/flake.lock index 6cf751d..c206451 100644 --- a/flake.lock +++ b/flake.lock @@ -42,11 +42,11 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1762879556, - "narHash": "sha256-nJxVpP5Y9EJIP52mgCEfh/YpRiQyB9Sx6rHvgcBkwTM=", + "lastModified": 1763732354, + "narHash": "sha256-o1O5GCgdkehrvqqvwfX53TCiES8k+z9Ac1JKuIUZfwo=", "ref": "refs/heads/main", - "rev": "40c5e59c178451a172aac7a14725196a1e9e0e99", - "revCount": 1280, + "rev": "880d590d0e6e337cb96428edbedae81283ebec19", + "revCount": 1310, "type": "git", "url": "https://codeberg.org/LGFae/awww" }, @@ -85,11 +85,11 @@ "rust-overlay": "rust-overlay_2" }, "locked": { - "lastModified": 1763563060, - "narHash": "sha256-WoNrCTrsiONytvw31fvaRzwc9RcqqHv/LUyYyYflgIg=", + "lastModified": 1763732117, + "narHash": "sha256-/zBu6slgHtkuFZFJ4ReKS3NO6rdwEv4KcaYADkz6KyA=", "owner": "chaotic-cx", "repo": "nyx", - "rev": "c5bfa8ed2037abd4ca213b363065cb6f76155035", + "rev": "a34640558e83eb3ba0d52c52cb5ffd0465786e4b", "type": "github" }, "original": { @@ -400,11 +400,11 @@ ] }, "locked": { - "lastModified": 1763416652, - "narHash": "sha256-8EBEEvtzQ11LCxpQHMNEBQAGtQiCu/pqP9zSovDSbNM=", + "lastModified": 1763748372, + "narHash": "sha256-AUc78Qv3sWir0hvbmfXoZ7Jzq9VVL97l+sP9Jgms+JU=", "owner": "nix-community", "repo": "home-manager", - "rev": "ea164b7c9ccdc2321379c2ff78fd4317b4c41312", + "rev": "d10a9b16b2a3ee28433f3d1c603f4e9f1fecb8e1", "type": "github" }, "original": { @@ -489,11 +489,11 @@ "xdph": "xdph" }, "locked": { - "lastModified": 1763540034, - "narHash": "sha256-TogNk567BTZib1XiYheW04ELxNB2bhee6G4SgphRqmA=", + "lastModified": 1763750925, + "narHash": "sha256-Q5IO8VKW2fFHb6Ix6auy6SEMA6NS6pNeuefBai4+PHY=", "owner": "hyprwm", "repo": "Hyprland", - "rev": "fbb31503f1b69402eeda81ba75a547c862c88bf2", + "rev": "abb2f7ee6fc99c31b6fac05568f29c92b59565df", "type": "github" }, "original": { @@ -794,11 +794,11 @@ ] }, "locked": { - "lastModified": 1763510802, - "narHash": "sha256-MaR0+mpphY8DsqzpH5Y4tcpSLIsnVEawJRH+YG3ExRo=", + "lastModified": 1763683496, + "narHash": "sha256-k20voxbsi+899PeXlvWpKU5tcgNYfNqC52rgrh+MOto=", "owner": "nix-community", "repo": "neovim-nightly-overlay", - "rev": "77969d62c0e51339b85c71aa729e6e885da522fd", + "rev": "1ddc8e956c8165df29735202b76bb0cfa827916d", "type": "github" }, "original": { @@ -810,11 +810,11 @@ "neovim-src": { "flake": false, "locked": { - "lastModified": 1763508620, - "narHash": "sha256-xRbxc8MzAKZCAfxbIcit9Lrlrp2SaTjNoNtmz0NxxlE=", + "lastModified": 1763682595, + "narHash": "sha256-/dUf5I0DyLvPgFzjJj0/lUHKZ2M1sVlbYCgudDabxIo=", "owner": "neovim", "repo": "neovim", - "rev": "93526754a9e98a835d58e8ee7ba87d8410c064cf", + "rev": "a8b9660ca3452a27b68bf914f618df2d78b64180", "type": "github" }, "original": { @@ -835,11 +835,11 @@ "xwayland-satellite-unstable": "xwayland-satellite-unstable" }, "locked": { - "lastModified": 1763538184, - "narHash": "sha256-6umNY06L6ZUjinthjVZIwyWyAjxOXSPhXfY0U1CVTWw=", + "lastModified": 1763739228, + "narHash": "sha256-taQ7h8kkyigrdiAHilUXOZiqdT/cCYcpxQentuH+Krc=", "owner": "sodiboo", "repo": "niri-flake", - "rev": "85a16f400641eed912431efcec16f12e2100d46a", + "rev": "4708ce5f7d7c7aec103e22c87c11a711eeafd1fa", "type": "github" }, "original": { @@ -868,11 +868,11 @@ "niri-unstable": { "flake": false, "locked": { - "lastModified": 1763531615, - "narHash": "sha256-cMi8tz+0+gWtlYqVnyMv7phOeQ0/4WmzZ/lxCyraUVw=", + "lastModified": 1763729389, + "narHash": "sha256-VcToDv3/lw3q3sVIqQsMUhSGKEVdQM4h6rnr/XhPBwM=", "owner": "YaLTeR", "repo": "niri", - "rev": "c722634c269ae97a5ea185691bcd0b8c73a600e5", + "rev": "012700dd549a79c501bcab92839e5dcc46c372b5", "type": "github" }, "original": { @@ -913,11 +913,11 @@ ] }, "locked": { - "lastModified": 1763223362, - "narHash": "sha256-iH+tM4MmtYMfWuWoo6KIc7Al+zQL13f3ScJloqSKyAs=", + "lastModified": 1763740867, + "narHash": "sha256-93safrqdU7Vo7LKoxVPbZ+ksUVTYzDcIFG0EaEWb3eU=", "owner": "KaylorBen", "repo": "nixcord", - "rev": "35c173408a25cae1c5af23b9d4fd80a181a395d4", + "rev": "ce6a071ea0439fbef6588e77e7d4e7e594c41f8c", "type": "github" }, "original": { @@ -959,11 +959,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1763334038, - "narHash": "sha256-LBVOyaH6NFzQ3X/c6vfMZ9k4SV2ofhpxeL9YnhHNJQQ=", + "lastModified": 1763622513, + "narHash": "sha256-1jQnuyu82FpiSxowrF/iFK6Toh9BYprfDqfs4BB+19M=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "4c8cdd5b1a630e8f72c9dd9bf582b1afb3127d2c", + "rev": "c58bc7f5459328e4afac201c5c4feb7c818d604b", "type": "github" }, "original": { @@ -975,11 +975,11 @@ }, "nixpkgs-stable_2": { "locked": { - "lastModified": 1763334038, - "narHash": "sha256-LBVOyaH6NFzQ3X/c6vfMZ9k4SV2ofhpxeL9YnhHNJQQ=", + "lastModified": 1763622513, + "narHash": "sha256-1jQnuyu82FpiSxowrF/iFK6Toh9BYprfDqfs4BB+19M=", "owner": "nixos", "repo": "nixpkgs", - "rev": "4c8cdd5b1a630e8f72c9dd9bf582b1afb3127d2c", + "rev": "c58bc7f5459328e4afac201c5c4feb7c818d604b", "type": "github" }, "original": { @@ -1031,11 +1031,11 @@ "systems": "systems_4" }, "locked": { - "lastModified": 1763565747, - "narHash": "sha256-FgCL7pEFgZjaYoiDbY+f9fAwHqgVNSZEkcLUvTnhwHw=", + "lastModified": 1763729894, + "narHash": "sha256-hTWn0Z/BM5wzrnzY3RVNyXbguJBFGksatRtQvjCOqM8=", "owner": "nix-community", "repo": "nixvim", - "rev": "82bc02466cccb7594aef296aea128b9b59621efe", + "rev": "e13ceae64fbdf1475ee71d4170dcd2869e17cfff", "type": "github" }, "original": { @@ -1048,15 +1048,14 @@ "inputs": { "nixpkgs": [ "nixpkgs" - ], - "systems": "systems_5" + ] }, "locked": { - "lastModified": 1763571579, - "narHash": "sha256-xNfyFl+yVdxeVBcYrCFS88wyn8ynAwbBk8tIz86Sm+s=", + "lastModified": 1763761248, + "narHash": "sha256-JNeTe1wnCjuLXaK88ilcNsPpbZmyU74DW40XylFrO24=", "owner": "noctalia-dev", "repo": "noctalia-shell", - "rev": "4d45b330b030409e6658199b4ae544f654247ade", + "rev": "1bf54de99c9577959941ef1a55f1442bce04ba35", "type": "github" }, "original": { @@ -1096,7 +1095,7 @@ "nixpkgs": [ "nixpkgs" ], - "systems": "systems_6" + "systems": "systems_5" }, "locked": { "lastModified": 1762622004, @@ -1143,11 +1142,11 @@ ] }, "locked": { - "lastModified": 1763413855, - "narHash": "sha256-2nQUqyTLvFxQ7zClFblWtB2aqPwHAuVZAnZ4AgXtkXo=", + "lastModified": 1763746483, + "narHash": "sha256-imwqPa2Tz+rg8InZTD/k88eQuCjIyXX0ftfJkSEU8jM=", "owner": "PrismLauncher", "repo": "PrismLauncher", - "rev": "4c437a839cb66e59a6dc63d759bd412e6d9e31e3", + "rev": "3ba24f3f0955c44feafd267e4abc62ac5950a4ef", "type": "github" }, "original": { @@ -1268,11 +1267,11 @@ "rust-overlay": "rust-overlay_4" }, "locked": { - "lastModified": 1763185597, - "narHash": "sha256-pyGoCuv3Dn1QCKs3jQ7ZJfC1kiuAtMBKJDWDGUO/5/Q=", + "lastModified": 1763760407, + "narHash": "sha256-LW3wnJT4/Sy9nWVe/kd4b/Lej9YT8De9078PiljR8QU=", "owner": "gabm", "repo": "Satty", - "rev": "e9b0ecd4fc1ae8893c6c5078c0325e3848f00733", + "rev": "2877a3b5c34aaded7792ea55cdc8efc480fd53f8", "type": "github" }, "original": { @@ -1286,7 +1285,7 @@ "nixpkgs": [ "nixpkgs" ], - "systems": "systems_7" + "systems": "systems_6" }, "locked": { "lastModified": 1763267524, @@ -1392,21 +1391,6 @@ "type": "github" } }, - "systems_7": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, "waybar": { "inputs": { "flake-compat": "flake-compat_5", @@ -1489,11 +1473,11 @@ "xwayland-satellite-unstable": { "flake": false, "locked": { - "lastModified": 1762747449, - "narHash": "sha256-Z1TKiux8K09a93w4PFDFsj8HFugXNy3iCC3Z8MpR5Rk=", + "lastModified": 1763704521, + "narHash": "sha256-ceYEV6PnvUN8Zixao4gpPuN+VT3B0SlAXKuPNHZhqUY=", "owner": "Supreeeme", "repo": "xwayland-satellite", - "rev": "6338574bc5c036487486acde264f38f39ea15fad", + "rev": "f379ff5722a821212eb59ada9cf8e51cb3654aad", "type": "github" }, "original": { diff --git a/home/chaotic.nix b/home/chaotic.nix new file mode 100644 index 0000000..0d5764e --- /dev/null +++ b/home/chaotic.nix @@ -0,0 +1,4 @@ +{ inputs, pkgs, ... }: +{ + +} diff --git a/home/home.nix b/home/home.nix index 43ac67c..afa9053 100644 --- a/home/home.nix +++ b/home/home.nix @@ -30,8 +30,8 @@ slurp satty + kdePackages.kdenlive brave - # winboat ripgrep nix-index qbittorrent-enhanced @@ -39,9 +39,10 @@ foot wofi inputs.prismlauncher.packages.${pkgs.stdenv.hostPlatform.system}.prismlauncher + # prismlauncher inputs.awww.packages.${pkgs.stdenv.hostPlatform.system}.awww bitwarden-desktop - yt-dlp-light + yt-dlp_git ffmpeg mpv gimp @@ -49,6 +50,7 @@ obs-studio mako thunderbird + nautilus xfce.thunar xfce.thunar-archive-plugin xfce.thunar-volman diff --git a/home/programs/nixcord.nix b/home/programs/nixcord.nix index f80b0b9..2e825e3 100644 --- a/home/programs/nixcord.nix +++ b/home/programs/nixcord.nix @@ -3,24 +3,55 @@ imports = [ inputs.nixcord.homeModules.nixcord ]; programs.nixcord = { enable = true; - discord.enable = false; - vesktop = { + discord = { enable = true; + vencord.enable = false; + equicord.enable = true; autoscroll.enable = true; + openASAR.enable = true; + settings = { + MINIMIZE_TO_TRAY = false; + OPEN_ON_STARTUP = false; + ANIMATE_AVATARS = false; + }; }; config = { frameless = true; - autoUpdate = true; transparent = true; - plugins = { - alwaysExpandRoles.enable = true; + allCallTimers.enable = true; + altKrispSwitch.enable = true; + alwaysExpandRoles = { + enable = true; + hideArrow = true; + }; + alwaysTrust = { + enable = true; + domain = false; + }; + amITyping.enable = true; + anammox.enable = true; + arRpcBun.enable = true; + autoDndWhilePlaying = { + enable = true; + excludeInvisible = true; + }; + betterActivities.enable = true; + betterAudioPlayer.enable = true; betterGifAltText.enable = true; betterGifPicker.enable = true; + betterInvites.enable = true; betterNotesBox = { enable = true; hide = true; }; + betterPlusReacts.enable = true; + betterQuickReact = { + enable = true; + columns = 6.0; + rows = 1.0; + compactMode = true; + }; betterRoleContext.enable = true; betterSettings = { enable = true; @@ -28,52 +59,125 @@ }; betterUploadButton.enable = true; biggerStreamPreview.enable = true; + bypassStatus = { + enable = true; + guilds = "1361802769576624278"; + users = "281482570456367104"; + }; callTimer.enable = true; + # channelTabs.enable = true; + characterCounter = { + enable = true; + colorEffects = false; + }; + cleanChannelName.enable = true; + cleanUserArea.enable = true; + clearUrLs.enable = true; + clientSideBlock.enable = true; + commandPalette.enable = true; copyFileContents.enable = true; + copyStickerLinks.enable = true; + crashHandler.enable = true; + customTimestamps.enable = true; + decodeBase64.enable = true; disableCallIdle.enable = true; + disableDeepLinks.enable = true; + dontFilterMe.enable = true; dontRoundMyTimestamps.enable = true; + equicordHelper = { + enable = true; + noMirroredCamera = true; + }; + equicordToolbox.enable = true; + exportMessages = { + enable = true; + openFileAfterExport = false; + }; expressionCloner.enable = true; + fakeNitro = { + enable = true; + enableEmojiBypass = false; + enableStickerBypass = false; + }; favoriteEmojiFirst.enable = true; + fixCodeblockGap.enable = true; + fixFileExtensions.enable = true; + fixImagesQuality.enable = true; fixSpotifyEmbeds.enable = true; fixYoutubeEmbeds.enable = true; + followVoiceUser.enable = true; forceOwnerCrown.enable = true; friendsSince.enable = true; fullSearchContext.enable = true; fullUserInChatbox.enable = true; + fullVcpfp.enable = true; + gameActivityToggle.enable = true; + gifCollections = { + enable = true; + preventDuplicates = true; + showCopyImageLink = true; + }; + gifRoulette = { + enable = true; + pingOwnerChance = true; + }; + gitHubRepos.enable = true; + hideServers.enable = true; + holyNotes.enable = true; + homeTyping.enable = true; iLoveSpam.enable = true; imageFilename.enable = true; imageLink.enable = true; imageZoom = { enable = true; + nearestNeighbour = true; saveZoomValues = true; square = true; }; + imgToGif.enable = true; + inRole.enable = true; + inviteDefaults.enable = true; + jumpTo.enable = true; memberCount.enable = true; - mentionAvatars.enable = true; - messageClickActions.enable = true; + mentionAvatars = { + enable = true; + showAtSymbol = true; + }; messageLinkEmbeds.enable = true; messageLogger = { enable = true; ignoreSelf = true; }; moyai.enable = true; + musicControls.enable = true; mutualGroupDMs.enable = true; + neverPausePreviews.enable = true; newGuildSettings = { enable = true; - messages = "only@Mentions"; + messages = 1; }; - noDevtoolsWarning.enable = true; + newPluginsManager.enable = true; + noDevtoolsWarning.enable = true; noF1.enable = true; + noMaskedUrlPaste.enable = true; + noModalAnimation.enable = true; + noNitroUpsell.enable = true; + noOnboarding.enable = true; noMosaic.enable = true; - # noPendingCount = { - # enable = true; - # hideFriendRequestsCount = false; - # hideMessageRequestCount = false; - # }; + noPendingCount = { + enable = true; + hideFriendRequestsCount = false; + hideMessageRequestsCount = false; + }; noProfileThemes.enable = true; - noTrack.enable = true; + noRoleHeaders.enable = true; noTypingAnimation.enable = true; - onePingPerDM.enable = true; + notificationTitle.enable = true; + overrideForumDefaults = { + enable = true; + defaultLayout = 2; + }; + onePingPerDm.enable = true; openInApp.enable = true; pauseInvitesForever.enable = true; permissionFreeWill = { @@ -83,53 +187,81 @@ permissionsViewer.enable = true; pinDMs = { enable = true; - dmSectioncollapsed = true; + canCollapseDmSection = true; }; + pinIcon.enable = true; platformIndicators.enable = true; + platformSpoofer = { + enable = true; + platform = "playstation"; + }; + quoter.enable = true; relationshipNotifier.enable = true; + replyPingControl.enable = true; + reverseImageSearch.enable = true; roleColorEverywhere.enable = true; + saveFavoriteGiFs.enable = true; sendTimestamps.enable = true; serverInfo.enable = true; - settings.enable = false; + serverSearch.enable = true; + showAllMessageButtons.enable = true; showConnections.enable = true; showHiddenChannels.enable = true; showHiddenThings.enable = true; showTimeoutDuration.enable = true; - sortFriendRequests = { + soggy = { enable = true; - showDates = true; + imageLink = "https://codeberg.org/adikro/wallpapers/raw/branch/main/kirkinator.gif"; + songLink = "https://video.twimg.com/amplify_video/1976076971651268608/vid/avc1/1080x720/KGLQcBQQDvLZUGKI.mp4?tag=21"; }; - spotifyControls = { + songLink.enable = true; + sortFriendRequests = { enable = true; - useSpotifyUris = true; + showDates = true; }; + soundBoardLogger.enable = true; + splitLargeMessages.enable = true; spotifyCrack = { enable = true; noSpotifyAutoPause = false; }; - typingIndicator = { + timezones = { enable = true; - includeBlockedUsers = true; + _24hTime = true; + # setDatabaseTimezone = { }; + showMessageHeaderTime = false; + showOwnTimezone = false; }; + typingIndicator.enable = true; typingTweaks.enable = true; unindent.enable = true; + universalMention = { + enable = true; + globalMention = true; + }; + unlimitedAccounts.enable = true; unlockedAvatarZoom.enable = true; userVoiceShow.enable = true; validReply.enable = true; validUser.enable = true; - vencordToolbox.enable = true; + vcPanelSettings.enable = true; viewIcons = { enable = true; format = "png"; }; + voiceChannelLog = { + enable = true; + }; + voiceChatUtilities.enable = true; voiceDownload.enable = true; + voiceJoinMessages.enable = true; voiceMessages.enable = true; volumeBooster.enable = true; - webScreenShareFixes.enable = true; whoReacted.enable = true; + whosWatching.enable = true; youtubeAdblock.enable = true; + youtubeDescription.enable = true; }; }; - quickCss = builtins.readFile ./theme.css; }; } diff --git a/home/wayland/niri/niri.nix b/home/wayland/niri/niri.nix index e57a72f..9a3d85e 100644 --- a/home/wayland/niri/niri.nix +++ b/home/wayland/niri/niri.nix @@ -10,11 +10,11 @@ accel-profile = "flat"; accel-speed = -0.6; middle-emulation = true; - scroll-factor = 1.75; + scroll-factor = 1.5; }; focus-follows-mouse = { enable = true; - max-scroll-amount = "15%"; + max-scroll-amount = "10%"; }; mod-key = "Alt"; keyboard = { @@ -38,7 +38,7 @@ }; cursor = { hide-when-typing = true; - size = 16; + size = 8; # theme = ""; }; layout = { @@ -68,6 +68,7 @@ }; spawn-at-startup = [ { command = [ "${lib.getExe pkgs.xwayland-satellite}" ]; } + { command = [ "swaybg" "--image" "/media/pics/wallpapers/kita6.png" ]; } ]; }; } diff --git a/home/wayland/waybar.nix b/home/wayland/waybar.nix index ea0ccb4..17a2f46 100644 --- a/home/wayland/waybar.nix +++ b/home/wayland/waybar.nix @@ -1,211 +1,151 @@ -{config, ...}: { +{ lib, pkgs, ... }: +{ programs.waybar = { enable = true; - settings = { - mainBar = { - layer = "top"; - position = "top"; -# margin-top = 8; -# margin-bottom = 80; -# margin-left = 8; - reload_style_on_change = true; - modules-left = ["hyprland/workspaces"]; - modules-center = ["clock#date" "clock#time"]; - modules-right = ["pulseaudio/slider" "pulseaudio#percentage"]; - "hyprland/workspaces" = { - on-click = "activate"; - format = "{icon}"; - format-icons = { - "1" = "1"; - "2" = "2"; - "3" = "3"; - "4" = "4"; - "5" = "5"; - }; - persistent-workspaces = { - "*" = 5; - }; - }; - "clock#date" = { - format = "{:%a %B %d}"; - tooltip-format = "{:%Y %B}\n{calendar}"; -# rotate = 270; - }; - "clock#time" = { - format = "{:%I:%M}"; - }; - "pulseaudio" = { - format = "{icon}"; - format-bluetooth = "{icon}"; - format-muted = ""; - format-icons = { - headphones = ""; - default = [""]; - }; - scroll-step = 1; - on-click = "pavucontrol"; - }; - "pulseaudio#percentage" = { - on-click = "pactl set-sink-mute @DEFAULT_SINK@ toggle"; - format = "{volume}%"; - }; - "pulseaudio/slider" = { - min = 0; - max = 100; - orientation = "vertical"; - }; - }; - }; - /* - style = '' - @define-color mainbg #${config.colorScheme.palette.base00}; - @define-color modulesbg #${config.colorScheme.palette.base01}; - @define-color text #${config.colorScheme.palette.base05}; - @define-color alttext1 #${config.colorScheme.palette.base0C}; - @define-color alttext2 #${config.colorScheme.palette.base05}; - @define-color border #${config.colorScheme.palette.base0E}; - @define-color empty #${config.colorScheme.palette.base02}; - @define-color persistent #${config.colorScheme.palette.base04}; - @define-color hover #${config.colorScheme.palette.base09}; - @define-color white #${config.colorScheme.palette.base05}; - @define-color red #${config.colorScheme.palette.base08}; - @define-color orange #${config.colorScheme.palette.base09}; - @define-color yellow #${config.colorScheme.palette.base0A}; - @define-color green #${config.colorScheme.palette.base0B}; - - * { - all: initial; - font-family:'JetBrainsMono Nerd Font'; - padding-left: 1px; - padding-right: 1px; - } - - window#waybar { - background: @mainbg; - border: 1px solid @border; - border-radius: 5px; - } - - tooltip { - background: #${config.colorScheme.palette.base03}; - border: 2px solid #${config.colorScheme.palette.base0C}; - border-radius: 5px; - font-size: 12pt; - } - - tooltip label { - padding: 10px; - } - - #workspaces { - margin: 10px 0px; - background: @modulesbg; - font-size: 12pt; - padding: 20px 0px; - border-top:3px solid @border; - border-top-left-radius: 50px; - border-top-right-radius: 5px; - border-bottom: 3px solid @border; - border-bottom-right-radius: 50px; - border-bottom-left-radius: 5px; - } - - #workspaces button { - font-size: 18pt; - padding: 2px; - margin: 5px 6px; - border-radius: 10px; - } - - #workspaces button.persistent { - background-color: @persistent; - } - - #workspaces button.empty { - background-color: @empty; - } - - #workspaces button.visible { - background-color: @empty; - } - - #workspaces button.active { - background-color: @green; - } - - #workspaces button.urgent { - background-color: @red; - } - - #workspaces button:hover { - background-color: @hover; - } - - #pulseaudio, #clock, #clock.date, #clock.time { - background: @modulesbg; - } - - #pulseaudio { - padding: 1px 5px 1px 5px; - color: @text; - font-size: 16px; - } - - #clock.date { - padding: 30px 5px 10px 5px; - font-size: 14px; - color: @alttext2; - border-top:3px solid @border; - border-top-left-radius: 50px; - border-top-right-radius: 5px; - } - - #clock.time { - padding: 10px 5px 30px 5px; - font-size: 14px; - color: @alttext1; - border-bottom: 3px solid @border; - border-bottom-left-radius: 5px; - border-bottom-right-radius: 50px; - } - - #pulseaudio-slider, #pulseaudio.percentage { - background-color: @modulesbg; - } - - #pulseaudio-slider { - padding: 15px 0px 5px 0px; - border-top: 3px solid @border; - border-top-left-radius: 50px; - border-top-right-radius: 5px; - } - #pulseaudio-slider slider { - min-height: 0px; - min-width: 1px; - opacity: 0; - background-image: none; - border: none; - box-shadow: none; - } - #pulseaudio-slider trough { - min-height: 70px; - min-width: 0px; - border-radius: 5px; - background-color: @border; - } - #pulseaudio-slider highlight { - min-width: 10px; - border-radius: 5px; - background-color: @white; - } - - #pulseaudio.percentage { - font-size: 12px; - margin: 0px 0px; - padding: 2px 5px; - color: @text; - } - ''; - */ + # settings = [ + # { + # layer = "top"; + # position = "top"; + # + # modules-center = [ "niri/workspaces" ]; + # modules-right = [ + # "idle_inhibitor" + # "pulseaudio" + # "disk" + # "battery" + # "custom/notification" + # "tray" + # "clock" + # ]; + # + # "niri/workspaces" = { + # format = "{icon} {value}"; + # format-icons = { + # active = ""; + # default = ""; + # }; + # }; + # + # "niri/window" = { + # icon = true; + # }; + # + # "pulseaudio" = { + # format = "{icon}"; + # format-bluetooth = "{icon} "; + # format-muted = "󰝟"; + # format-icons = { + # headphone = ""; + # default = [ + # "" + # "" + # ]; + # }; + # scroll-step = 1; + # on-click = "${lib.getExe pkgs.pwvucontrol}"; + # }; + # + # clock = { + # format = "{:%H:%M}  "; + # format-alt = "{:%A; %B %d, %Y (%R)}  "; + # tooltip-format = "{calendar}"; + # calendar = { + # mode = "year"; + # mode-mon-col = 3; + # weeks-pos = "right"; + # on-scroll = 1; + # on-click-right = "mode"; + # format = { + # months = "{}"; + # days = "{}"; + # weeks = "W{}"; + # weekdays = "{}"; + # today = "{}"; + # }; + # }; + # actions = { + # on-click-right = "mode"; + # on-click-forward = "tz_up"; + # on-click-backward = "tz_down"; + # on-scroll-up = "shift_up"; + # on-scroll-down = "shift_down"; + # }; + # }; + # + # battery = { + # format = "{icon}"; + # + # format-icons = [ + # "󰁺" + # "󰁻" + # "󰁼" + # "󰁽" + # "󰁾" + # "󰁿" + # "󰂀" + # "󰂁" + # "󰂂" + # "󰁹" + # ]; + # states = { + # battery-10 = 10; + # battery-20 = 20; + # battery-30 = 30; + # battery-40 = 40; + # battery-50 = 50; + # battery-60 = 60; + # battery-70 = 70; + # battery-80 = 80; + # battery-90 = 90; + # battery-100 = 100; + # }; + # + # format-plugged = "󰚥"; + # format-charging-battery-10 = "󰢜"; + # format-charging-battery-20 = "󰂆"; + # format-charging-battery-30 = "󰂇"; + # format-charging-battery-40 = "󰂈"; + # format-charging-battery-50 = "󰢝"; + # format-charging-battery-60 = "󰂉"; + # format-charging-battery-70 = "󰢞"; + # format-charging-battery-80 = "󰂊"; + # format-charging-battery-90 = "󰂋"; + # format-charging-battery-100 = "󰂅"; + # tooltip-format = "{capacity}% {timeTo}"; + # }; + # + # "custom/notification" = { + # format = "{icon} {} "; + # tooltip-format = "Left: Open Notification Center\nRight: Toggle Do not Disturb\nMiddle: Clear Notifications"; + # format-icons = { + # notification = ""; + # none = ""; + # dnd-notification = ""; + # dnd-none = ""; + # inhibited-notification = ""; + # inhibited-none = ""; + # dnd-inhibited-notification = ""; + # dnd-inhibited-none = ""; + # }; + # return-type = "json"; + # exec-if = "which swaync-client"; + # exec = "swaync-client -swb"; + # on-click = "swaync-client -t -sw"; + # on-click-right = "swaync-client -d -sw"; + # on-click-middle = "swaync-client -C"; + # escape = true; + # }; + # + # tray = { + # icon-size = 21; + # spacing = 10; + # }; + # } + # ]; + # style = '' + # #workspaces button { + # color: @base05; + # } + # ''; }; } diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix index 4b629d4..824f421 100644 --- a/hosts/desktop/configuration.nix +++ b/hosts/desktop/configuration.nix @@ -55,6 +55,7 @@ programs.steam = { protontricks.enable = true; extraCompatPackages = with pkgs; [ + proton-cachyos_nightly_x86_64_v4 proton-cachyos_x86_64_v4 proton-ge-custom ]; @@ -81,7 +82,6 @@ environment.variables.AMD_VULKAN_ICD = "RADV"; amdgpu = { initrd.enable = true; overdrive.enable = true; - opencl.enable = true; }; }; @@ -89,6 +89,9 @@ chaotic = { mesa-git = { enable = true; fallbackSpecialisation = false; + extraPackages = with pkgs; [ + mesa_git.opencl + ]; }; }; @@ -97,6 +100,10 @@ services.dbus.enable = true; xdg.portal = { enable = true; wlr.enable = true; + extraPortals = with pkgs; [ + xdg-desktop-portal-gtk + xdg-desktop-portal-gnome + ]; }; time.timeZone = "Europe/Warsaw"; -- cgit v1.3