summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/editors/helix.nix7
-rw-r--r--home/editors/nixvim.nix98
-rw-r--r--home/editors/nvf.nix42
-rw-r--r--home/git.nix11
-rw-r--r--home/home.nix78
-rw-r--r--home/programs/nixcord.nix204
-rw-r--r--home/programs/satty.nix4
-rw-r--r--home/programs/spicetify.nix21
-rw-r--r--home/programs/yazi.nix7
-rw-r--r--home/terminal/btop.nix6
-rw-r--r--home/terminal/fish.nix62
-rw-r--r--home/terminal/foot.nix25
-rw-r--r--home/terminal/starship.nix111
-rw-r--r--home/terminal/utils.nix26
-rw-r--r--home/wayland/hyprland/binds.nix64
-rw-r--r--home/wayland/hyprland/hyprland.nix47
-rw-r--r--home/wayland/niri/binds.nix109
-rw-r--r--home/wayland/niri/niri.nix77
-rw-r--r--home/wayland/noctalia.nix8
-rw-r--r--home/wayland/waybar.nix151
-rw-r--r--home/xdg.nix34
21 files changed, 0 insertions, 1192 deletions
diff --git a/home/editors/helix.nix b/home/editors/helix.nix
deleted file mode 100644
index 0204f8d..0000000
--- a/home/editors/helix.nix
+++ /dev/null
@@ -1,7 +0,0 @@
-{ pkgs, ... }:
-{
- programs.helix = {
- enable = true;
-# package = pkgs.helix;
- };
-}
diff --git a/home/editors/nixvim.nix b/home/editors/nixvim.nix
deleted file mode 100644
index b8a4e5a..0000000
--- a/home/editors/nixvim.nix
+++ /dev/null
@@ -1,98 +0,0 @@
-{ pkgs, inputs, ... }:
-{
- imports = [ inputs.nixvim.homeModules.nixvim ];
- programs.nixvim = {
- enable = true;
- package = inputs.neovim-nightly-overlay.packages.${pkgs.stdenv.hostPlatform.system}.default;
-
- viAlias = true;
- vimAlias = true;
- defaultEditor = true;
- waylandSupport = true;
- colorschemes.gruvbox.enable = true;
-
- plugins = {
- lualine.enable = true;
- oil.enable = true;
- lazygit.enable = true;
- persistence.enable = true;
- nvim-autopairs.enable = true;
- neoscroll.enable = true;
- bufferline.enable = true;
- web-devicons.enable = true;
-
- treesitter = {
- enable = true;
- settings = {
- indent.enable = true;
- };
- };
-
- telescope = {
- enable = true;
- extensions = {
- fzf-native = {
- enable = true;
- };
- };
- };
-
- notify = {
- enable = true;
- settings = {
- backgroundColour = "#1e1e2e";
- fps = 60;
- render = "default";
- timeout = 500;
- topDown = true;
- };
- };
-
- hardtime = {
- # enable = true;
- settings = {
- # disableMouse = true;
- # enabled = false;
- restrictionMode = "hint";
- hint = true;
- maxCount = 40;
- maxTime = 1000;
- };
- };
-
- nix.enable = true;
- lsp = {
- enable = true;
- servers = {
- nil_ls.enable = true;
- clangd.enable = true;
- };
- };
- };
-
- opts = {
- number = true;
- relativenumber = true;
- termguicolors = true;
- # mouse = "a";
- ignorecase = true;
- smartcase = true;
- expandtab = true;
- shiftwidth = 2;
- encoding = "utf-8";
- fileencoding = "utf-8";
- undofile = true;
- swapfile = true;
- backup = false;
- autoread = true;
- cursorline = true;
- ruler = true;
- gdefault = true;
- scrolloff = 5;
- clipboard = {
- providers.wl-copy.enable = true;
- register = "unnamedplus";
- };
- };
- };
-}
diff --git a/home/editors/nvf.nix b/home/editors/nvf.nix
deleted file mode 100644
index ab805ca..0000000
--- a/home/editors/nvf.nix
+++ /dev/null
@@ -1,42 +0,0 @@
-{ pkgs, neovim-nightly-overlay, ... }:
-
-{
- programs.nvf = {
- enable = true;
-
- settings.vim = {
- package = neovim-nightly-overlay.packages.${pkgs.stdenv.hostPlatform.system}.default;
-
- viAlias = true;
- vimAlias = true;
-
- theme = {
- enable = true;
- name = "gruvbox";
- style = "dark";
- };
-
- statusline = {
- lualine = {
- enable = true;
- theme = "gruvbox-material";
- };
- };
-
- autopairs.nvim-autopairs.enable = true;
-
- lsp.enable = true;
-
- languages = {
- nix = {
- enable = true;
- format = {
- enable = true;
- type = "alejandra";
- };
- };
- clang.enable = true;
- };
- };
- };
-}
diff --git a/home/git.nix b/home/git.nix
deleted file mode 100644
index dc11881..0000000
--- a/home/git.nix
+++ /dev/null
@@ -1,11 +0,0 @@
-{ ... }:
-{
- programs.git = {
- enable = true;
- settings = {
- user.name = "adikro";
- user.email = "adikro@disroot.org";
- init.defaultBranch = "main";
- };
- };
-}
diff --git a/home/home.nix b/home/home.nix
deleted file mode 100644
index d2b134f..0000000
--- a/home/home.nix
+++ /dev/null
@@ -1,78 +0,0 @@
-{ pkgs, inputs, ... }:
-{
- imports = [
- # Window Managers
- # ./wayland/hyprland/hyprland.nix
- ./wayland/niri/niri.nix
- # Wayland specific programs
- ./wayland/waybar.nix
- ./wayland/noctalia.nix
- # Editors
- ./editors/nixvim.nix
- # ./editors/helix.nix
- # Programs
- ./terminal/foot.nix
- ./terminal/fish.nix
- ./terminal/starship.nix
- ./terminal/utils.nix
- ./terminal/btop.nix
- ./programs/spicetify.nix
- ./programs/nixcord.nix
- ./programs/yazi.nix
- # Other
- ./xdg.nix
- ./git.nix
-];
-
- home.username = "adam";
- home.homeDirectory = "/home/adam";
- home.stateVersion = "25.05";
-
- home.packages = with pkgs; [
- protonvpn-gui
- v2raya
- evolution
- imagemagick
- kdePackages.kdenlive
- syncplay
- wofi
- bottles
- ncdu
- equibop
- inputs.prismlauncher.packages.${pkgs.stdenv.hostPlatform.system}.prismlauncher
- inputs.awww.packages.${pkgs.stdenv.hostPlatform.system}.awww
- grim
- slurp
- satty
- veracrypt
- brave
- qbittorrent-enhanced
- foot
- bitwarden-desktop
- yt-dlp_git
- ffmpeg
- mpv
- gimp
- mako
- thunderbird
- magic-wormhole
- obsidian
- alsa-utils
- ];
-
- gtk = {
- enable = true;
- colorScheme = "dark";
- theme = {
- name = "Adwaita-dark";
- package = pkgs.gnome-themes-extra;
- };
- };
-
- qt = {
- enable = true;
- style.name = "adwaita-dark";
- style.package = pkgs.adwaita-qt;
- platformTheme.name = "kde";
- };
-}
diff --git a/home/programs/nixcord.nix b/home/programs/nixcord.nix
deleted file mode 100644
index d7978af..0000000
--- a/home/programs/nixcord.nix
+++ /dev/null
@@ -1,204 +0,0 @@
-{ inputs, pkgs, ... }:
-{
- imports = [ inputs.nixcord.homeModules.nixcord ];
- programs.nixcord = {
- enable = true;
- package = pkgs.discord-krisp;
- discord = {
- enable = true;
- vencord.enable = false;
- equicord.enable = true;
- };
- config = {
- frameless = true;
- plugins = {
- alwaysExpandRoles = {
- enable = true;
- hideArrow = true;
- };
- alwaysTrust = {
- enable = true;
- domain = false;
- };
- anammox.enable = true;
- betterAudioPlayer.enable = true;
- betterGifAltText.enable = true;
- betterGifPicker.enable = true;
- betterInvites.enable = true;
- betterNotesBox = {
- enable = true;
- hide = true;
- };
- betterQuickReact = {
- enable = true;
- columns = 6.0;
- rows = 1.0;
- compactMode = true;
- };
- betterRoleContext.enable = true;
- betterUploadButton.enable = true;
- biggerStreamPreview.enable = true;
- callTimer.enable = true;
- characterCounter = {
- enable = true;
- colorEffects = false;
- };
- cleanChannelName.enable = true;
- clearUrLs.enable = true;
- copyFileContents.enable = true;
- copyStickerLinks.enable = true;
- crashHandler.enable = true;
- customTimestamps.enable = true;
- disableCallIdle.enable = true;
- disableDeepLinks.enable = true;
- # dontFilterMe.enable = true;
- dontRoundMyTimestamps.enable = true;
- equicordHelper = {
- enable = true;
- noMirroredCamera = true;
- };
- # equicordToolbox.enable = true;
- 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;
- forceOwnerCrown.enable = true;
- friendsSince.enable = true;
- fullSearchContext.enable = true;
- fullUserInChatbox.enable = true;
- gifCollections = {
- enable = true;
- preventDuplicates = true;
- showCopyImageLink = true;
- };
- gifRoulette = {
- enable = true;
- pingOwnerChance = true;
- };
- guildTagSettings.enable = true;
- homeTyping.enable = true;
- ignoreTerms.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;
- # keyboardNavigation = {
- # enable = true;
- # hotkey = [ "Alt+Q" ];
- # };
- memberCount.enable = true;
- mentionAvatars = {
- enable = true;
- showAtSymbol = true;
- };
- messageLinkEmbeds.enable = true;
- messageLogger = {
- enable = true;
- ignoreSelf = true;
- };
- # messageLoggerEnhanced.enable = true;
- moyai.enable = true;
- musicControls.enable = true;
- neverPausePreviews.enable = true;
- newGuildSettings = {
- enable = true;
- messages = 1;
- };
- newPluginsManager.enable = true;
- noF1.enable = true;
- noMaskedUrlPaste.enable = true;
- noModalAnimation.enable = true;
- noNitroUpsell.enable = true;
- # noOnboarding.enable = true;
- noOnboardingDelay.enable = true;
- noMosaic.enable = true;
- noProfileThemes.enable = true;
- noSystemBadge.enable = true;
- noTypingAnimation.enable = true;
- overrideForumDefaults = {
- enable = true;
- defaultLayout = 2;
- };
- onePingPerDm.enable = true;
- openInApp.enable = true;
- pauseInvitesForever.enable = true;
- permissionFreeWill = {
- enable = true;
- lockout = false;
- };
- permissionsViewer.enable = true;
- pinDMs = {
- enable = true;
- canCollapseDmSection = true;
- };
- pinIcon.enable = true;
- platformIndicators.enable = true;
- quoter.enable = true;
- relationshipNotifier.enable = true;
- roleColorEverywhere.enable = true;
- saveFavoriteGiFs.enable = true;
- sendTimestamps.enable = true;
- serverInfo.enable = true;
- showConnections.enable = true;
- showHiddenChannels = {
- enable = true;
- # channelStyle = 2;
- };
- showHiddenThings.enable = true;
- showResourceChannels.enable = true;
- showTimeoutDuration.enable = true;
- # soggy = {
- # enable = 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";
- # };
- spotifyCrack = {
- enable = true;
- noSpotifyAutoPause = false;
- };
- streamerModeOnStream.enable = true;
- typingIndicator = {
- enable = true;
- indicatorMode = 2;
- };
- 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;
- viewIcons = {
- enable = true;
- format = "png";
- };
- voiceMessages.enable = true;
- volumeBooster.enable = true;
- whoReacted.enable = true;
- whosWatching.enable = true;
- youtubeAdblock.enable = true;
- youtubeDescription.enable = true;
- };
- };
- };
-}
diff --git a/home/programs/satty.nix b/home/programs/satty.nix
deleted file mode 100644
index facb35d..0000000
--- a/home/programs/satty.nix
+++ /dev/null
@@ -1,4 +0,0 @@
-{ ... }:
-{
-
-}
diff --git a/home/programs/spicetify.nix b/home/programs/spicetify.nix
deleted file mode 100644
index 9d66181..0000000
--- a/home/programs/spicetify.nix
+++ /dev/null
@@ -1,21 +0,0 @@
-{ pkgs, inputs, ... }:
-
-let
- spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.hostPlatform.system};
-in {
- imports = [
- inputs.spicetify-nix.homeManagerModules.spicetify
- ];
-
- programs.spicetify = {
- enable = true;
-
- enabledExtensions = with spicePkgs.extensions; [
- adblockify
- hidePodcasts
- ];
-
- theme = spicePkgs.themes.catppuccin;
- colorScheme = "mocha";
- };
-}
diff --git a/home/programs/yazi.nix b/home/programs/yazi.nix
deleted file mode 100644
index a8e2911..0000000
--- a/home/programs/yazi.nix
+++ /dev/null
@@ -1,7 +0,0 @@
-{ inputs, ... }:
-{
-# nixpkgs.overlays = [ inputs.yazi.overlays.default ];
- programs.yazi = {
- enable = true;
- };
-}
diff --git a/home/terminal/btop.nix b/home/terminal/btop.nix
deleted file mode 100644
index dcd59ed..0000000
--- a/home/terminal/btop.nix
+++ /dev/null
@@ -1,6 +0,0 @@
-{ ... }:
-{
- programs.btop = {
- enable = true;
- };
-}
diff --git a/home/terminal/fish.nix b/home/terminal/fish.nix
deleted file mode 100644
index ec75de8..0000000
--- a/home/terminal/fish.nix
+++ /dev/null
@@ -1,62 +0,0 @@
-{ pkgs, ... }:
-{
- programs.fish = {
- enable = true;
-
- interactiveShellInit = ''
- set fish_greeting
- fastfetch
- '';
-
- shellAliases = {
- nos = "nh os switch";
- nob = "nh os boot";
- nfu = "nix flake update";
- ll = "ls -lah";
- la = "ls -A";
- md = "mkdir -p";
- rmf = "rm -rf";
- gl = "git log --oneline --graph --decorate";
- untar = "tar -xzvf";
- tarc = "tar -czvf";
- ff = "fastfetch";
- cat = "bat";
- ls = "eza";
- };
-
- plugins = [
- {
- name = "transient-fish";
- src = pkgs.fishPlugins.transient-fish.src;
- }
- {
- name = "fishbang";
- src = pkgs.fishPlugins.fishbang.src;
- }
- {
- name = "puffer";
- src = pkgs.fishPlugins.puffer.src;
- }
- {
- name = "pisces";
- src = pkgs.fishPlugins.pisces.src;
- }
- {
- name = "fzf-fish";
- src = pkgs.fishPlugins.fzf-fish.src;
- }
- {
- name = "fish-you-should-use";
- src = pkgs.fishPlugins.fish-you-should-use.src;
- }
- {
- name = "colored-man-pages";
- src = pkgs.fishPlugins.colored-man-pages.src;
- }
- {
- name = "fifc";
- src = pkgs.fishPlugins.fifc.src;
- }
- ];
- };
-}
diff --git a/home/terminal/foot.nix b/home/terminal/foot.nix
deleted file mode 100644
index 5c3098b..0000000
--- a/home/terminal/foot.nix
+++ /dev/null
@@ -1,25 +0,0 @@
-{pkgs, ...}:
-let
- footTheme = pkgs.fetchurl {
- url = "https://codeberg.org/dnkl/foot/raw/branch/master/themes/gruvbox-dark";
- sha256 = "sha256-ubvnLgDEPGvNrwQdZRNguftg2SF5qcO1iVK0Tb5ZveI=";
- };
-in
-{
- programs.foot = {
- enable = true;
- settings = {
- main = {
- font="JetBrainsMonoNFM-Regular:size=14";
-# font-bold = "${font}:style=Bold:${withSize}";
-# font-italic = "${fontItalic}:style=Italic:${withSize}";
-# font-bold-italic = "${fontItalic}:style=BoldItalic:${withSize}";
- box-drawings-uses-font-glyphs = true;
- include = "${footTheme}";
-};
- scrollback = {
- lines = 10000;
- };
- };
- };
- }
diff --git a/home/terminal/starship.nix b/home/terminal/starship.nix
deleted file mode 100644
index 82ab84e..0000000
--- a/home/terminal/starship.nix
+++ /dev/null
@@ -1,111 +0,0 @@
-{ ... }:
-{
- programs.starship = {
- enable = true;
- settings = {
- add_newline = true;
- aws.disabled = true;
- battery.disabled = true;
- buf.disabled = true;
- bun.disabled = true;
- c.format = "[$symbol ]($style)";
- cpp = {
- disabled = false;
- format = "[$symbol ]($style)";
- };
- cmake.disabled = true;
- cobol.disabled = true;
- # cmd_duration = {
- # min_time = 3;
- # show_notifications = true;
- # min_time_to_notify = 30;
- # };
- conda.disabled = true;
- container.disabled = true;
- crystal.disabled = true;
- daml.disabled = true;
- dart.disabled = true;
- deno.disabled = true;
- directory = {
- truncate_to_repo = false;
- read_only = "";
- };
- docker_context = {
- format = "[$symbol ]($style)";
- symbol = "";
- };
- dotnet.disabled = true;
- elixir.disabled = true;
- elm.disabled = true;
- erlang.disabled = true;
- fennel.disabled = true;
- fortran.disabled = true;
- gcloud.disabled = true;
- git_commit.tag_symbol = "";
- git_status = {
- conflicted = "󰦎";
- ahead = "";
- behind = "";
- diverged = "";
- renamed = "";
- deleted = "x";
- };
- gleam.disabled = true;
- golang.disabled = true;
- guix_shell.disabled = true;
- gradle.disabled = true;
- haskell.disabled = true;
- haxe.disabled = true;
- helm.disabled = true;
- hostname.format = "[$hostname ]($style) ";
- java.disabled = true;
- jobs.symbol = "󰓎";
- julia.disabled = true;
- kotlin.disabled = true;
- lua.disabled = true;
- meson.disabled = true;
- mojo.disabled = true;
- nats.disabled = true;
- netns.disabled = true;
- nim.disabled = true;
- nix_shell.format = "[$symbol$state ]($style)";
- nodejs.disabled = true;
- ocaml.disabled = true;
- odin.disabled = true;
- opa.disabled = true;
- openstack.disabled = true;
- package.disabled = true;
- perl.disabled = true;
- php.disabled = true;
- pixi.disabled = true;
- pulumi.disabled = true;
- purescript.disabled = true;
- python = {
- symbol = "";
- format = "[$symbol ]($style)";
- };
- quarto.disabled = true;
- rlang.disabled = true;
- raku.disabled = true;
- red.disabled = true;
- ruby.disabled = true;
- rust.symbol = "";
- scala.disabled = true;
- singularity.disabled = true;
- solidity.disabled = true;
- spack.disabled = true;
- # sudo = {
- # format = "[sudo ]($style)";
- # disabled = false;
- # };
- swift.disabled = true;
- terraform.disabled = true;
- typst.disabled = true;
- vagrant.disabled = true;
- vlang.disabled = true;
- vcsh.disabled = true;
- xmake.disabled = true;
- zig.disabled = true;
- };
- };
-}
diff --git a/home/terminal/utils.nix b/home/terminal/utils.nix
deleted file mode 100644
index c408e4a..0000000
--- a/home/terminal/utils.nix
+++ /dev/null
@@ -1,26 +0,0 @@
-{ pkgs, ... }:
-{
- programs.zoxide = {
- enable = true;
- options = [
- "--cmd cd"
- ];
- };
- programs.bat = {
- enable = true;
- config = {
- theme = "gruvbox-dark";
- tabs = "2";
- };
- };
- home.packages = with pkgs; [
- fzf
- fd
- chafa
- hexyl
- eza
- ripgrep
- procs
- fastfetch
- ];
-}
diff --git a/home/wayland/hyprland/binds.nix b/home/wayland/hyprland/binds.nix
deleted file mode 100644
index 303d83d..0000000
--- a/home/wayland/hyprland/binds.nix
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- wayland.windowManager.hyprland.settings = {
- bindm = [
- "$mod, mouse:272, movewindow"
- "$mod, mouse:273, resizewindow"
- ];
-
- bind = [
- "$mod, RETURN, exec, foot"
- "$mod, D, exec, wofi --show=drun --lines=5--prompt=\"\""
- "$mod SHIFT, D, exec, grimblast --freeze copy area"
-# "$mod SHIFT, F, exec, grimblast copysave output ~/.screenshots/$(date +'%s_hypr.png')"
-# "$mod SHIFT, G, exec, grimblast copy active"
-# "$mod CTRL, P, exec, swayidle timeout 2 'sleep 1; hyprctl dispatcher dpms off' resume 'hyprctl dispatcher dpms on & pkill swayidle'"
-
- "$mod SHIFT, Q, killactive,"
- "$mod CTRL, E, exit,"
- "$mod, SPACE, togglesplit,"
- "$mod, F, fullscreen,"
- "$mod, V, togglefloating,"
- "$mod, P, pseudo,"
-
- "$mod, H, movefocus, l"
- "$mod, L, movefocus, r"
- "$mod, K, movefocus, u"
- "$mod, J, movefocus, d"
-
- "$mod SHIFT, H, movewindow, l"
- "$mod SHIFT, L, movewindow, r"
- "$mod SHIFT, K, movewindow, u"
- "$mod SHIFT, J, movewindow, d"
-
- "$mod SUPER, H, resizeactive, -10 0"
- "$mod SUPER, L, resizeactive, 10 0"
- "$mod SUPER, K, resizeactive, 0 -10"
- "$mod SUPER, J, resizeactive, 0 10"
-
-# "$mod, E, togglegroup"
-# "$mod SHIFT, E, lockactivegroup, toggle"
-# "$mod, TAB, changegroupactive, f"
-# "$mod SHIFT, TAB, changegroupactive, b"
-# "$mod CTRL, L, moveoutofgroup, r"
-# "$mod CTRL, H, moveoutofgroup, l"
-
- ", XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+"
- ", XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%-"
- "$mod, Next, exec, playerctl next"
- "$mod, Prior, exec, playerctl previous"
-
- # --- Workspace bindings (1–5) ---
- "$mod, 1, workspace, 1"
- "$mod, 2, workspace, 2"
- "$mod, 3, workspace, 3"
- "$mod, 4, workspace, 4"
- "$mod, 5, workspace, 5"
-
- "$mod SHIFT, 1, movetoworkspacesilent, 1"
- "$mod SHIFT, 2, movetoworkspacesilent, 2"
- "$mod SHIFT, 3, movetoworkspacesilent, 3"
- "$mod SHIFT, 4, movetoworkspacesilent, 4"
- "$mod SHIFT, 5, movetoworkspacesilent, 5"
- ];
- };
-}
diff --git a/home/wayland/hyprland/hyprland.nix b/home/wayland/hyprland/hyprland.nix
deleted file mode 100644
index 531ea62..0000000
--- a/home/wayland/hyprland/hyprland.nix
+++ /dev/null
@@ -1,47 +0,0 @@
-{ ... }:
-{
- imports = [
- ./binds.nix
- ];
-
- wayland.windowManager.hyprland = {
- enable = true;
- settings = {
-
- general = {
- gaps_in = 6;
- gaps_out = 16;
- border_size = 2;
- };
-
- decoration = {
- rounding = 12;
- };
-
- "$mod" = "ALT";
- monitor = [
- "DP-1,2560x1440@240,0x0,1,vrr,0"
- ];
- workspace = [
- "1,monitor:DP-1,default:true"
- "2,monitor:DP-1"
- "3,monitor:DP-1"
- "4,monitor:DP-1"
- "5,monitor:DP-1"
- ];
-
- input = {
- kb_layout = "pl";
-
- accel_profile = "flat";
- sensitivity = -0.6;
- repeat_rate = 45;
- repeat_delay = 500;
- };
-
- animations = {
- enabled = false;
- };
- };
- };
-}
diff --git a/home/wayland/niri/binds.nix b/home/wayland/niri/binds.nix
deleted file mode 100644
index 53d2d4e..0000000
--- a/home/wayland/niri/binds.nix
+++ /dev/null
@@ -1,109 +0,0 @@
-{ config, pkgs, ... }:
-{
- programs.niri.settings.binds = with config.lib.niri.actions;
- let
- set-volume = spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@";
- playerctl = spawn "${pkgs.playerctl}/bin/playerctl";
- in
- {
- # Overview / help
- "Mod+O" = {
- action = toggle-overview;
- repeat = false;
- };
- "Mod+Slash".action = show-hotkey-overlay;
-
- # Audio
- # XF86AudioRaiseVolume.action = set-volume "2%+";
- # XF86AudioLowerVolume.action = set-volume "2%-";
- XF86AudioRaiseVolume.action = playerctl "volume" "0.02+";
- XF86AudioLowerVolume.action = playerctl "volume" "0.02-";
- XF86AudioMute.action = spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle";
- XF86AudioMicMute.action = spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle";
-
- # Media keys
- XF86AudioPlay.action = playerctl "play-pause";
- XF86AudioPrev.action = playerctl "previous";
- XF86AudioNext.action = playerctl "next";
-
- # Column sizing
- "Mod+Minus".action = set-column-width "-10%";
- "Mod+Equal".action = set-column-width "+10%";
-
- # Finer height adjustments when in column with other windows.
- "Mod+Shift+Minus".action = set-window-height "-10%";
- "Mod+Shift+Equal".action = set-window-height "+10%";
-
- # Misc
- "Mod+Shift+V".action = toggle-window-floating;
- "Mod+Shift+P".action = power-off-monitors;
- "Mod+W".action = toggle-column-tabbed-display;
-
- # Screenshot (selection -> copy + save)
- "Mod+S".action = spawn "sh" "-c"
- ''
- filename="/media/pics/ss/$(date +%Y-%m-%d_%H-%M-%S).png"
- grim -g "$(slurp)" - | tee "$filename" | wl-copy
- '';
-
- # Screenshot (selection -> save -> edit with satty -> copy edited)
- "Mod+Shift+S".action = spawn "sh" "-c"
- ''
- filename="/media/pics/ss/$(date +%Y-%m-%d_%H-%M-%S).png"
- grim -g "$(slurp)" "$filename"
-
- edited="/media/pics/ss/$(date +%Y-%m-%d_%H-%M-%S)-edited.png"
- satty --filename "$filename" --output-filename "$edited"
- '';
-
- "Mod+Shift+D".action = spawn "sh" "-c"
- ''
- cliphist list | fuzzel --dmenu | cliphist decode | wl-copy
- '';
-
- # --- System / General ---
- "Mod+Return".action = spawn "foot";
- "Mod+D".action = spawn "fuzzel";
- "Mod+BracketLeft".action = consume-or-expel-window-left;
- "Mod+BracketRight".action = consume-or-expel-window-right;
-
- "Mod+R".action = switch-preset-column-width;
- "Mod+Shift+R".action = reset-window-height;
- "Mod+F".action = maximize-column;
- "Mod+Shift+F".action = fullscreen-window;
-
- "Mod+Comma".action = consume-window-into-column;
- "Mod+Period".action = expel-window-from-column;
-
- "Mod+Shift+E".action = quit;
-
- # --- Window Navigation (Focus) ---
- "Mod+H".action = focus-column-left;
- "Mod+L".action = focus-column-right;
- "Mod+J".action = focus-workspace-down;
- "Mod+K".action = focus-workspace-up;
-
- # --- Window Management (Move) ---
- "Mod+Shift+H".action = move-column-left;
- "Mod+Shift+L".action = move-column-right;
- "Mod+Shift+J".action = move-window-down-or-to-workspace-down;
- "Mod+Shift+K".action = move-window-up-or-to-workspace-up;
-
- # --- Window State ---
- "Mod+Shift+Q".action = close-window;
-
- "Mod+1".action = focus-workspace 1;
- "Mod+2".action = focus-workspace 2;
- "Mod+3".action = focus-workspace 3;
- "Mod+4".action = focus-workspace 4;
- "Mod+5".action = focus-workspace 5;
- "Mod+6".action = focus-workspace 6;
-
- "Mod+Shift+1".action.move-column-to-workspace = [ 1 ];
- "Mod+Shift+2".action.move-column-to-workspace = [ 2 ];
- "Mod+Shift+3".action.move-column-to-workspace = [ 3 ];
- "Mod+Shift+4".action.move-column-to-workspace = [ 4 ];
- "Mod+Shift+5".action.move-column-to-workspace = [ 5 ];
- "Mod+Shift+6".action.move-column-to-workspace = [ 6 ];
- };
-}
diff --git a/home/wayland/niri/niri.nix b/home/wayland/niri/niri.nix
deleted file mode 100644
index 341866a..0000000
--- a/home/wayland/niri/niri.nix
+++ /dev/null
@@ -1,77 +0,0 @@
-{ lib, pkgs, ... }:
-{
- imports = [
- ./binds.nix
- ];
- programs.niri.settings = {
- prefer-no-csd = true;
- hotkey-overlay.skip-at-startup = true;
- input = {
- mouse = {
- accel-profile = "flat";
- accel-speed = -0.6;
- middle-emulation = true;
- scroll-factor = 1.5;
- };
- focus-follows-mouse = {
- enable = true;
- max-scroll-amount = "10%";
- };
- mod-key = "Alt";
- keyboard = {
- xkb.layout = "pl";
- repeat-delay = 400;
- repeat-rate = 60;
- };
- power-key-handling.enable = false;
- };
- outputs = {
- "DP-1" = {
- focus-at-startup = true;
- # backdrop-color = "";
- variable-refresh-rate = "on-demand";
- mode = {
- width = 2560;
- height = 1440;
- refresh = 239.998;
- };
- };
- };
- cursor = {
- hide-when-typing = true;
- size = 8;
- # theme = "";
- };
- layout = {
- border = {
- width = 2;
- # active = <decoration>;
- };
- focus-ring = {
- width = 2;
- # active = <decoration>;
- };
- preset-column-widths = [
- { proportion = 1. / 3.; }
- { proportion = 1. / 2.; }
- { proportion = 2. / 3.; }
- ];
- preset-window-heights = [
- { proportion = 1. / 3.; }
- { proportion = 1. / 2.; }
- { proportion = 2. / 3.; }
- ];
- default-column-width.proportion = 0.5;
- tab-indicator = {
- gaps-between-tabs = 3;
- position = "top";
- };
- };
- spawn-at-startup = [
- { command = [ "${lib.getExe pkgs.xwayland-satellite}" ]; }
- { command = [ "awww-daemon" ]; }
- # { command = [ "noctalia-shell" ]; }
- { command = [ "wl-paste --watch cliphist store" ]; }
- ];
- };
-}
diff --git a/home/wayland/noctalia.nix b/home/wayland/noctalia.nix
deleted file mode 100644
index e0b402d..0000000
--- a/home/wayland/noctalia.nix
+++ /dev/null
@@ -1,8 +0,0 @@
-{ inputs, ... }:
-{
- imports = [ inputs.noctalia.homeModules.default ];
-
- programs.noctalia-shell = {
- enable = true;
- };
-}
diff --git a/home/wayland/waybar.nix b/home/wayland/waybar.nix
deleted file mode 100644
index 17a2f46..0000000
--- a/home/wayland/waybar.nix
+++ /dev/null
@@ -1,151 +0,0 @@
-{ lib, pkgs, ... }:
-{
- programs.waybar = {
- enable = true;
- # 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 = "<tt><small>{calendar}</small></tt>";
- # calendar = {
- # mode = "year";
- # mode-mon-col = 3;
- # weeks-pos = "right";
- # on-scroll = 1;
- # on-click-right = "mode";
- # format = {
- # months = "<span color='#ffead3'><b>{}</b></span>";
- # days = "<span color='#ecc6d9'><b>{}</b></span>";
- # weeks = "<span color='#99ffdd'><b>W{}</b></span>";
- # weekdays = "<span color='#ffcc66'><b>{}</b></span>";
- # today = "<span color='#ff6699'><b><u>{}</u></b></span>";
- # };
- # };
- # 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 = "<span foreground='red'><sup></sup></span>";
- # none = "";
- # dnd-notification = "<span foreground='red'><sup></sup></span>";
- # dnd-none = "";
- # inhibited-notification = "<span foreground='red'><sup></sup></span>";
- # inhibited-none = "";
- # dnd-inhibited-notification = "<span foreground='red'><sup></sup></span>";
- # 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/home/xdg.nix b/home/xdg.nix
deleted file mode 100644
index 07b78f1..0000000
--- a/home/xdg.nix
+++ /dev/null
@@ -1,34 +0,0 @@
-{ ... }:
-{
- xdg.userDirs = {
- enable = true;
-
- createDirectories = true;
- download = "$HOME/dl";
- documents = "$HOME/docs";
- pictures = "/media/pics";
- videos = "/media/vids";
-
- desktop = null;
- music = null;
- publicShare = null;
- templates = null;
-
- extraConfig = {
- XDG_PROJECTS_DIR = "$HOME/proj";
- XDG_GAMES_DIR = "$HOME/games";
- XDG_MEDIA_DIR = "/media";
- XDG_SS_DIR = "/media/pics/ss";
- XDG_CLIPS_DIR = "/media/vids/clips";
- XDG_ARCHIVE_DIR = "/media/archive";
- };
- };
- home.sessionVariables = {
- XDG_PROJECTS_DIR = "$HOME/proj";
- XDG_GAMES_DIR = "$HOME/games";
- XDG_MEDIA_DIR = "/media";
- XDG_SS_DIR = "/media/pics/ss";
- XDG_CLIPS_DIR = "/media/vids/clips";
- XDG_ARCHIVE_DIR = "/media/archive";
- };
-}