From 15d50528cf86e93bad19f65f1e4b47af49e94d71 Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Fri, 12 Jun 2026 13:37:13 +0200 Subject: Nuked everything --- home/mun/default.nix | 124 -------- home/mun/programs/browser.nix | 301 ------------------- home/mun/programs/git.nix | 20 -- home/mun/programs/nixcord.nix | 13 - home/mun/programs/nvim.nix | 329 --------------------- home/mun/programs/rmpc.nix | 14 - home/mun/programs/rmpc/config.ron | 322 -------------------- home/mun/programs/ssh.nix | 31 -- home/mun/programs/zsh.nix | 32 -- home/rices/cinnamon/default.nix | 4 - home/rices/cinnamon/home.nix | 3 - home/rices/cinnamon/system.nix | 50 ---- home/rices/cinnamon/variables.nix | 3 - home/rices/nord-blue/alacritty.nix | 13 - home/rices/nord-blue/default.nix | 4 - home/rices/nord-blue/dunst.nix | 101 ------- home/rices/nord-blue/fastfetch.nix | 24 -- home/rices/nord-blue/helix.nix | 171 ----------- home/rices/nord-blue/home.nix | 11 - home/rices/nord-blue/i3.nix | 111 ------- home/rices/nord-blue/nvim.nix | 279 ----------------- home/rices/nord-blue/picom.nix | 60 ---- home/rices/nord-blue/system.nix | 83 ------ home/rices/nord-blue/variables.nix | 11 - home/rices/nord-blue/wallpapers/wave-minimal.png | Bin 352335 -> 0 bytes home/rices/original/default.nix | 4 - home/rices/original/dunst.nix | 41 --- home/rices/original/home.nix | 14 - home/rices/original/i3.nix | 130 -------- home/rices/original/kitty.nix | 45 --- home/rices/original/neovim.nix | 100 ------- home/rices/original/nnn.nix | 7 - home/rices/original/picom.nix | 27 -- home/rices/original/polybar.nix | 172 ----------- home/rices/original/rofi.nix | 13 - home/rices/original/scripts.nix | 31 -- home/rices/original/system.nix | 83 ------ home/rices/original/variables.nix | 14 - home/rices/original/xdg.nix | 16 - home/rices/plasma6/default.nix | 4 - home/rices/plasma6/home.nix | 4 - home/rices/plasma6/system.nix | 93 ------ home/rices/plasma6/variables.nix | 3 - home/rices/schrottkatze/README.md | 88 ------ home/rices/schrottkatze/default.nix | 4 - home/rices/schrottkatze/eww.nix | 6 - .../eww/configDir/bottomBar/bottomBar.yuck | 77 ----- .../eww/configDir/bottomBar/traveldings.yuck | 37 --- .../eww/configDir/bottomBar/workspaces.yuck | 18 -- home/rices/schrottkatze/eww/configDir/eww.css | 58 ---- home/rices/schrottkatze/eww/configDir/eww.yuck | 36 --- .../schrottkatze/eww/configDir/scripts/bat.nu | 78 ----- .../schrottkatze/eww/configDir/scripts/iceTacho.nu | 38 --- .../schrottkatze/eww/configDir/topBar/sysinfo.yuck | 22 -- .../schrottkatze/eww/configDir/topBar/time.yuck | 10 - .../schrottkatze/eww/configDir/topBar/topBar.yuck | 55 ---- home/rices/schrottkatze/eww/configDir/util.yuck | 10 - home/rices/schrottkatze/fuzzel.nix | 26 -- home/rices/schrottkatze/home.nix | 37 --- home/rices/schrottkatze/layaway.nix | 24 -- home/rices/schrottkatze/niri.nix | 40 --- home/rices/schrottkatze/niri/kdl/binds.kdl | 124 -------- home/rices/schrottkatze/niri/kdl/input.kdl | 22 -- home/rices/schrottkatze/niri/kdl/overviews.kdl | 19 -- home/rices/schrottkatze/niri/kdl/privacy.kdl | 12 - home/rices/schrottkatze/niri/kdl/quirks.kdl | 42 --- home/rices/schrottkatze/niri/kdl/screenshot.kdl | 6 - home/rices/schrottkatze/niri/kdl/style.kdl | 84 ------ .../schrottkatze/niri/kdl/workspaces.kdl.disabled | 63 ---- home/rices/schrottkatze/niri/scripts/cpdate.sh | 20 -- home/rices/schrottkatze/niri/shaders/arc.frag | 131 -------- home/rices/schrottkatze/niri/wallpaper.jpg | Bin 8827762 -> 0 bytes home/rices/schrottkatze/notifications.nix | 21 -- home/rices/schrottkatze/stylix.nix | 24 -- home/rices/schrottkatze/swayidle.nix | 15 - home/rices/schrottkatze/system.nix | 122 -------- home/rices/schrottkatze/terminal.nix | 36 --- 77 files changed, 4320 deletions(-) delete mode 100644 home/mun/default.nix delete mode 100644 home/mun/programs/browser.nix delete mode 100644 home/mun/programs/git.nix delete mode 100644 home/mun/programs/nixcord.nix delete mode 100644 home/mun/programs/nvim.nix delete mode 100644 home/mun/programs/rmpc.nix delete mode 100644 home/mun/programs/rmpc/config.ron delete mode 100644 home/mun/programs/ssh.nix delete mode 100644 home/mun/programs/zsh.nix delete mode 100644 home/rices/cinnamon/default.nix delete mode 100644 home/rices/cinnamon/home.nix delete mode 100644 home/rices/cinnamon/system.nix delete mode 100644 home/rices/cinnamon/variables.nix delete mode 100644 home/rices/nord-blue/alacritty.nix delete mode 100644 home/rices/nord-blue/default.nix delete mode 100644 home/rices/nord-blue/dunst.nix delete mode 100644 home/rices/nord-blue/fastfetch.nix delete mode 100644 home/rices/nord-blue/helix.nix delete mode 100644 home/rices/nord-blue/home.nix delete mode 100644 home/rices/nord-blue/i3.nix delete mode 100644 home/rices/nord-blue/nvim.nix delete mode 100644 home/rices/nord-blue/picom.nix delete mode 100644 home/rices/nord-blue/system.nix delete mode 100644 home/rices/nord-blue/variables.nix delete mode 100644 home/rices/nord-blue/wallpapers/wave-minimal.png delete mode 100644 home/rices/original/default.nix delete mode 100644 home/rices/original/dunst.nix delete mode 100644 home/rices/original/home.nix delete mode 100644 home/rices/original/i3.nix delete mode 100644 home/rices/original/kitty.nix delete mode 100644 home/rices/original/neovim.nix delete mode 100644 home/rices/original/nnn.nix delete mode 100644 home/rices/original/picom.nix delete mode 100644 home/rices/original/polybar.nix delete mode 100644 home/rices/original/rofi.nix delete mode 100644 home/rices/original/scripts.nix delete mode 100644 home/rices/original/system.nix delete mode 100644 home/rices/original/variables.nix delete mode 100644 home/rices/original/xdg.nix delete mode 100644 home/rices/plasma6/default.nix delete mode 100644 home/rices/plasma6/home.nix delete mode 100644 home/rices/plasma6/system.nix delete mode 100644 home/rices/plasma6/variables.nix delete mode 100644 home/rices/schrottkatze/README.md delete mode 100644 home/rices/schrottkatze/default.nix delete mode 100644 home/rices/schrottkatze/eww.nix delete mode 100644 home/rices/schrottkatze/eww/configDir/bottomBar/bottomBar.yuck delete mode 100644 home/rices/schrottkatze/eww/configDir/bottomBar/traveldings.yuck delete mode 100644 home/rices/schrottkatze/eww/configDir/bottomBar/workspaces.yuck delete mode 100644 home/rices/schrottkatze/eww/configDir/eww.css delete mode 100644 home/rices/schrottkatze/eww/configDir/eww.yuck delete mode 100755 home/rices/schrottkatze/eww/configDir/scripts/bat.nu delete mode 100755 home/rices/schrottkatze/eww/configDir/scripts/iceTacho.nu delete mode 100644 home/rices/schrottkatze/eww/configDir/topBar/sysinfo.yuck delete mode 100644 home/rices/schrottkatze/eww/configDir/topBar/time.yuck delete mode 100644 home/rices/schrottkatze/eww/configDir/topBar/topBar.yuck delete mode 100644 home/rices/schrottkatze/eww/configDir/util.yuck delete mode 100644 home/rices/schrottkatze/fuzzel.nix delete mode 100644 home/rices/schrottkatze/home.nix delete mode 100644 home/rices/schrottkatze/layaway.nix delete mode 100644 home/rices/schrottkatze/niri.nix delete mode 100644 home/rices/schrottkatze/niri/kdl/binds.kdl delete mode 100644 home/rices/schrottkatze/niri/kdl/input.kdl delete mode 100644 home/rices/schrottkatze/niri/kdl/overviews.kdl delete mode 100644 home/rices/schrottkatze/niri/kdl/privacy.kdl delete mode 100644 home/rices/schrottkatze/niri/kdl/quirks.kdl delete mode 100644 home/rices/schrottkatze/niri/kdl/screenshot.kdl delete mode 100644 home/rices/schrottkatze/niri/kdl/style.kdl delete mode 100644 home/rices/schrottkatze/niri/kdl/workspaces.kdl.disabled delete mode 100755 home/rices/schrottkatze/niri/scripts/cpdate.sh delete mode 100644 home/rices/schrottkatze/niri/shaders/arc.frag delete mode 100644 home/rices/schrottkatze/niri/wallpaper.jpg delete mode 100644 home/rices/schrottkatze/notifications.nix delete mode 100644 home/rices/schrottkatze/stylix.nix delete mode 100644 home/rices/schrottkatze/swayidle.nix delete mode 100644 home/rices/schrottkatze/system.nix delete mode 100644 home/rices/schrottkatze/terminal.nix (limited to 'home') diff --git a/home/mun/default.nix b/home/mun/default.nix deleted file mode 100644 index 1042edb..0000000 --- a/home/mun/default.nix +++ /dev/null @@ -1,124 +0,0 @@ -{pkgs, ...}: { - imports = [ - ./programs/zsh.nix - ./programs/ssh.nix - ./programs/git.nix - ./programs/nvim.nix - ./programs/nixcord.nix - ./programs/browser.nix - ./programs/rmpc.nix - ]; - - home = { - username = "mun"; - homeDirectory = "/home/mun"; - stateVersion = "25.11"; - - packages = with pkgs; [ - # Rust toolchain (via fenix) - (fenix.complete.withComponents [ - "cargo" - "clippy" - "rust-src" - "rustc" - "rustfmt" - ]) - rust-analyzer - - # Python - ruff - - # Applications - spotify - openrocket - prusa-slicer - kicad - thunderbird - signal-desktop - famistudio - tor-browser - unstable.heroic - butler - - (pkgs.writeShellScriptBin "itch" '' - exec ${pkgs.steam-run}/bin/steam-run ${pkgs.itch}/bin/itch "$@" - '') - - # Utilities - zathura - ripgrep - fd - git - lazygit - tree-sitter - gcr - perl - syncthing - sshfs - alacritty - protonup-qt - devenv - - # CLI Tools - bat - tealdeer - fastfetch - - # Fun - kdePackages.kdenlive - dwarf-fortress - tetris - minefair - - # Documents & Creative - libreoffice - texstudio - krita - aseprite - audacity - - # Network - clipman - xclip - qbittorrent - - # Gaming - prismlauncher - vlc - - # Editors - obsidian - vscodium - peazip - - # Wine/Compatibility - wine - - # File manager - xfce.thunar - - # TeX Live - (texlive.combine { - inherit (texlive) scheme-full; - notestex = texlivePackages.notestex; - screenplay = texlivePackages.screenplay; - # scpzine = pkgs.scpzine-texlive; # Commented out until i can push the fix to remote from home - }) - - # RetroArch - (retroarch.withCores (cores: - with cores; [ - fceumm - mgba - gambatte - sameboy - ])) - ]; - - sessionVariables = { - EDITOR = "nvim"; - VISUAL = "nvim"; - APPIMAGE_EXTRACT_AND_RUN = "1"; - }; - }; -} diff --git a/home/mun/programs/browser.nix b/home/mun/programs/browser.nix deleted file mode 100644 index 1b7ad6a..0000000 --- a/home/mun/programs/browser.nix +++ /dev/null @@ -1,301 +0,0 @@ -{pkgs, ...}: { - programs.firefox = { - enable = true; - - profiles.mun = { - search = { - force = true; - default = "256phi"; - engines = { - "256phi" = { - urls = [ - { - template = "https://search.256phi.eu/search"; - params = [ - { - name = "q"; - value = "{searchTerms}"; - } - ]; - } - ]; - }; - - "duckduckbleh" = { - urls = [ - { - template = "https://noai.duckduckgo.com/"; - params = [ - { - name = "q"; - value = "{searchTerms}"; - } - ]; - } - ]; - definedAliases = [ - "duck" - "d" - "ddg" - ]; - }; - "Nix Packages" = { - urls = [ - { - template = "https://search.nixos.org/packages"; - params = [ - { - name = "query"; - value = "{searchTerms}"; - } - ]; - } - ]; - icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; - definedAliases = ["pkgs"]; - }; - "Nix Options" = { - urls = [ - { - template = "https://search.nixos.org/options"; - params = [ - { - name = "query"; - value = "{searchTerms}"; - } - ]; - } - ]; - icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; - definedAliases = ["opts"]; - }; - "Home manager Options" = { - urls = [ - { - template = "https://home-manager-options.extranix.com/"; - params = [ - { - name = "query"; - value = "{searchTerms}"; - } - { - name = "release"; - value = "master"; - } - ]; - } - ]; - icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; - definedAliases = ["hm"]; - }; - "NixOS Wiki" = { - urls = [ - { - template = "https://nixos.wiki/index.php"; - params = [ - { - name = "search"; - value = "{searchTerms}"; - } - ]; - } - ]; - icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; - definedAliases = ["nxwk"]; - }; - "rust docs" = { - urls = [ - { - template = "https://docs.rs/releases/search"; - params = [ - { - name = "query"; - value = "{searchTerms}"; - } - ]; - } - ]; - icon = "https://docs.rs/-/static/favicon.ico"; - definedAliases = ["docs"]; - }; - "rust std docs" = { - urls = [ - { - template = "https://docs.rust-lang.org/std/index.html"; - params = [ - { - name = "search"; - value = "{searchTerms}"; - } - ]; - } - ]; - icon = "https://doc.rust-lang.org/favicon.ico"; - definedAliases = ["std"]; - }; - "bing".metaData.hidden = true; - "google".metaData.hidden = true; - "Amazon.de".metaData.hidden = true; - }; - }; - settings = { - "devtools.editor.keymap" = "vim"; - "devtools.toolbox.host" = "right"; - "devtools.theme" = "dark"; - "webgl.disabled" = false; - "browser.urlbar.decodeURLsOnCopy" = true; - "browser.urlbar.unitConversion.enabled" = true; - "browser.urlbar.suggest.calculator" = true; - "browser.compactmode.show" = true; - "browser.uidensity" = 1; - "screenshots.browser.component.enabled" = true; - "browser.aboutConfig.showWarning" = false; - "browser.aboutwelcome.showModal" = false; - "browser.aboutwelcome.enabled" = false; - "browser.preferences.moreFromMozilla" = false; - "browser.menu.showViewImageInfo" = true; - "browser.shopping.experience2023.active" = false; - "browser.shopping.experience2023.survey.enabled" = false; - - "identity.fxaccounts.enabled" = true; - "browser.tabs.firefox-view" = true; - "browser.tabs.firefox-view-next" = true; - "browser.newtabpage.activity-stream.showSponsored" = false; - "browser.newtabpage.activity-stream.showSponsoredTopSites" = false; - "browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts" = false; - "privacy.trackingprotection.emailtracking.enabled" = true; - "privacy.trackingprotection.enabled" = true; - "privacy.trackingprotection.socialtracking.enabled" = true; - - "browser.startup.homepage" = "about:blank"; - "browser.newtabpage.enabled" = false; - "browser.ml.chat.enabled" = false; - "browser.ml.chat.hideLocalhost" = false; - "browser.ml.chat.prompt.prefix" = ""; - "browser.ml.chat.prompts.0" = ""; - "browser.ml.chat.prompts.1" = ""; - "browser.ml.chat.prompts.2" = ""; - "browser.ml.chat.prompts.3" = ""; - "browser.ml.chat.provider" = ""; - "browser.ml.chat.shortcuts" = false; - "browser.ml.chat.shortcuts.custom" = false; - "browser.ml.chat.shortcuts.longPress" = ""; - "browser.ml.chat.sidebar" = false; - - "geo.provider.network.logging.enabled" = true; - "extensions.getAddons.showPane" = false; - "extensions.htmlaboutaddons.recommendations.enabled" = false; - "browser.discovery.enabled" = false; - "browser.shopping.experience2023.enabled" = false; - "datareporting.policy.dataSubmissionEnabled" = false; - "datareporting.healthreport.uploadEnabled" = false; - "toolkit.telemetry.unified" = false; - "toolkit.telemetry.enabled" = false; - "toolkit.telemetry.server" = "data:,"; - "toolkit.telemetry.archive.enabled" = false; - "toolkit.telemetry.newProfilePing.enabled" = false; - "toolkit.telemetry.shutdownPingSender.enabled" = false; - "toolkit.telemetry.updatePing.enabled" = false; - "toolkit.telemetry.bhrPing.enabled" = false; - "toolkit.telemetry.firstShutdownPing.enabled" = false; - "toolkit.telemetry.coverage.opt-out" = true; - "toolkit.coverage.opt-out" = true; - "toolkit.coverage.endpoint.base" = ""; - "toolkit.legacyUserProfileCustomizations.stylesheets" = true; - "browser.ping-centre.telemetry" = false; - "browser.newtabpage.activity-stream.feeds.telemetry" = false; - "browser.newtabpage.activity-stream.telemetry" = false; - "app.shield.optoutstudies.enabled" = false; - "app.normandy.enabled" = false; - "app.normandy.api_url" = ""; - "dom.private-attribution.submission.enabled" = false; - "browser.newtabpage.activity-stream.feeds.showWeather" = false; - "browser.newtabpage.activity-stream.feeds.weatherfeed" = false; - - "browser.safebrowsing.malware.enabled" = false; - "browser.safebrowsing.phishing.enabled" = false; - "browser.safebrowsing.downloads.enabled" = false; - "browser.safebrowsing.downloads.remote.enabled" = false; - "browser.safebrowsing.downloads.remote.url" = ""; - "browser.safebrowsing.downloads.remote.block_potentially_unwanted" = false; - "browser.safebrowsing.downloads.remote.block_uncommon" = false; - "browser.safebrowsing.allowOverride" = false; - - "network.prefetch-next" = false; - "network.dns.disablePrefetch" = true; - "network.dns.disablePrefetchFromHTTPS" = true; - "network.predictor.enabled" = false; - "network.predictor.enable-prefetch" = false; - "network.http.speculative-parallel-limit" = 0; - "browser.places.speculativeConnect.enabled" = false; - "browser.send_pings" = false; - - "browser.urlbar.pocket.featureGate" = false; - "browser.urlbar.weather.featureGate" = false; - "browser.urlbar.speculativeConnect.enabled" = false; - "browser.urlbar.suggest.quicksuggest.nonsponsored" = false; - "browser.urlbar.suggest.quicksuggest.sponsored" = false; - "browser.search.suggest.enabled" = false; - "browser.urlbar.suggest.searches" = false; - "browser.urlbar.trending.featureGate" = false; - - "security.ssl.require_safe_negotiation" = true; - "security.remote_settings.crlite_filters.enabled" = true; - "security.pki.crlite_mode" = 2; - - "dom.security.https_only_mode" = true; - "dom.security.https_only_mode_pbm" = true; - "security.ssl.treat_unsafe_negotiation_as_broken" = true; - "browser.xul.error_pages.expert_bad_cert" = true; - "network.http.referer.XOriginTrimmingPolicy" = 2; - - "privacy.userContext.enabled" = true; - "privacy.userContext.ui.enabled" = true; - "privacy.userContext.newTabContainerOnLeftClick.enabled" = true; - - "dom.disable_window_move_resize" = true; - - "browser.uitour.enabled" = false; - - "browser.uitour.url" = ""; - "permissions.manager.defaultsUrl" = ""; - "webchannel.allowObject.urlWhitelist" = ""; - - "network.IDN_show_punycode" = true; - "pdfjs.disabled" = false; - "pdfjs.enableScripting" = false; - "browser.tabs.searchclipboardfor.middleclick" = false; - "browser.download.useDownloadDir" = false; - "browser.download.alwaysOpenPanel" = false; - - "browser.download.manager.addToRecentDocs" = false; - - "browser.download.always_ask_before_handling_new_types" = true; - "privacy.resistFingerprinting" = true; - "privacy.window.maxInnerWidth" = 1600; - "privacy.window.maxInnerHeight" = 900; - "privacy.resistFingerprinting.block_mozAddonManager" = true; - "privacy.resistFingerprinting.letterboxing" = false; - "widget.non-native-theme.enabled" = true; - "browser.link.open_newwindow" = 3; - "browser.link.open_newwindow.restriction" = 0; - "signon.rememberSignons" = false; - "dom.popup_allowed_events" = "click dblclick mousedown pointerdown"; - "browser.pagethumbnails.capturing_disabled" = true; - - "geo.enabled" = false; - "full-screen-api.enabled" = false; - "permissions.default.geo" = 0; - "permissions.default.camera" = 0; - "permissions.default.microphone" = 0; - "permissions.default.desktop-notification" = 0; - "permissions.default.xr" = 0; - }; - userChrome = '' - #TabsToolbar { display: none !important; } - #sidebar-box #sidebar-header { display: none !important; } - * { border-radius: 0px; } - ''; - }; - }; -} diff --git a/home/mun/programs/git.nix b/home/mun/programs/git.nix deleted file mode 100644 index 7d29b04..0000000 --- a/home/mun/programs/git.nix +++ /dev/null @@ -1,20 +0,0 @@ -{pkgs, ...}: { - programs.git = { - enable = true; - settings = { - user = { - name = "Natasha Moongrave"; - email = "natasha@256phi.eu"; - signingKey = "2A842249816B698B!"; - }; - commit.gpgSign = true; - gpg.program = "gpg"; - }; - }; - programs.gpg.enable = true; - - services.gpg-agent = { - enable = true; - pinentryPackage = pkgs.pinentry-curses; # terminal-friendly, good for a tty/zsh setup - }; -} diff --git a/home/mun/programs/nixcord.nix b/home/mun/programs/nixcord.nix deleted file mode 100644 index 6e3d470..0000000 --- a/home/mun/programs/nixcord.nix +++ /dev/null @@ -1,13 +0,0 @@ -{inputs, ...}: { - imports = [ - inputs.nixcord.homeModules.nixcord - ]; - - programs.nixcord = { - enable = true; - - discord = { - vencord.enable = true; - }; - }; -} diff --git a/home/mun/programs/nvim.nix b/home/mun/programs/nvim.nix deleted file mode 100644 index 7cda2e1..0000000 --- a/home/mun/programs/nvim.nix +++ /dev/null @@ -1,329 +0,0 @@ -{pkgs, ...}: { - home.packages = with pkgs; [ - zathura - ripgrep - fd - lazygit - stylua - alejandra - black - shfmt - typst - jdk21 # QwQ - gradle - - # Language servers - lua-language-server - nil - rust-analyzer - pyright - bash-language-server - texlab - tinymist - jdt-language-server - ]; - - programs.neovim = { - enable = true; - defaultEditor = true; - viAlias = true; - vimAlias = true; - - plugins = with pkgs.vimPlugins; [ - # UI - catppuccin-nvim - nvim-web-devicons - which-key-nvim - gitsigns-nvim - - # Syntax - (nvim-treesitter.withPlugins (p: [ - p.lua - p.nix - p.rust - p.python - p.bash - p.latex - p.c - p.typst - p.java - ])) - - # LSP - nvim-lspconfig - - # Completion / snippets - nvim-cmp - cmp-nvim-lsp - cmp_luasnip - luasnip - friendly-snippets - nvim-autopairs - - # Formatting - conform-nvim - comment-nvim - - # Navigation - telescope-nvim - plenary-nvim - nvim-tree-lua - - # Terminal - toggleterm-nvim - - # Writing - vimtex - orgmode - - # Start screen - { - plugin = vim-startify; - config = "let g:startify_change_to_vcs_root = 0"; - } - ]; - - extraLuaConfig = '' - ------------------------------------------------- - -- LEADER - ------------------------------------------------- - vim.g.mapleader = " " - - ------------------------------------------------- - -- BASIC OPTIONS - ------------------------------------------------- - vim.opt.number = true - vim.opt.relativenumber = true - vim.opt.clipboard = "unnamedplus" - vim.opt.showtabline = 2 - vim.o.timeout = true - vim.o.timeoutlen = 300 - - ------------------------------------------------- - -- THEME - ------------------------------------------------- - require("catppuccin").setup({ - flavour = "mocha", - }) - vim.cmd.colorscheme("catppuccin") - - ------------------------------------------------- - -- GITSIGNS - ------------------------------------------------- - require("gitsigns").setup() - - ------------------------------------------------- - -- TREESITTER - ------------------------------------------------- - require("nvim-treesitter.configs").setup({ - highlight = { enable = true }, - indent = { enable = true }, - }) - - vim.opt.foldmethod = "expr" - vim.opt.foldexpr = "nvim_treesitter#foldexpr()" - vim.opt.foldenable = false - - ------------------------------------------------- - -- SNIPPETS - ------------------------------------------------- - require("luasnip.loaders.from_vscode").lazy_load() - - ------------------------------------------------- - -- COMPLETION - ------------------------------------------------- - local cmp = require("cmp") - local luasnip = require("luasnip") - - cmp.setup({ - snippet = { - expand = function(args) - luasnip.lsp_expand(args.body) - end, - }, - mapping = cmp.mapping.preset.insert({ - [""] = cmp.mapping.complete(), - [""] = cmp.mapping.confirm({ select = true }), - }), - sources = { - { name = "nvim_lsp" }, - { name = "luasnip" }, - }, - }) - - require("nvim-autopairs").setup({}) - - ------------------------------------------------- - -- LSP - ------------------------------------------------- - local capabilities = require("cmp_nvim_lsp").default_capabilities() - - local servers = { - "lua_ls", - "nil_ls", - "rust_analyzer", - "pyright", - "bashls", - "texlab", - "tinymist" - } - - for _, server in ipairs(servers) do - vim.lsp.config(server, { - capabilities = capabilities - }) - vim.lsp.enable(server) - end - - ------------------------------------------------- - -- LSP KEYMAPS - ------------------------------------------------- - vim.keymap.set("n", "ld", vim.lsp.buf.definition) - vim.keymap.set("n", "lD", vim.lsp.buf.declaration) - vim.keymap.set("n", "li", vim.lsp.buf.implementation) - vim.keymap.set("n", "lr", vim.lsp.buf.references) - vim.keymap.set("n", "lh", vim.lsp.buf.hover) - vim.keymap.set("n", "ln", vim.lsp.buf.rename) - vim.keymap.set("n", "la", vim.lsp.buf.code_action) - vim.keymap.set("n", "lf", function() vim.lsp.buf.format() end) - - ------------------------------------------------- - -- DIAGNOSTICS - ------------------------------------------------- - vim.keymap.set("n", "lj", vim.diagnostic.goto_next) - vim.keymap.set("n", "lk", vim.diagnostic.goto_prev) - vim.keymap.set("n", "le", vim.diagnostic.open_float) - - ------------------------------------------------- - -- FORMATTER - ------------------------------------------------- - require("conform").setup({ - format_on_save = { - timeout_ms = 500, - lsp_format = "fallback", - }, - formatters_by_ft = { - lua = { "stylua" }, - nix = { "alejandra" }, - rust = { "rustfmt" }, - python = { "black" }, - bash = { "shfmt" }, - }, - }) - - require("Comment").setup() - - ------------------------------------------------- - -- TELESCOPE - ------------------------------------------------- - local builtin = require("telescope.builtin") - - require("telescope").setup({ - defaults = { - layout_strategy = "horizontal", - sorting_strategy = "ascending", - file_ignore_patterns = { "node_modules", ".git/" }, - }, - }) - - vim.keymap.set("n", "", builtin.find_files) - vim.keymap.set("n", "fg", builtin.live_grep) - vim.keymap.set("n", "fb", builtin.buffers) - - ------------------------------------------------- - -- WHICH KEY - ------------------------------------------------- - local wk = require("which-key") - wk.add({ - { "l", desc = "LSP" }, - { "o", desc = "Org" } - }) - - ------------------------------------------------- - -- NVIM TREE - ------------------------------------------------- - require("nvim-tree").setup({}) - vim.keymap.set("n", "e", "NvimTreeToggle") - - ------------------------------------------------- - -- TERMINAL - ------------------------------------------------- - require("toggleterm").setup({ - direction = "float", - }) - - local Terminal = require("toggleterm.terminal").Terminal - - local lazygit = Terminal:new({ - cmd = "lazygit", - hidden = true, - direction = "float", - }) - - vim.keymap.set("n", "gg", function() - lazygit:toggle() - end) - - - ------------------------------------------------- - -- ORGMODE - ------------------------------------------------- - local projects = { - "~/Documents/2_Writing/0_SOC/**/*.org", - "~/Documents/2_Writing/2_Notes/**/*.org", - "~/Documents/1_Projects/6_CRC-Altura/**/*.org", - "~/ORG/**/*.org" - } - - require("orgmode").setup({ - org_agenda_files = projects, - org_default_notes_file = "~/ORG/inbox.org", -- move inbox inside ~/ORG - - org_capture_templates = { - t = { - description = "Todo", - template = "* TODO %?\n SCHEDULED: %t", - target = "~/ORG/todos.org", - }, - i = { - description = "Idea", - template = "* %? :idea:\n %U", - target = "~/ORG/ideas.org", - }, - n = { - description = "Note", - template = "* %?\n %U", - target = "~/ORG/inbox.org", - }, - j = { - description = "Journal", - template = "* %<%Y-%m-%d>\n %?", - target = "~/ORG/journal.org", - }, - }, - }) - - vim.keymap.set("n", "oc", function() require("orgmode").action("capture.prompt") end, { desc = "Org Capture" }) - vim.keymap.set("n", "oa", function() require("orgmode").action("agenda.prompt") end, { desc = "Org Agenda" }) - ------------------------------------------------- - -- VIMTEX - ------------------------------------------------- - vim.g.vimtex_view_method = "zathura" - - ------------------------------------------------- - -- TYPST - ------------------------------------------------- - vim.api.nvim_create_autocmd("FileType", { - pattern = "typst", - callback = function() - -- Watch + preview - vim.keymap.set("n", "lw", function() - local file = vim.fn.expand("%") - vim.fn.jobstart({ "typst", "watch", file }) - vim.fn.jobstart({ "zathura", vim.fn.expand("%:r") .. ".pdf" }) - end, { buffer = true, desc = "Typst watch + Zathura" }) - end, - }) - ''; - }; -} diff --git a/home/mun/programs/rmpc.nix b/home/mun/programs/rmpc.nix deleted file mode 100644 index 4ce9f73..0000000 --- a/home/mun/programs/rmpc.nix +++ /dev/null @@ -1,14 +0,0 @@ -{pkgs, ...}: { - # Install rmpc from unstable nix - home.packages = with pkgs.unstable; - [ - rmpc - ] # Add cava and libnotify as a stable package for config dependencies - ++ (with pkgs; [ - cava - libnotify - mpc - ]); - # Write the rmpc config - xdg.configFile."rmpc/config.ron".source = ./rmpc/config.ron; -} diff --git a/home/mun/programs/rmpc/config.ron b/home/mun/programs/rmpc/config.ron deleted file mode 100644 index 1f5bd91..0000000 --- a/home/mun/programs/rmpc/config.ron +++ /dev/null @@ -1,322 +0,0 @@ -#![enable(implicit_some)] -#![enable(unwrap_newtypes)] -#![enable(unwrap_variant_newtypes)] -( - address: "127.0.0.1:6600", - password: None, - theme: None, - cache_dir: None, - - // Notify on song change - on_song_change: Some(["sh", "-c", "notify-send -a rmpc '${TITLE:-Unknown}' '${ARTIST:-Unknown Artist} — ${ALBUM:-Unknown Album}'"]), - exec_on_song_change_at_start: false, - - on_exit: None, - - // Lyrics - lyrics_dir: Some("~/Music/lyrics"), - lyrics_offset_ms: 0, - enable_lyrics_index: true, - enable_lyrics_hot_reload: true, - - // Playback - volume_step: 5, - rewind_to_start_sec: Some(3), - keep_state_on_song_change: true, - reflect_changes_to_playlist: false, - - // UI - max_fps: 60, - scrolloff: 5, - wrap_navigation: false, - enable_mouse: true, - scroll_amount: 3, - status_update_interval_ms: 500, - select_current_song_on_change: true, - center_current_song_on_change: true, - enable_config_hot_reload: true, - quit_closes_modal: true, - auto_open_downloads: true, - ignore_leading_the: true, - browser_song_sort: [Disc, Track, Artist, Title], - directories_sort: SortFormat(group_by_type: true, reverse: false), - - album_art: ( - method: Auto, - max_size_px: (width: 1200, height: 1200), - disabled_protocols: ["http://", "https://"], - vertical_align: Center, - horizontal_align: Center, - ), - - cava: ( - framerate: 60, - autosens: true, - sensitivity: 100, - lower_cutoff_freq: 50, - higher_cutoff_freq: 10000, - input: ( - method: Fifo, - source: "/tmp/mpd.fifo", - sample_rate: 44100, - channels: 2, - sample_bits: 16, - ), - smoothing: ( - noise_reduction: 77, - monstercat: false, - waves: false, - ), - eq: [], - ), - - // Keybinds — default rmpc binds are already vim-style (hjkl, gg/G, C-u/C-d, etc.) - // keeping defaults and just adding a couple of extras - keybinds: ( - clear: false, - global: { - "q": Quit, - "?": ShowHelp, - ":": CommandMode, - "oI": ShowCurrentSongInfo, - "oo": ShowOutputs, - "op": ShowDecoders, - "od": ShowDownloads, - "oP": Partition(), - "z": ToggleRepeat, - "x": ToggleRandom, - "c": ToggleConsume, - "v": ToggleSingle, - "p": TogglePause, - "s": Stop, - ">": NextTrack, - "<": PreviousTrack, - "f": SeekForward, - "b": SeekBack, - ".": VolumeUp, - ",": VolumeDown, - "": NextTab, - "gt": NextTab, - "": PreviousTab, - "gT": PreviousTab, - "1": SwitchToTab("Queue"), - "2": SwitchToTab("Directories"), - "3": SwitchToTab("Artists"), - "4": SwitchToTab("Album Artists"), - "5": SwitchToTab("Albums"), - "6": SwitchToTab("Playlists"), - "7": SwitchToTab("Search"), - "u": Update, - "U": Rescan, - "R": AddRandom, - }, - navigation: { - "": Close, - "": Close, - "": Confirm, - "k": Up, - "": Up, - "j": Down, - "": Down, - "h": Left, - "": Left, - "l": Right, - "": Right, - "k": PaneUp, - "": PaneUp, - "j": PaneDown, - "": PaneDown, - "h": PaneLeft, - "": PaneLeft, - "l": PaneRight, - "": PaneRight, - "K": MoveUp, - "J": MoveDown, - "": UpHalf, - "": DownHalf, - "": PageUp, - "": PageUp, - "": PageDown, - "": PageDown, - "gg": Top, - "G": Bottom, - "": Select, - "": InvertSelection, - "/": EnterSearch, - "n": NextResult, - "N": PreviousResult, - "a": Add, - "A": AddAll, - "D": Delete, - "": Rename, - "i": FocusInput, - "oi": ShowInfo, - "": ContextMenu(), - "s": Save(kind: Modal(all: false, duplicates_strategy: Ask)), - "a": Save(kind: Modal(all: true, duplicates_strategy: Ask)), - "r": Rate(), - }, - queue: { - "d": Delete, - "D": DeleteAll, - "": Play, - "C": JumpToCurrent, - "X": Shuffle, - }, - ), - - search: ( - case_sensitive: false, - ignore_diacritics: true, - search_button: false, - mode: Contains, - tags: [ - (value: "any", label: "Any Tag"), - (value: "artist", label: "Artist"), - (value: "album", label: "Album"), - (value: "albumartist", label: "Album Artist"), - (value: "title", label: "Title"), - (value: "filename", label: "Filename"), - (value: "genre", label: "Genre"), - ], - ), - - artists: ( - album_display_mode: SplitByDate, - album_sort_by: Date, - album_date_tags: [Date], - ), - - // Layout: Queue tab has album art + lyrics on left, queue on right - // Other tabs are simple single-pane - tabs: [ - ( - name: "Queue", - pane: Split( - direction: Horizontal, - panes: [ - ( - size: "35%", - pane: Split( - direction: Vertical, - panes: [ - ( - size: "100%", - borders: "LEFT | RIGHT | TOP", - border_symbols: Rounded, - pane: Pane(AlbumArt) - ), - ( - size: "6", - borders: "LEFT | RIGHT", - border_symbols: Rounded, - pane: Pane(Cava) - ), - ( - size: "7", - borders: "ALL", - border_symbols: Inherited(parent: Rounded, top_left: "├", top_right: "┤",), - border_title: [(kind: Text(" Lyrics "))], - border_title_alignment: Right, - pane: Pane(Lyrics) - ), - ], - ), - ), - ( - size: "65%", - pane: Split( - direction: Vertical, - panes: [ - ( - size: "3", - borders: "ALL", - border_symbols: Inherited(parent: Rounded, bottom_left: "├", bottom_right: "┤",), - pane: Split( - direction: Horizontal, - panes: [ - (size: "1", pane: Pane(Empty())), - (size: "100%", pane: Pane(QueueHeader())), - ] - ) - ), - ( - size: "100%", - borders: "LEFT | RIGHT | BOTTOM", - border_symbols: Rounded, - pane: Split( - direction: Horizontal, - panes: [ - (size: "1", pane: Pane(Empty())), - (size: "100%", pane: Pane(Queue)), - ] - ) - ), - ], - ) - ), - ], - ), - ), - ( - name: "Directories", - borders: "ALL", - border_symbols: Rounded, - pane: Split( - size: "100%", - direction: Vertical, - panes: [(pane: Pane(Directories), size: "100%", borders: "ALL", border_symbols: Rounded)], - ) - ), - ( - name: "Artists", - borders: "ALL", - border_symbols: Rounded, - pane: Split( - size: "100%", - direction: Vertical, - panes: [(pane: Pane(Artists), size: "100%", borders: "ALL", border_symbols: Rounded)], - ) - ), - ( - name: "Album Artists", - borders: "ALL", - border_symbols: Rounded, - pane: Split( - size: "100%", - direction: Vertical, - panes: [(pane: Pane(AlbumArtists), size: "100%", borders: "ALL", border_symbols: Rounded)], - ) - ), - ( - name: "Albums", - borders: "ALL", - border_symbols: Rounded, - pane: Split( - size: "100%", - direction: Vertical, - panes: [(pane: Pane(Albums), size: "100%", borders: "ALL", border_symbols: Rounded)], - ) - ), - ( - name: "Playlists", - borders: "ALL", - border_symbols: Rounded, - pane: Split( - size: "100%", - direction: Vertical, - panes: [(pane: Pane(Playlists), size: "100%", borders: "ALL", border_symbols: Rounded)], - ) - ), - ( - name: "Search", - borders: "ALL", - border_symbols: Rounded, - pane: Split( - size: "100%", - direction: Vertical, - panes: [(pane: Pane(Search), size: "100%", borders: "ALL", border_symbols: Rounded)], - ) - ), - ], -) diff --git a/home/mun/programs/ssh.nix b/home/mun/programs/ssh.nix deleted file mode 100644 index 173f0fd..0000000 --- a/home/mun/programs/ssh.nix +++ /dev/null @@ -1,31 +0,0 @@ -{...}: { - programs.ssh = { - enable = true; - enableDefaultConfig = false; - matchBlocks = { - "*" = { - addKeysToAgent = "no"; - forwardAgent = false; - }; - "apollo" = { - user = "root"; - hostname = "100.97.73.86"; - }; - "cgit" = { - user = "git"; - hostname = "100.76.17.20"; - identityFile = "~/.ssh/cgit"; - }; - "codeberg" = { - user = "git"; - hostname = "codeberg.org"; - identityFile = "~/.ssh/codeberg"; - }; - "poseidon" = { - user = "admin"; - hostname = "81.2.236.202"; - identityFile = "/mnt/ssh-keys/poseidon"; - }; - }; - }; -} diff --git a/home/mun/programs/zsh.nix b/home/mun/programs/zsh.nix deleted file mode 100644 index 816ea1b..0000000 --- a/home/mun/programs/zsh.nix +++ /dev/null @@ -1,32 +0,0 @@ -{...}: { - programs.zsh = { - enable = true; - syntaxHighlighting.enable = true; - - shellAliases = { - ll = "ls -l"; - rebuild = "sudo nixos-rebuild switch"; - edit = "sudo vi /etc/nixos/configuration.nix"; - }; - - history.size = 10000; - - oh-my-zsh = { - enable = true; - plugins = ["git"]; - theme = "simple"; - }; - - initContent = '' - fastfetch --config examples/9.jsonc - export GPG_TTY=$(tty) - SSH_AUTH_SOCK=/run/user/1000/ssh-agent.socket - ''; - }; - programs.bash = { - initExtra = '' - export GPG_TTY=$(tty) - SSH_AUTH_SOCK=/run/user/1000/ssh-agent.socket - ''; - }; -} diff --git a/home/rices/cinnamon/default.nix b/home/rices/cinnamon/default.nix deleted file mode 100644 index 6b7865d..0000000 --- a/home/rices/cinnamon/default.nix +++ /dev/null @@ -1,4 +0,0 @@ -{ - system = import ./system.nix; - home = import ./home.nix; -} diff --git a/home/rices/cinnamon/home.nix b/home/rices/cinnamon/home.nix deleted file mode 100644 index 5e994b3..0000000 --- a/home/rices/cinnamon/home.nix +++ /dev/null @@ -1,3 +0,0 @@ -{...}: { - # Cinnamon manages most UI config itself; HM overrides can go here -} diff --git a/home/rices/cinnamon/system.nix b/home/rices/cinnamon/system.nix deleted file mode 100644 index 96aa1f1..0000000 --- a/home/rices/cinnamon/system.nix +++ /dev/null @@ -1,50 +0,0 @@ -{pkgs, ...}: let - vars = import ./variables.nix; -in { - services.xserver = { - enable = true; - desktopManager.cinnamon.enable = true; - xkb = { - layout = "cz"; - options = "eurosign:e,caps:escape"; - }; - }; - - environment.systemPackages = with pkgs; [ - xorg.xrandr - xclip - gnome-screenshot - ]; - - stylix = { - enable = true; - autoEnable = true; - base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-medium.yaml"; - image = vars.image; - - fonts = { - monospace = { - package = pkgs.dejavu_fonts; - name = "DejaVu Sans Mono"; - }; - sansSerif = { - package = pkgs.dejavu_fonts; - name = "DejaVu Sans"; - }; - serif = { - package = pkgs.dejavu_fonts; - name = "DejaVu Serif"; - }; - emoji = { - package = pkgs.noto-fonts-color-emoji; - name = "Noto Color Emoji"; - }; - sizes = { - terminal = 11; - applications = 11; - desktop = 11; - }; - }; - polarity = "dark"; - }; -} diff --git a/home/rices/cinnamon/variables.nix b/home/rices/cinnamon/variables.nix deleted file mode 100644 index 4c13af7..0000000 --- a/home/rices/cinnamon/variables.nix +++ /dev/null @@ -1,3 +0,0 @@ -{ - image = ../../../assets/wallpapers/insert_coin.jpeg; -} diff --git a/home/rices/nord-blue/alacritty.nix b/home/rices/nord-blue/alacritty.nix deleted file mode 100644 index 772718c..0000000 --- a/home/rices/nord-blue/alacritty.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ - pkgs, - lib, - ... -}: { - # Let Stylix handle Alacritty theming - # Only override font size if needed - programs.alacritty.settings.font.size = lib.mkForce 10; - - home.packages = with pkgs; [ - nerd-fonts.jetbrains-mono - ]; -} diff --git a/home/rices/nord-blue/default.nix b/home/rices/nord-blue/default.nix deleted file mode 100644 index 6b7865d..0000000 --- a/home/rices/nord-blue/default.nix +++ /dev/null @@ -1,4 +0,0 @@ -{ - system = import ./system.nix; - home = import ./home.nix; -} diff --git a/home/rices/nord-blue/dunst.nix b/home/rices/nord-blue/dunst.nix deleted file mode 100644 index 6226cb6..0000000 --- a/home/rices/nord-blue/dunst.nix +++ /dev/null @@ -1,101 +0,0 @@ -{ config, pkgs, lib, ... }: - -let - vars = import ./variables.nix; - - # Battery notification script - batteryNotify = pkgs.writeShellScriptBin "battery-notify" '' - #!/bin/sh - - # Get battery status - BATTERY_PATH="/sys/class/power_supply/BAT0" - - if [ ! -d "$BATTERY_PATH" ]; then - # Try BAT1 if BAT0 doesn't exist - BATTERY_PATH="/sys/class/power_supply/BAT1" - if [ ! -d "$BATTERY_PATH" ]; then - exit 0 - fi - fi - - CAPACITY=$(cat "$BATTERY_PATH/capacity") - STATUS=$(cat "$BATTERY_PATH/status") - - # Critical threshold (5%) - if [ "$CAPACITY" -le 5 ] && [ "$STATUS" != "Charging" ]; then - ${pkgs.libnotify}/bin/notify-send -u critical "Battery Critical" "Battery level: $CAPACITY%\nPlease plug in charger immediately!" - # Low threshold (15%) - elif [ "$CAPACITY" -le 15 ] && [ "$STATUS" != "Charging" ]; then - ${pkgs.libnotify}/bin/notify-send -u normal "Battery Low" "Battery level: $CAPACITY%\nConsider plugging in charger soon." - fi - ''; - -in { - home.packages = [ batteryNotify ]; - - services.dunst = { - enable = true; - - settings = { - global = { - width = "(200,300)"; - height = "(0,150)"; - offset = "(30,50)"; - origin = "bottom-right"; - transparency = 10; - frame_width = 2; - corner_radius = 8; - gap_size = 5; - }; - - # Let stylix handle color styling - # urgency_low = { - # background = vars.colors.background; - # foreground = vars.colors.foreground; - # timeout = 8; - # }; - - # urgency_normal = { - # background = vars.colors.background; - # foreground = vars.colors.foreground; - # frame_color = vars.colors.accent; - # timeout = 10; - # }; - - urgency_critical = { - # background = vars.colors.background; - # foreground = vars.colors.foreground; - # frame_color = vars.colors.alert; - timeout = 0; # Don't auto-dismiss critical notifications - }; - }; - }; - - # Systemd service to check battery periodically - systemd.user.services.battery-notify = { - Unit = { - Description = "Battery level notification service"; - }; - - Service = { - Type = "oneshot"; - ExecStart = "${batteryNotify}/bin/battery-notify"; - }; - }; - - # Timer to run battery check every 2 minutes - systemd.user.timers.battery-notify = { - Unit = { - Description = "Battery level notification timer"; - }; - - Timer = { - OnBootSec = "1min"; - OnUnitActiveSec = "2min"; - }; - - Install = { - WantedBy = [ "timers.target" ]; - }; - }; -} diff --git a/home/rices/nord-blue/fastfetch.nix b/home/rices/nord-blue/fastfetch.nix deleted file mode 100644 index 700ae80..0000000 --- a/home/rices/nord-blue/fastfetch.nix +++ /dev/null @@ -1,24 +0,0 @@ -{...}: { - programs.fastfetch = { - enable = true; - settings = { - logo = { - type = "builtin"; - source = "nixos_small"; - }; - display.separator = " "; - modules = [ - "title" - "os" - "kernel" - "uptime" - "packages" - "shell" - "terminal" - "cpu" - "memory" - "disk" - ]; - }; - }; -} diff --git a/home/rices/nord-blue/helix.nix b/home/rices/nord-blue/helix.nix deleted file mode 100644 index eb893ee..0000000 --- a/home/rices/nord-blue/helix.nix +++ /dev/null @@ -1,171 +0,0 @@ -{ - pkgs, - lib, - ... -}: { - programs.helix = { - enable = true; - defaultEditor = false; - settings = { - # Let Stylix handle theming - editor = { - cursor-shape = { - normal = "block"; - insert = "bar"; - select = "underline"; - }; - line-number = "relative"; - bufferline = "multiple"; - color-modes = true; - cursorline = true; - auto-save = { - after-delay.enable = true; - after-delay.timeout = 10000; - }; - auto-format = true; - end-of-line-diagnostics = "hint"; - inline-diagnostics.cursor-line = "hint"; - lsp = { - display-messages = true; - display-inlay-hints = true; - }; - popup-border = "popup"; - statusline.left = [ - "mode" - "spinner" - "spacer" - "version-control" - "file-name" - "diagnostics" - "read-only-indicator" - "file-modification-indicator" - "spacer" - ]; - statusline.right = [ - "workspace-diagnostics" - "register" - "position" - "selections" - "file-encoding" - "file-type" - ]; - idle-timeout = 50; - completion-timeout = 100; - indent-guides = { - render = true; - character = "|"; - skip-levels = 3; - }; - soft-wrap.enable = true; - whitespace = { - render = { - space = "none"; - tab = "all"; - newline = "none"; - }; - characters = { - nbsp = "·"; - tab = "→"; - }; - }; - }; - }; - languages = { - language-server = { - "bash-language-server" = { - command = "${pkgs.bash-language-server}/bin/bash-language-server"; - args = ["start"]; - }; - "superhtml" = { - command = "${pkgs.superhtml}/bin/superhtml"; - }; - "vscode-css-languageserver" = { - command = "${pkgs.vscode-css-languageserver}/bin/vscode-css-languageserver"; - }; - "rust-analyzer" = { - command = "${pkgs.rust-analyzer}/bin/rust-analyzer"; - }; - "pyright" = { - command = "${pkgs.pyright}/bin/pyright"; - }; - "nil" = { - command = "${pkgs.nil}/bin/nil"; - }; - "texlab" = { - command = "${pkgs.texlab}/bin/texlab"; - }; - texlab.config.texlab = { - build = { - onSave = true; - forwardSearchAfter = true; - }; - chktext.onEdit = true; - forwardSearch = { - executable = "zathura"; - args = ["--synctex-forward" "%l:1:%f" "%p"]; - }; - }; - "marksman" = { - command = "${pkgs.marksman}/bin/marksman"; - }; - }; - language = [ - { - name = "bash"; - language-servers = ["bash-language-server"]; - auto-format = true; - } - { - name = "html"; - language-servers = ["superhtml"]; - auto-format = true; - } - { - name = "css"; - language-servers = ["vscode-css-languageserver"]; - auto-format = true; - } - { - name = "rust"; - language-servers = ["rust-analyzer"]; - auto-format = true; - } - { - name = "python"; - language-servers = ["pyright"]; - auto-format = true; - } - { - name = "nix"; - language-servers = ["nil"]; - auto-format = true; - } - { - name = "latex"; - language-servers = ["texlab"]; - auto-format = true; - } - { - name = "markdown"; - language-servers = ["marksman"]; - auto-format = true; - } - ]; - }; - }; - - home.packages = with pkgs; [ - zathura - ripgrep - fd - bash-language-server - superhtml - vscode-css-languageserver - rust-analyzer - llvmPackages_latest.lldb - pyright - nil - texlab - marksman - ]; -} diff --git a/home/rices/nord-blue/home.nix b/home/rices/nord-blue/home.nix deleted file mode 100644 index cb2090c..0000000 --- a/home/rices/nord-blue/home.nix +++ /dev/null @@ -1,11 +0,0 @@ -{...}: { - imports = [ - ./alacritty.nix - ./i3.nix - ./nvim.nix - ./helix.nix - ./picom.nix - ./fastfetch.nix - ./dunst.nix - ]; -} diff --git a/home/rices/nord-blue/i3.nix b/home/rices/nord-blue/i3.nix deleted file mode 100644 index 643430b..0000000 --- a/home/rices/nord-blue/i3.nix +++ /dev/null @@ -1,111 +0,0 @@ -{ - pkgs, - lib, - ... -}: let - vars = import ./variables.nix; - mod = "Mod4"; - - lock-screen = pkgs.writeShellScriptBin "lock-screen" '' - #!/usr/bin/env sh - set -eu - WALL="''${1:-$HOME/Pictures/wallpaper.png}" - TMP="/tmp/lockscreen.png" - RES=$(xrandr | awk '/\*/ {print $1; exit}') - magick "$WALL" -resize "''${RES}^" -gravity center -extent "$RES" "$TMP" - i3lock -i "$TMP" - ''; - - app-launcher = pkgs.writeShellScriptBin "app-launcher" '' - #!/usr/bin/env sh - BG='${vars.colors.background}' - FG='${vars.colors.foreground}' - ACCENT='${vars.colors.accent}' - TEXT='${vars.colors.text}' - dmenu_run -fn 'JetBrains Mono-12' -nb "$BG" -nf "$FG" -sb "$ACCENT" -sf "$TEXT" - ''; -in { - xsession.windowManager.i3 = { - enable = true; - config = { - modifier = mod; - bars = []; - - window = { - titlebar = false; - border = 3; - }; - - # Colors handled by Stylix - - startup = [ - {command = "sh -c 'feh --bg-scale ~/Pictures/wallpaper.png'";} - ]; - - keybindings = lib.mkOptionDefault { - "${mod}+Return" = "exec ${pkgs.alacritty}/bin/alacritty"; - "${mod}+d" = "exec ${app-launcher}/bin/app-launcher"; - "${mod}+m" = "exec ${app-launcher}/bin/app-launcher"; - "${mod}+Shift+m" = "exec alacritty -e nnn"; - "${mod}+n" = "exec firefox"; - "${mod}+q" = "kill"; - "${mod}+Ctrl+l" = "exec ${lock-screen}/bin/lock-screen"; - "${mod}+Shift+r" = "restart"; - "${mod}+Ctrl+Shift+e" = "exec sh -c 'i3-msg exit'"; - "${mod}+Shift+s" = "exec flameshot gui"; - - # Focus (vim bindings) - "${mod}+h" = "focus left"; - "${mod}+j" = "focus down"; - "${mod}+k" = "focus up"; - "${mod}+l" = "focus right"; - - # Focus (arrow keys) - "${mod}+Left" = "focus left"; - "${mod}+Down" = "focus down"; - "${mod}+Up" = "focus up"; - "${mod}+Right" = "focus right"; - - # Move (vim bindings) - "${mod}+Shift+h" = "move left"; - "${mod}+Shift+j" = "move down"; - "${mod}+Shift+k" = "move up"; - "${mod}+Shift+l" = "move right"; - - # Move (arrow keys) - "${mod}+Shift+Left" = "move left"; - "${mod}+Shift+Down" = "move down"; - "${mod}+Shift+Up" = "move up"; - "${mod}+Shift+Right" = "move right"; - - # Volume - "XF86AudioRaiseVolume" = "exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+"; - "XF86AudioLowerVolume" = "exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"; - "XF86AudioMute" = "exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"; - "XF86AudioMicMute" = "exec wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"; - - # Brightness - "XF86MonBrightnessUp" = "exec brightnessctl set 5%+"; - "XF86MonBrightnessDown" = "exec brightnessctl set 5%-"; - }; - }; - - extraConfig = '' - smart_borders on - - # Remove borders from notification windows - for_window [class="^Dunst$"] border none - for_window [class="^dunst$"] border none - ''; - }; - - home.packages = with pkgs; [ - dmenu - i3lock - imagemagick - polybar - alacritty - feh - nnn - ]; -} diff --git a/home/rices/nord-blue/nvim.nix b/home/rices/nord-blue/nvim.nix deleted file mode 100644 index 9677c57..0000000 --- a/home/rices/nord-blue/nvim.nix +++ /dev/null @@ -1,279 +0,0 @@ -{pkgs, ...}: { - home.packages = with pkgs; [ - zathura - ripgrep - fd - lazygit - stylua - alejandra - black - shfmt - - # Language servers - lua-language-server - nil - rust-analyzer - pyright - bash-language-server - texlab - ]; - - programs.neovim = { - enable = true; - defaultEditor = true; - viAlias = true; - vimAlias = true; - - plugins = with pkgs.vimPlugins; [ - # UI - catppuccin-nvim - nvim-web-devicons - which-key-nvim - gitsigns-nvim - - # Syntax - (nvim-treesitter.withPlugins (p: [ - p.lua - p.nix - p.rust - p.python - p.bash - p.latex - p.c - ])) - - # LSP - nvim-lspconfig - - # Completion / snippets - nvim-cmp - cmp-nvim-lsp - cmp_luasnip - luasnip - friendly-snippets - nvim-autopairs - - # Formatting - conform-nvim - comment-nvim - - # Navigation - telescope-nvim - plenary-nvim - nvim-tree-lua - - # Terminal - toggleterm-nvim - - # Writing - vimtex - orgmode - - # Start screen - { - plugin = vim-startify; - config = "let g:startify_change_to_vcs_root = 0"; - } - ]; - - extraLuaConfig = '' - ------------------------------------------------- - -- LEADER - ------------------------------------------------- - vim.g.mapleader = " " - - ------------------------------------------------- - -- BASIC OPTIONS - ------------------------------------------------- - vim.opt.number = true - vim.opt.relativenumber = true - vim.opt.clipboard = "unnamedplus" - vim.opt.showtabline = 2 - vim.o.timeout = true - vim.o.timeoutlen = 300 - - ------------------------------------------------- - -- THEME - ------------------------------------------------- - require("catppuccin").setup({ - flavour = "mocha", - }) - vim.cmd.colorscheme("catppuccin") - - ------------------------------------------------- - -- GITSIGNS - ------------------------------------------------- - require("gitsigns").setup() - - ------------------------------------------------- - -- TREESITTER - ------------------------------------------------- - require("nvim-treesitter.configs").setup({ - highlight = { enable = true }, - indent = { enable = true }, - }) - - vim.opt.foldmethod = "expr" - vim.opt.foldexpr = "nvim_treesitter#foldexpr()" - vim.opt.foldenable = false - - ------------------------------------------------- - -- SNIPPETS - ------------------------------------------------- - require("luasnip.loaders.from_vscode").lazy_load() - - ------------------------------------------------- - -- COMPLETION - ------------------------------------------------- - local cmp = require("cmp") - local luasnip = require("luasnip") - - cmp.setup({ - snippet = { - expand = function(args) - luasnip.lsp_expand(args.body) - end, - }, - mapping = cmp.mapping.preset.insert({ - [""] = cmp.mapping.complete(), - [""] = cmp.mapping.confirm({ select = true }), - }), - sources = { - { name = "nvim_lsp" }, - { name = "luasnip" }, - }, - }) - - require("nvim-autopairs").setup({}) - - ------------------------------------------------- - -- LSP - ------------------------------------------------- - local capabilities = require("cmp_nvim_lsp").default_capabilities() - - local servers = { - "lua_ls", - "nil_ls", - "rust_analyzer", - "pyright", - "bashls", - "texlab", - } - - for _, server in ipairs(servers) do - vim.lsp.config(server, { - capabilities = capabilities - }) - vim.lsp.enable(server) - end - - ------------------------------------------------- - -- LSP KEYMAPS - ------------------------------------------------- - vim.keymap.set("n", "ld", vim.lsp.buf.definition) - vim.keymap.set("n", "lD", vim.lsp.buf.declaration) - vim.keymap.set("n", "li", vim.lsp.buf.implementation) - vim.keymap.set("n", "lr", vim.lsp.buf.references) - vim.keymap.set("n", "lh", vim.lsp.buf.hover) - vim.keymap.set("n", "ln", vim.lsp.buf.rename) - vim.keymap.set("n", "la", vim.lsp.buf.code_action) - vim.keymap.set("n", "lf", function() vim.lsp.buf.format() end) - - ------------------------------------------------- - -- DIAGNOSTICS - ------------------------------------------------- - vim.keymap.set("n", "lj", vim.diagnostic.goto_next) - vim.keymap.set("n", "lk", vim.diagnostic.goto_prev) - vim.keymap.set("n", "le", vim.diagnostic.open_float) - - ------------------------------------------------- - -- FORMATTER - ------------------------------------------------- - require("conform").setup({ - format_on_save = { - timeout_ms = 500, - lsp_format = "fallback", - }, - formatters_by_ft = { - lua = { "stylua" }, - nix = { "alejandra" }, - rust = { "rustfmt" }, - python = { "black" }, - bash = { "shfmt" }, - }, - }) - - require("Comment").setup() - - ------------------------------------------------- - -- TELESCOPE - ------------------------------------------------- - local builtin = require("telescope.builtin") - - require("telescope").setup({ - defaults = { - layout_strategy = "horizontal", - sorting_strategy = "ascending", - file_ignore_patterns = { "node_modules", ".git/" }, - }, - }) - - vim.keymap.set("n", "", builtin.find_files) - vim.keymap.set("n", "fg", builtin.live_grep) - vim.keymap.set("n", "fb", builtin.buffers) - - ------------------------------------------------- - -- WHICH KEY - ------------------------------------------------- - local wk = require("which-key") - wk.add({ - { "l", desc = "LSP" } - }) - - ------------------------------------------------- - -- NVIM TREE - ------------------------------------------------- - require("nvim-tree").setup({}) - vim.keymap.set("n", "e", "NvimTreeToggle") - - ------------------------------------------------- - -- TERMINAL - ------------------------------------------------- - require("toggleterm").setup({ - direction = "float", - }) - - local Terminal = require("toggleterm.terminal").Terminal - - local lazygit = Terminal:new({ - cmd = "lazygit", - hidden = true, - direction = "float", - }) - - vim.keymap.set("n", "gg", function() - lazygit:toggle() - end) - - ------------------------------------------------- - -- ORGMODE - ------------------------------------------------- - local projects = { - "~/Documents/2_Writing/0_SOC/**/*.org", - "~/Documents/2_Writing/2_Notes/**/*.org", - "~/Documents/1_Projects/6_CRC-Altura/**/*.org", - "~/ORG/**/*.org" - } - - require("orgmode").setup({ - org_agenda_files = projects, - org_default_notes_file = "~/INBOX.org" - }) - - ------------------------------------------------- - -- VIMTEX - ------------------------------------------------- - vim.g.vimtex_view_method = "zathura" - ''; - }; -} diff --git a/home/rices/nord-blue/picom.nix b/home/rices/nord-blue/picom.nix deleted file mode 100644 index aba6aa4..0000000 --- a/home/rices/nord-blue/picom.nix +++ /dev/null @@ -1,60 +0,0 @@ -{pkgs, ...}: { - services.picom = { - enable = true; - package = pkgs.picom-pijulius; - - settings = { - backend = "glx"; - vsync = true; - - # Opacity - inactive-opacity = 0.9; - active-opacity = 1.0; - - # Fading - fading = true; - fade-delta = 5; - fade-in-step = 0.09; - fade-out-step = 0.09; - - # Shadows - shadow = true; - shadow-radius = 15; - shadow-opacity = 0.5; - shadow-offset-x = 12; - shadow-offset-y = 12; - shadow-exclude = [ - "class_g = 'i3-frame'" - "window_type = 'dock'" - "window_type = 'desktop'" - "window_type = 'notification'" - "name = 'dmenu'" - "class_g = 'dmenu'" - "class_g = 'Dunst'" - "class_g = 'dunst'" - ]; - - # Rounded corners - corner-radius = 15; - round-borders = 1; - rounded-corners-exclude = [ - "class_g = 'i3-frame'" - "window_type = 'dock'" - "window_type = 'notification'" - "class_g = 'Dunst'" - "class_g = 'dunst'" - ]; - - # Animations - animations = true; - animation-stiffness = 25; - animation-dampening = 1; - animation-window-mass = 0.01; - animation-for-open-window = "zoom"; - animation-for-unmap-window = "slide-up"; - animation-for-transient-window = "zoom"; - animation-for-move-window = "slide"; - animation-for-resize-window = "stretch"; - }; - }; -} diff --git a/home/rices/nord-blue/system.nix b/home/rices/nord-blue/system.nix deleted file mode 100644 index ac7e0ab..0000000 --- a/home/rices/nord-blue/system.nix +++ /dev/null @@ -1,83 +0,0 @@ -{pkgs, ...}: { - # Desktop environment - i3 window manager - services.xserver = { - enable = true; - windowManager.i3.enable = true; - xkb = { - layout = "cz"; - options = "eurosign:e,caps:escape"; - }; - }; - - services.picom.enable = true; - - # Stylix configuration - stylix = { - enable = true; - autoEnable = true; - - base16Scheme = { - base00 = "2D333F"; # background - base01 = "3B4252"; # lighter background - base02 = "434C5E"; # selection background - base03 = "4C566A"; # comments - base04 = "D8DEE9"; # dark foreground - base05 = "C6D0F5"; # foreground - base06 = "E5E9F0"; # light foreground - base07 = "ECEFF4"; # lightest foreground - base08 = "BF616A"; # red - base09 = "D5A18E"; # orange/tan - base0A = "EBCB8B"; # yellow - base0B = "A3BE8C"; # green - base0C = "88C0D0"; # cyan - base0D = "82A3C0"; # blue (accent) - base0E = "B48EAD"; # purple - base0F = "5E81AC"; # dark blue - }; - - image = pkgs.fetchurl { - url = "https://raw.githubusercontent.com/NixOS/nixos-artwork/master/wallpapers/nix-wallpaper-simple-blue.png"; - sha256 = "sha256-utrcjzfeJoFOpUbFY2eIUNCKy5rjLt57xIoUUssJmdI="; - }; - - fonts = { - monospace = { - package = pkgs.nerd-fonts.jetbrains-mono; - name = "JetBrainsMono Nerd Font"; - }; - sansSerif = { - package = pkgs.noto-fonts; - name = "Noto Sans"; - }; - serif = { - package = pkgs.noto-fonts; - name = "Noto Serif"; - }; - emoji = { - package = pkgs.noto-fonts-color-emoji; - name = "Noto Color Emoji"; - }; - sizes = { - terminal = 10; - applications = 11; - desktop = 11; - }; - }; - - cursor = { - package = pkgs.bibata-cursors; - name = "Bibata-Modern-Classic"; - size = 24; - }; - - opacity = { - terminal = 0.95; - applications = 1.0; - desktop = 1.0; - popups = 0.95; - }; - - polarity = "dark"; - targets.nixos-icons.enable = false; - }; -} diff --git a/home/rices/nord-blue/variables.nix b/home/rices/nord-blue/variables.nix deleted file mode 100644 index cc221ca..0000000 --- a/home/rices/nord-blue/variables.nix +++ /dev/null @@ -1,11 +0,0 @@ -{ - colors = { - background = "#2D333F"; - accent = "#82A3C0"; - foreground = "#C6D0F5"; - text = "#D5A18E"; - alert = "#BF616A"; # Nord red for critical alerts - }; - - wallpaper = "~/Pictures/wallpaper.png"; -} diff --git a/home/rices/nord-blue/wallpapers/wave-minimal.png b/home/rices/nord-blue/wallpapers/wave-minimal.png deleted file mode 100644 index 5d322d4..0000000 Binary files a/home/rices/nord-blue/wallpapers/wave-minimal.png and /dev/null differ diff --git a/home/rices/original/default.nix b/home/rices/original/default.nix deleted file mode 100644 index 6b7865d..0000000 --- a/home/rices/original/default.nix +++ /dev/null @@ -1,4 +0,0 @@ -{ - system = import ./system.nix; - home = import ./home.nix; -} diff --git a/home/rices/original/dunst.nix b/home/rices/original/dunst.nix deleted file mode 100644 index 9978d38..0000000 --- a/home/rices/original/dunst.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ config, pkgs, lib, ... }: - -let - vars = import ./variables.nix; -in { - services.dunst = { - enable = true; - - settings = { - global = { - width = "(200,300)"; - height = "(0,150)"; - offset = "(30,50)"; - origin = "bottom-right"; - transparency = 10; - frame_width = 0; - font = "Fira Code 10"; - }; - - urgency_low = { - background = vars.colors.background; - foreground = vars.colors.foreground; - timeout = 8; - }; - - urgency_normal = { - background = vars.colors.background; - foreground = vars.colors.foreground; - frame-size = "0"; - timeout = 10; - }; - - urgency_critical = { - background = vars.colors.background; - foreground = vars.colors.foreground; - frame-size = "5"; - frame-color = vars.colors.alert; - }; - }; - }; -} diff --git a/home/rices/original/home.nix b/home/rices/original/home.nix deleted file mode 100644 index cb2b4ca..0000000 --- a/home/rices/original/home.nix +++ /dev/null @@ -1,14 +0,0 @@ -{...}: { - imports = [ - ./dunst.nix - ./i3.nix - ./kitty.nix - ./neovim.nix - ./nnn.nix - ./picom.nix - ./polybar.nix - ./rofi.nix - ./scripts.nix - ./xdg.nix - ]; -} diff --git a/home/rices/original/i3.nix b/home/rices/original/i3.nix deleted file mode 100644 index 0982fcb..0000000 --- a/home/rices/original/i3.nix +++ /dev/null @@ -1,130 +0,0 @@ -{ config, pkgs, lib, ... }: - -{ - xsession.windowManager.i3 = { - enable = true; - config.bars = []; - - extraConfig = '' - # i3 config - set $mod Mod4 - font pango:Fira Code 10 - - exec --no-startup-id dex-autostart --autostart --environment i3 - exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock-fancy-rapid 5 3 --nofork - exec --no-startup-id nm-applet - exec --no-startup-id blueman-applet - exec_always --no-startup-id sh -c "sleep 1 && picom --config ~/.config/picom/picom.conf" - exec --no-startup-id -merge ~/.Xresources - exec_always --no-startup-id feh --bg-scale ~/Pictures/wallpapers/vox.jpg - exec_always --no-startup-id sh -c "killall -q polybar; sleep 1; polybar example --config=~/.config/polybar/config.ini &" - exec_always --no-startup-id polybar-hide-on-fullscreen - exec --no-startup-id flameshot - - gaps top 60 - - bindsym XF86MonBrightnessDown exec brightnessctl set 10%- - bindsym XF86MonBrightnessUp exec brightnessctl set +10% - bindsym XF86AudioMute exec amixer set Master toggle - bindsym XF86AudioLowerVolume exec amixer set Master 5%- - bindsym XF86AudioRaiseVolume exec amixer set Master 5%+ - bindsym XF86AudioMicMute exec amixer set Capture toggle - - floating_modifier $mod - - bindsym $mod+Shift+s exec flameshot gui - bindsym $mod+Return exec kitty - bindsym $mod+Control+l exec --no-startup-id i3lock-fancy-rapid 5 3 - bindsym $mod+m exec rofi -show drun - bindsym $mod+Shift+m exec kitty nnn - bindsym $mod+n exec firefox - bindsym $mod+Shift+q kill - - bindsym $mod+h focus left - bindsym $mod+j focus down - bindsym $mod+k focus up - bindsym $mod+l focus right - - bindsym $mod+Shift+h move left - bindsym $mod+Shift+j move down - bindsym $mod+Shift+k move up - bindsym $mod+Shift+l move right - - bindsym $mod+Control+h split h - bindsym $mod+Control+v split v - bindsym $mod+f fullscreen toggle - bindsym $mod+s layout stacking - bindsym $mod+w layout tabbed - bindsym $mod+e layout toggle split - bindsym $mod+Shift+space floating toggle - bindsym $mod+space focus mode_toggle - bindsym $mod+a focus parent - - set $ws1 "1" - set $ws2 "2" - set $ws3 "3" - set $ws4 "4" - set $ws5 "5" - set $ws6 "6" - set $ws7 "7" - set $ws8 "8" - set $ws9 "9" - set $ws10 "10" - - bindsym $mod+plus workspace number $ws1 - bindsym $mod+ecaron workspace number $ws2 - bindsym $mod+scaron workspace number $ws3 - bindsym $mod+ccaron workspace number $ws4 - bindsym $mod+rcaron workspace number $ws5 - bindsym $mod+zcaron workspace number $ws6 - bindsym $mod+yacute workspace number $ws7 - bindsym $mod+aacute workspace number $ws8 - bindsym $mod+iacute workspace number $ws9 - bindsym $mod+eacute workspace number $ws10 - - bindsym $mod+Shift+plus move container to workspace number $ws1 - bindsym $mod+Shift+ecaron move container to workspace number $ws2 - bindsym $mod+Shift+scaron move container to workspace number $ws3 - bindsym $mod+Shift+ccaron move container to workspace number $ws4 - bindsym $mod+Shift+rcaron move container to workspace number $ws5 - bindsym $mod+Shift+zcaron move container to workspace number $ws6 - bindsym $mod+Shift+yacute move container to workspace number $ws7 - bindsym $mod+Shift+aacute move container to workspace number $ws8 - bindsym $mod+Shift+iacute move container to workspace number $ws9 - bindsym $mod+Shift+eacute move container to workspace number $ws10 - - bindsym $mod+Shift+c reload - bindsym $mod+Shift+r restart - bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" - - mode "resize" { - bindsym h resize shrink width 5 px or 5 ppt - bindsym j resize grow height 5 px or 5 ppt - bindsym k resize shrink height 5 px or 5 ppt - bindsym l resize grow width 5 px or 5 ppt - - bindsym Left resize shrink width 5 px or 5 ppt - bindsym Down resize grow height 5 px or 5 ppt - bindsym Up resize shrink height 5 px or 5 ppt - bindsym Right resize grow width 5 px or 5 ppt - - bindsym Return mode "default" - bindsym Escape mode "default" - bindsym $mod+r mode "default" - } - - bindsym $mod+r mode "resize" - - client.focused #FFFFFF #FFFFFF #FFFFFF #FFFFFF #b12cbf - client.focused_inactive #8C8C8C #4C4C4C #FFFFFF #4C4C4C #FFFFFF - client.unfocused #4C4C4C #222222 #888888 #292D2E #500096 - client.urgent #EC69A0 #DB3279 #FFFFFF #DB3279 #DB3279 - client.placeholder #000000 #0C0C0C #FFFFFF #000000 #FFFFFF - client.background #FFFFFF - - default_border pixel 3 - default_floating_border pixel 3 - hide_edge_borders smart - ''; - }; -} diff --git a/home/rices/original/kitty.nix b/home/rices/original/kitty.nix deleted file mode 100644 index 580d765..0000000 --- a/home/rices/original/kitty.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ config, pkgs, lib, ... }: - -{ - programs.kitty = { - enable = true; - extraConfig = '' - confirm_os_window_close 0 - font_family Fira Code - bold_font Fira Code Bold - italic_font Fira Code Light - shell_integration no-cursor - cursor_shape beam - window_padding_width 7 - window_padding_height 10 - scrollback_lines 3000 - font_size 11 - map ctrl+shift+plus change_font_size all +1.0 - map ctrl+shift+minus change_font_size all -1.0 - background_opacity 0.7 - - cursor #AC82E9 - selection_background #d8cab8 - selection_foreground #141216 - background #141216 - foreground #d8cab8 - - color0 #2b2135 - color8 #92fcfa - color1 #fc4649 - color9 #fc4649 - color2 #c4e881 - color10 #c4e881 - color3 #AC82E9 - color11 #AC82E9 - color4 #7b91fc - color12 #7b91fc - color5 #f3fc7b - color13 #f3fc7b - color6 #8F56E1 - color14 #8F56E1 - color7 #fc92fc - color15 #d8cab8 - ''; - }; -} diff --git a/home/rices/original/neovim.nix b/home/rices/original/neovim.nix deleted file mode 100644 index 54a9b83..0000000 --- a/home/rices/original/neovim.nix +++ /dev/null @@ -1,100 +0,0 @@ -{ pkgs, ... }: - -{ - programs.neovim = { - enable = true; - defaultEditor = true; - viAlias = true; - vimAlias = true; - withNodeJs = true; - - plugins = []; - - extraLuaConfig = '' - -- LazyVim bootstrap - local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" - if not vim.loop.fs_stat(lazypath) then - vim.fn.system({ - "git", "clone", "--filter=blob:none", - "https://github.com/folke/lazy.nvim.git", - "--branch=stable", lazypath, - }) - end - vim.opt.rtp:prepend(lazypath) - - require("lazy").setup({ - spec = { - { "LazyVim/LazyVim", import = "lazyvim.plugins" }, - { import = "lazyvim.plugins.extras.lang.tex" }, - { import = "lazyvim.plugins.extras.lang.markdown" }, - { import = "lazyvim.plugins.extras.ui.mini-animate" }, - { import = "lazyvim.plugins.extras.lang.typescript" }, - { import = "lazyvim.plugins.extras.lang.python" }, - { import = "lazyvim.plugins.extras.lang.rust" }, - { import = "lazyvim.plugins.extras.lang.nix" }, - - { - "lervag/vimtex", - lazy = false, - init = function() - vim.g.vimtex_view_method = "zathura" - end - }, - - { - "MeanderingProgrammer/render-markdown.nvim", - opts = { - enabled = true, - file_types = { "markdown", "rmd" }, - colorscheme = "default", - }, - dependencies = { - "nvim-treesitter/nvim-treesitter", - "nvim-tree/nvim-web-devicons", - }, - }, - - { "mracos/mermaid.vim", ft = { "mermaid" } }, - }, - - defaults = { lazy = false, version = false }, - checker = { enabled = true }, - - performance = { - rtp = { - disabled_plugins = { - "gzip", "tarPlugin", "tohtml", - "tutor", "zipPlugin", - }, - }, - }, - }) - - -- LaTeX wrapping - vim.api.nvim_create_autocmd("FileType", { - pattern = "tex", - callback = function() - vim.opt_local.wrap = true - vim.opt_local.linebreak = true - vim.opt_local.breakindent = true - vim.opt_local.breakindentopt = "shift:2" - vim.opt_local.textwidth = 0 - end, - }) - - -- Disable diagnostics in markdown - vim.api.nvim_create_autocmd("FileType", { - pattern = "markdown", - callback = function() - vim.diagnostic.disable(0) - end, - }) - - -- Nix LSP - local lspconfig = require("lspconfig") - lspconfig.nil_ls.setup({ cmd = { "nil" } }) - - vim.opt.clipboard = "unnamedplus" - ''; - }; -} diff --git a/home/rices/original/nnn.nix b/home/rices/original/nnn.nix deleted file mode 100644 index fd2046f..0000000 --- a/home/rices/original/nnn.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ pkgs, ... }: -{ - programs.nnn = { - enable = true; - package = pkgs.nnn.override { withNerdIcons = true; }; - }; -} diff --git a/home/rices/original/picom.nix b/home/rices/original/picom.nix deleted file mode 100644 index a96f158..0000000 --- a/home/rices/original/picom.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ config, pkgs, lib, ... }: - -{ - services.picom = { - enable = true; - - package = pkgs.picom-pijulius; - - backend = "glx"; - vSync = true; - inactiveOpacity = 0.9; - activeOpacity = 1.0; - fade = true; - fadeSteps = [ 0.09 0.09 ]; - fadeDelta = 5; - shadow = true; - shadowOffsets = [ 12 12 ]; - shadowOpacity = 0.5; - shadowExclude = [ - "class_g = 'Polybar'" - "name = 'Polybar'" - ]; - settings = { - corner-radius = 15; - }; - }; -} diff --git a/home/rices/original/polybar.nix b/home/rices/original/polybar.nix deleted file mode 100644 index dcfc8ec..0000000 --- a/home/rices/original/polybar.nix +++ /dev/null @@ -1,172 +0,0 @@ -{ config, pkgs, lib, ... }: - -let - vars = import ./variables.nix; -in { - services.polybar = { - enable = true; - - extraConfig = '' - [bar/example] - width = 98% - height = 30pt - radius = 15 - offset-x = 1% - offset-y = 1% - override-redirect = true - fixed-center = true - enable-ipc = true - - background = ${vars.colors.background} - foreground = ${vars.colors.foreground} - - line-size = 4pt - border-size = Opt - border-color = #00000000 - - padding-left = 1 - padding-right = 1 - module-margin = 1 - - separator = | - separator-foreground = ${vars.colors.disabled} - - font-0 = fira code;2 - - modules-left = xworkspaces spotify spotify-prev spotify-play-pause spotify-next - modules-center = date - modules-right = filesystem memory cpu pulseaudio-devices wlan xkeyboard battery - - [module/systray] - type = internal/tray - format-margin = 8pt - tray-spacing = 16pt - - [module/xworkspaces] - type = internal/xworkspaces - label-active = %name% - label-active-background = ${vars.colors.background-alt} - label-active-underline = ${vars.colors.primary} - label-active-padding = 1 - label-occupied = %name% - label-occupied-padding = 1 - label-urgent = %name% - label-urgent-background = ${vars.colors.alert} - label-urgent-padding = 1 - label-empty = %name% - label-empty-foreground = ${vars.colors.disabled} - label-empty-padding = 1 - - [module/xwindow] - type = internal/xwindow - label = %title:0:60:...% - - [module/filesystem] - type = internal/fs - interval = 25 - mount-0 = / - label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%% - label-unmounted = %mountpoint% not mounted - label-unmounted-foreground = ${vars.colors.disabled} - - [module/pulseaudio] - type = internal/pulseaudio - format-volume-prefix = "VOL " - format-volume-prefix-foreground = ${vars.colors.primary} - format-volume = - label-volume = %percentage%% - label-muted = muted - label-muted-foreground = ${vars.colors.disabled} - - [module/xkeyboard] - type = internal/xkeyboard - blacklist-0 = num lock - label-layout = %layout% - label-layout-foreground = ${vars.colors.primary} - label-indicator-padding = 2 - label-indicator-margin = 1 - label-indicator-foreground = ${vars.colors.background} - label-indicator-background = ${vars.colors.secondary} - - [module/memory] - type = internal/memory - interval = 2 - format-prefix = "RAM " - format-prefix-foreground = ${vars.colors.primary} - label = %percentage_used:2%% - - [module/cpu] - type = internal/cpu - interval = 2 - format-prefix = "CPU " - format-prefix-foreground = ${vars.colors.primary} - label = %percentage:2%% - - [network-base] - type = internal/network - interval = 5 - format-connected = - format-disconnected = - label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected - - [module/wlan] - inherit = network-base - interface-type = wireless - label-connected = %{F#F0C674}%ifname%%{F-} %essid% - - [module/eth] - inherit = network-base - interface-type = wired - label-connected = %{F#F0C674}%ifname%%{F-} - - [module/date] - type = internal/date - interval = 1 - date = %H:%M - date-alt = %Y-%m-%d %H:%M:%S - label = %date% - label-foreground = ${vars.colors.primary} - - [settings] - screenchange-reload = true - pseudo-transparency = true - - [module/battery] - type = internal/battery - full-at = 100 - low-at = 15 - battery = BAT0 - adapter = ADP1 - poll-interval = 5 - - [module/spotify] - type = custom/script - tail = true - interval = 1 - format-prefix = "♫" - format =