diff --git a/nix/hosts/dotfiles/ghostty/config b/.config/ghostty/config old mode 100755 new mode 100644 similarity index 61% rename from nix/hosts/dotfiles/ghostty/config rename to .config/ghostty/config index 77991fb..c566eb1 --- a/nix/hosts/dotfiles/ghostty/config +++ b/.config/ghostty/config @@ -10,10 +10,10 @@ keybind = ctrl+j=goto_split:down keybind = ctrl+k=goto_split:up keybind = ctrl+l=goto_split:right -keybind = ctrl+shift+h=new_split:left -keybind = ctrl+shift+j=new_split:down -keybind = ctrl+shift+k=new_split:up -keybind = ctrl+shift+l=new_split:right -keybind = ctrl+f=toggle_split_zoom +keybind = ctrl+d>h=new_split:left +keybind = ctrl+d>j=new_split:down +keybind = ctrl+d>k=new_split:up +keybind = ctrl+d>l=new_split:right +keybind = ctrl+d>f=toggle_split_zoom window-save-state = always diff --git a/.config/home-manager/flake.lock b/.config/home-manager/flake.lock new file mode 100644 index 0000000..7c412de --- /dev/null +++ b/.config/home-manager/flake.lock @@ -0,0 +1,48 @@ +{ + "nodes": { + "home-manager": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1756683562, + "narHash": "sha256-3fcIqwm1u+rF3kkgUYYEIcLrs93+Pi+a6AwiEAxdP5g=", + "owner": "nix-community", + "repo": "home-manager", + "rev": "fccb44df77266a3891939f35197f538dace3442f", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "home-manager", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1756542300, + "narHash": "sha256-tlOn88coG5fzdyqz6R93SQL5Gpq+m/DsWpekNFhqPQk=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "d7600c775f877cd87b4f5a831c28aa94137377aa", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "home-manager": "home-manager", + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/.config/home-manager/flake.nix b/.config/home-manager/flake.nix new file mode 100644 index 0000000..2df2df5 --- /dev/null +++ b/.config/home-manager/flake.nix @@ -0,0 +1,31 @@ +{ + description = "Home Manager configuration of lunita"; + + inputs = { + # Specify the source of Home Manager and Nixpkgs. + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + home-manager = { + url = "github:nix-community/home-manager"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + }; + + outputs = + { nixpkgs, home-manager, ... }: + let + system = "x86_64-linux"; + pkgs = nixpkgs.legacyPackages.${system}; + in + { + homeConfigurations."lunita" = home-manager.lib.homeManagerConfiguration { + inherit pkgs; + + # Specify your home configuration modules here, for example, + # the path to your home.nix. + modules = [ ./home.nix ]; + + # Optionally use extraSpecialArgs + # to pass through arguments to home.nix + }; + }; +} diff --git a/.config/home-manager/home.nix b/.config/home-manager/home.nix new file mode 100644 index 0000000..9c82791 --- /dev/null +++ b/.config/home-manager/home.nix @@ -0,0 +1,91 @@ +{ config, pkgs, ... }: + +{ + home.username = "lunita"; + home.homeDirectory = "/home/lunita"; + + home.stateVersion = "25.05"; + + programs.zsh = { + enable = true; + syntaxHighlighting.enable = true; + + shellAliases = { + c = "clear"; + nf = "neofetch"; + v = "nvim"; + d = "cd ~/Documents"; + D = "cd ~/Downloads"; + dot = "cd ~/dotfiles"; + }; + + initContent = '' + # '~' => goto base of user home directory + alias ~='cd ~' + # Vim keybinds + bindkey -v + # Preferred editor for local and remote sessions + if [[ -n $SSH_CONNECTION ]]; then + export EDITOR='vim' + else + export EDITOR='nvim' + fi + # Set TERM for Ghostty ssh workaround + if [[ "$TERM_PROGRAM" == "ghostty" ]]; then + export TERM=xterm-256color + fi + ''; + + history.size = 10000; + + oh-my-zsh = { + enable = true; + plugins = [ "git" ]; + theme = "lambda"; + }; + }; + + programs.git = { + enable = true; + userName = "lulusilly"; + userEmail = "lunita@puppygirl.onl"; + aliases = { + ci = "commit"; + co = "checkout"; + s = "status"; + pu = "push origin master"; + rmc = "rm -r --cached"; + }; + }; + + nixpkgs.config.allowUnfree = true; + home.packages = with pkgs; [ + tree # Nice file tree views w/permissions + neofetch # Muh epic r1ce!!! + btop # Resource manager + stow # For dotfiles deployment. May use home.file in future + imagemagick # For converting images into other fmts + sxiv # Minimal image viewer + mpv # Video player + zathura # PDF/CBZ/EPUB/DJVU reader + tmux # Tride and true terminal multiplexer + obsidian # For epic note taking (really just mediocre journaling) + keepassxc # Secure password manager + syncthing # Self explanatory + ghostty # Terminal emulator + # Fonts + nerd-fonts.jetbrains-mono + miracode + monocraft + ]; + fonts.fontconfig.enable = true; + + home.file = { + }; + + home.sessionVariables = { + EDITOR = "emacs"; + }; + + programs.home-manager.enable = true; +} diff --git a/nix/hosts/dotfiles/hypr/bg.jpg b/.config/hypr/bg.jpg old mode 100755 new mode 100644 similarity index 100% rename from nix/hosts/dotfiles/hypr/bg.jpg rename to .config/hypr/bg.jpg diff --git a/nix/hosts/dotfiles/hypr/hyprland.conf b/.config/hypr/hyprland.conf old mode 100755 new mode 100644 similarity index 98% rename from nix/hosts/dotfiles/hypr/hyprland.conf rename to .config/hypr/hyprland.conf index 551e9f6..20880e0 --- a/nix/hosts/dotfiles/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -197,8 +197,8 @@ bind = $tMod SHIFT, O, movetoworkspace, 9 bind = $tMod SHIFT, P, movetoworkspace, 10 # Example special workspace (scratchpad) -bind = $tMod, S, togglespecialworkspace, magic -bind = $tMod SHIFT, S, movetoworkspace, special:magic +bind = $mainMod, S, togglespecialworkspace, magic +bind = $mainMod SHIFT, S, movetoworkspace, special:magic # Scroll through existing workspaces with mainMod + scroll bind = $mainMod, mouse_down, workspace, e+1 @@ -235,4 +235,4 @@ bindl = , XF86AudioPrev, exec, playerctl previous # Ignore maximize requests from apps. You'll probably like this. windowrule = suppressevent maximize, class:.* -windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 +windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 \ No newline at end of file diff --git a/nix/hosts/dotfiles/hypr/start.sh b/.config/hypr/start.sh similarity index 100% rename from nix/hosts/dotfiles/hypr/start.sh rename to .config/hypr/start.sh diff --git a/nix/modules/kanata/conf.kbd b/.config/kanata/conf.kbd similarity index 100% rename from nix/modules/kanata/conf.kbd rename to .config/kanata/conf.kbd diff --git a/nix/hosts/dotfiles/mpv/mpv.conf b/.config/mpv/mpv.conf old mode 100755 new mode 100644 similarity index 100% rename from nix/hosts/dotfiles/mpv/mpv.conf rename to .config/mpv/mpv.conf diff --git a/nix/hosts/dotfiles/neofetch/config.conf b/.config/neofetch/config.conf old mode 100755 new mode 100644 similarity index 96% rename from nix/hosts/dotfiles/neofetch/config.conf rename to .config/neofetch/config.conf index c11bafe..cdba4c6 --- a/nix/hosts/dotfiles/neofetch/config.conf +++ b/.config/neofetch/config.conf @@ -1,33 +1,35 @@ +# See this wiki page for more info: +# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info print_info() { info title info underline info "OS" distro info "Host" model - # info "Kernel" kernel + info "Kernel" kernel info "Uptime" uptime - # info "Packages" packages - # info "Shell" shell + info "Packages" packages + info "Shell" shell info "Resolution" resolution - # info "DE" de - # info "WM" wm - # info "WM Theme" wm_theme - # info "Theme" theme - # info "Icons" icons - # info "Terminal" term - # info "Terminal Font" term_font + info "DE" de + info "WM" wm + info "WM Theme" wm_theme + info "Theme" theme + info "Icons" icons + info "Terminal" term + info "Terminal Font" term_font info "CPU" cpu - # info "GPU" gpu + info "GPU" gpu info "Memory" memory # info "GPU Driver" gpu_driver # Linux/macOS only # info "CPU Usage" cpu_usage - info "Disk" disk - info "Battery" battery + # info "Disk" disk + # info "Battery" battery # info "Font" font - info "Song" song - [[ "$player" ]] && prin "Music Player" "$player" - info "Local IP" local_ip + # info "Song" song + # [[ "$player" ]] && prin "Music Player" "$player" + # info "Local IP" local_ip # info "Public IP" public_ip # info "Users" users # info "Locale" locale # This only works on glibc systems. @@ -83,7 +85,7 @@ distro_shorthand="off" # Example: # on: 'Arch Linux x86_64' # off: 'Arch Linux' -os_arch="off" +os_arch="on" # Uptime @@ -99,7 +101,7 @@ os_arch="off" # on: '2 days, 10 hours, 3 mins' # tiny: '2d 10h 3m' # off: '2 days, 10 hours, 3 minutes' -uptime_shorthand="tiny" +uptime_shorthand="on" # Memory @@ -126,7 +128,7 @@ memory_percent="off" # kib '1020928KiB / 7117824KiB' # mib '1042MiB / 6951MiB' # gib: ' 0.98GiB / 6.79GiB' -memory_unit="gib" +memory_unit="mib" # Packages @@ -193,7 +195,7 @@ speed_type="bios_limit" # Example: # on: 'i7-6500U (4) @ 3.1GHz' # off: 'i7-6500U (4) @ 3.100GHz' -speed_shorthand="on" +speed_shorthand="off" # Enable/Disable CPU brand in output. # @@ -247,7 +249,7 @@ cpu_cores="logical" # C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]' # F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]' # off: 'Intel i7-6500U (4) @ 3.1GHz' -cpu_temp="C" +cpu_temp="off" # GPU @@ -296,7 +298,7 @@ gpu_type="all" # Example: # on: '1920x1080 @ 60Hz' # off: '1920x1080' -refresh_rate="on" +refresh_rate="off" # Gtk Theme / Icons / Font diff --git a/nix/flake.lock b/.config/nix/flake.lock old mode 100755 new mode 100644 similarity index 100% rename from nix/flake.lock rename to .config/nix/flake.lock diff --git a/nix/flake.nix b/.config/nix/flake.nix similarity index 86% rename from nix/flake.nix rename to .config/nix/flake.nix index 399b174..3a77ebc 100755 --- a/nix/flake.nix +++ b/.config/nix/flake.nix @@ -16,13 +16,13 @@ ./hosts/common.nix ./hosts/mecca/configuration.nix ]; - }; - cantor = nixpkgs.lib.nixosSystem { + }; + syntheticnexus = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = {inherit inputs;}; modules = [ ./hosts/common.nix - ./hosts/cantor/configuration.nix + ./hosts/syntheticnexus/configuration.nix ]; }; }; diff --git a/nix/hosts/common.nix b/.config/nix/hosts/common.nix old mode 100755 new mode 100644 similarity index 75% rename from nix/hosts/common.nix rename to .config/nix/hosts/common.nix index e30a877..1f1265a --- a/nix/hosts/common.nix +++ b/.config/nix/hosts/common.nix @@ -1,6 +1,7 @@ { config, lib, pkgs, inputs, ... }: { + imports = [ inputs.home-manager.nixosModules.default ]; @@ -8,7 +9,11 @@ users.users.lunita = { isNormalUser = true; description = "Lunita"; - extraGroups = [ "networkmanager" "wheel" "syncthing" ]; + extraGroups = [ "networkmanager" "wheel" ]; + packages = with pkgs; [ + neovim + firefox + ]; shell = pkgs.zsh; }; home-manager = { @@ -60,35 +65,19 @@ services.flatpak.enable = true; # Tailscale services.tailscale.enable = true; + # Syncthing + services.syncthing.enable = true; # GPG programs.gnupg.agent = { enable = true; enableSSHSupport = true; }; + # Espanso for text expansion + services.espanso.enable = true; # OpenSSH services.openssh.enable = true; # Hardware acceleration support hardware.graphics.extraPackages = with pkgs; [ intel-media-driver ]; - # Enable udisks2 for removable media support - services.udisks2.enable = true; - # Can't disable sudo due to dependency for nixos-rebuild - # security.sudo.enable = false; - # Setup doas - security.doas = { - enable = true; - extraRules = [{ - users = ["lunita"]; - keepEnv = true; - noPass = true; - }]; - }; - - # System package definitions - environment.systemPackages = with pkgs; [ - neovim # Terminal text editor - wget # coreutil for some script compatibility - wiremix # TUI mixer for pipewire - ]; } diff --git a/nix/hosts/home.nix b/.config/nix/hosts/home.nix old mode 100755 new mode 100644 similarity index 51% rename from nix/hosts/home.nix rename to .config/nix/hosts/home.nix index 2f7fe63..d5bc02a --- a/nix/hosts/home.nix +++ b/.config/nix/hosts/home.nix @@ -6,15 +6,6 @@ home.stateVersion = "25.05"; - xdg.userDirs = { - enable = true; - createDirectories = true; - }; - gtk = { - enable = true; - colorScheme = "dark"; - }; - programs.zsh = { enable = true; syntaxHighlighting.enable = true; @@ -68,54 +59,27 @@ co = "checkout"; s = "status"; pu = "push origin master"; - po = "push origin main"; rmc = "rm -r --cached"; }; }; nixpkgs.config.allowUnfree = true; - # Librewolf comes with safe defaults already, so minimal changes are necessary. - programs.librewolf = { - enable = true; - settings = { - "webgl.disabled" = false; - # "privacy.clearOnShutdown.history" = false; - # "privacy.clearOnShutdown.cookies" = false; - "network.cookie.lifetimePolicy" = 0; - }; - }; - - services.udiskie = { - enable = true; - settings = { - program_options = { - file_manager = "${pkgs.kdePackages.dolphin}/bin/dolphin"; - }; - }; - }; - home.packages = with pkgs; [ - tree # Nice file tree views w/ permissions - linux-wifi-hotspot # For hotspotting while over ethernet + tree # Nice file tree views w/permissions neofetch # Muh epic r1ce!!! - hyfetch # basically neofetch but with queer flags - htop # OG resource manager - btop # Pretty resource manager + btop # Resource manager + stow # For dotfiles deployment. May use home.file in future imagemagick # For converting images into other fmts sxiv # Minimal image viewer - mpv # Media player + mpv # Video player zathura # PDF/CBZ/EPUB/DJVU reader tmux # Tride and true terminal multiplexer obsidian # For epic note taking (really just mediocre journaling) keepassxc # Secure password manager - syncthing # File syncing + syncthing # Self explanatory ghostty # Terminal emulator irssi # Terminal IRC client nyxt # Customizable browser - cmus # C Music Player (TUI) - deadbeef # Closest thing to foobar2000 native on Linux - nicotine-plus # FOSS client for SoulSeek - kdePackages.dolphin # GUI File Manager # Fonts nerd-fonts.jetbrains-mono miracode @@ -124,25 +88,6 @@ fonts.fontconfig.enable = true; home.file = { - # Ghostty - ".config/ghostty/config" .source = dotfiles/ghostty/config; - # Neovim - ".config/nvim/init.lua" .source = dotfiles/nvim/init.lua; - # Emacs - ".emacs.d/init.el" .source = dotfiles/.emacs.d/init.el; - # MPV - ".config/mpv/mpv.conf" .source = dotfiles/mpv/mpv.conf; - # Btop - # ".config/btop/btop.conf" .source = dotfiles/btop/btop.conf; - # Neofetch - ".config/neofetch/config.conf" .source = dotfiles/neofetch/config.conf; - # Hyprland - ".config/hypr/bg.jpg" .source = dotfiles/hypr/bg.jpg; - ".config/hypr/hyprland.conf" .source = dotfiles/hypr/hyprland.conf; - ".config/hypr/start.sh" .source = dotfiles/hypr/start.sh; - # Waybar - ".config/waybar/config" .source = dotfiles/waybar/config; - ".config/waybar/style.css" .source = dotfiles/waybar/style.css; }; home.sessionVariables = { diff --git a/nix/hosts/mecca/configuration.nix b/.config/nix/hosts/mecca/configuration.nix old mode 100755 new mode 100644 similarity index 100% rename from nix/hosts/mecca/configuration.nix rename to .config/nix/hosts/mecca/configuration.nix diff --git a/nix/hosts/mecca/hardware-configuration.nix b/.config/nix/hosts/mecca/hardware-configuration.nix old mode 100755 new mode 100644 similarity index 100% rename from nix/hosts/mecca/hardware-configuration.nix rename to .config/nix/hosts/mecca/hardware-configuration.nix diff --git a/.config/nix/hosts/syntheticnexus/configuration.nix b/.config/nix/hosts/syntheticnexus/configuration.nix new file mode 100644 index 0000000..f0a7316 --- /dev/null +++ b/.config/nix/hosts/syntheticnexus/configuration.nix @@ -0,0 +1,16 @@ +{ config, pkgs, inputs, ... }: + +{ + imports = + [ + ./hardware-configuration.nix + ../../modules/kanata.nix + ../../modules/laptop.nix + ../../modules/efi.nix + ../../modules/hypr.nix + ]; + + networking.hostName = "syntheticnexus"; + + system.stateVersion = "25.05"; +} diff --git a/nix/hosts/cantor/hardware-configuration.nix b/.config/nix/hosts/syntheticnexus/hardware-configuration.nix old mode 100755 new mode 100644 similarity index 72% rename from nix/hosts/cantor/hardware-configuration.nix rename to .config/nix/hosts/syntheticnexus/hardware-configuration.nix index 9da5aeb..39daf35 --- a/nix/hosts/cantor/hardware-configuration.nix +++ b/.config/nix/hosts/syntheticnexus/hardware-configuration.nix @@ -8,29 +8,24 @@ [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ]; + boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/b6a3dc2d-983b-4be5-a1ae-e834b786377f"; + { device = "/dev/disk/by-uuid/c7f03532-bbad-4c5d-9309-052c7cb7f63c"; fsType = "ext4"; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/12CE-A600"; + { device = "/dev/disk/by-uuid/2A5E-652D"; fsType = "vfat"; - options = [ "fmask=0022" "dmask=0022" ]; - }; - - fileSystems."/data/hdd" = - { device = "/dev/disk/by-uuid/8db7c071-8946-4619-96fd-83259ae8d228"; - fsType = "xfs"; + options = [ "fmask=0077" "dmask=0077" ]; }; swapDevices = - [ { device = "/dev/disk/by-uuid/222e2b22-388c-490a-845f-35f774c395a8"; } + [ { device = "/dev/disk/by-uuid/fcd83e93-64eb-40be-97ae-3e512bd8f97e"; } ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking @@ -39,6 +34,7 @@ # with explicit per-interface declarations with `networking.interfaces..useDHCP`. networking.useDHCP = lib.mkDefault true; # networking.interfaces.enp4s0.useDHCP = lib.mkDefault true; + # networking.interfaces.wlp0s20f0u5.useDHCP = lib.mkDefault true; # networking.interfaces.wlp5s0.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; diff --git a/nix/modules/efi.nix b/.config/nix/modules/efi.nix old mode 100755 new mode 100644 similarity index 100% rename from nix/modules/efi.nix rename to .config/nix/modules/efi.nix diff --git a/nix/modules/hypr.nix b/.config/nix/modules/hypr.nix old mode 100755 new mode 100644 similarity index 81% rename from nix/modules/hypr.nix rename to .config/nix/modules/hypr.nix index 9935d1e..8c582d0 --- a/nix/modules/hypr.nix +++ b/.config/nix/modules/hypr.nix @@ -12,6 +12,10 @@ xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; environment.systemPackages = with pkgs; [ + # home-manager # For using Nix Home Manager + zsh # Default user shell + neovim # Terminal text editor + wget # coreutil for some script compatibility waybar # Status bar libnotify # Desktop notifications swww # Wallpaper manager diff --git a/nix/modules/kanata/kanata.nix b/.config/nix/modules/kanata.nix old mode 100755 new mode 100644 similarity index 78% rename from nix/modules/kanata/kanata.nix rename to .config/nix/modules/kanata.nix index 9a5f0c1..e902745 --- a/nix/modules/kanata/kanata.nix +++ b/.config/nix/modules/kanata.nix @@ -25,7 +25,10 @@ devices = [ "/dev/input/by-path/platform-i8042-serio-0-event-kbd" ]; - configFile = ./conf.kbd; + configFile = builtins.fetchurl { + url = https://git.luluslly.xyz/lulusilly/dotfiles/raw/branch/master/.config/kanata/conf.kbd; + sha256 = "97947618d01cc8bd553c2d305537b9db6962a3a9205cda43abadc1b87eed901f"; + }; }; }; }; diff --git a/nix/modules/laptop.nix b/.config/nix/modules/laptop.nix old mode 100755 new mode 100644 similarity index 100% rename from nix/modules/laptop.nix rename to .config/nix/modules/laptop.nix diff --git a/nix/hosts/dotfiles/nvim/init.lua b/.config/nvim/init.lua old mode 100755 new mode 100644 similarity index 85% rename from nix/hosts/dotfiles/nvim/init.lua rename to .config/nvim/init.lua index 7df8444..54db55b --- a/nix/hosts/dotfiles/nvim/init.lua +++ b/.config/nvim/init.lua @@ -28,8 +28,6 @@ end vim.opt.rtp:prepend(lazypath) -- Setup the plugins you need. require("lazy").setup({ - -- For background transparency - { 'xiyaowong/transparent.nvim' }, -- === The colorscheme plugin is specified here. === -- Gruvbox theme plugin. It will be automatically installed by lazy.nvim. { 'ellisonleao/gruvbox.nvim', config = function() @@ -61,22 +59,12 @@ require("lazy").setup({ end }, }) --- Transparent configuration -require('transparent').setup({ - enable = true, -- boolean: enable transparent - extra_groups = { -- table: additional groups to clear - 'Normal', 'NormalNC', 'Comment', 'Constant', 'Identifier', - 'Statement', 'PreProc', 'Type', 'Special', 'Underlined', - 'Todo', 'String', 'Function', 'Conditional', 'Repeat', - 'Operator', 'Structure', 'LineNr', 'SignColumn', 'EndOfBuffer' - }, -}) -- Treesitter configuration. --- require("nvim-treesitter.configs").setup({ --- highlight = { enable = true }, +require("nvim-treesitter.configs").setup({ + highlight = { enable = true }, -- You can specify languages to install with `ensure_installed`. -- e.g., ensure_installed = { "lua", "python", "javascript" }, --- }) +}) -- Autocomplete (cmp) configuration. local cmp = require("cmp") cmp.setup({ @@ -135,6 +123,4 @@ vim.keymap.set('n', 'a', 'ggVG', { desc = 'Select entire file' }) -- Groff => PDF vim.keymap.set('n', 'cg', ':!groff -ms -e %:t -T pdf > %:r.pdf', { desc = 'Compile Groff file to PDF' }) -- Typst => PDF -vim.keymap.set('n', 'ct', ':!typst compile %:t', { desc = 'Compile Typst file to PDF'} ) --- Keybinding to toggle transparency -vim.api.nvim_set_keymap('n', 'tt', ':TransparentToggle', { noremap = true, silent = true }) +vim.keymap.set('n', 'ct', ':!typst compile %:t', { desc = 'Compile Typst file to PDF'} ) \ No newline at end of file diff --git a/nix/hosts/dotfiles/waybar/config b/.config/waybar/config old mode 100755 new mode 100644 similarity index 100% rename from nix/hosts/dotfiles/waybar/config rename to .config/waybar/config diff --git a/nix/hosts/dotfiles/waybar/style.css b/.config/waybar/style.css old mode 100755 new mode 100644 similarity index 100% rename from nix/hosts/dotfiles/waybar/style.css rename to .config/waybar/style.css diff --git a/nix/hosts/dotfiles/.emacs.d/init.el b/.emacs.d/init.el old mode 100755 new mode 100644 similarity index 100% rename from nix/hosts/dotfiles/.emacs.d/init.el rename to .emacs.d/init.el diff --git a/.gitignore b/.gitignore old mode 100755 new mode 100644 index 72d5bd0..c061f5a --- a/.gitignore +++ b/.gitignore @@ -12,16 +12,3 @@ user-dirs.dirs user-dirs.locale espanso obsidian -mimeapps.list -syncthing -systemd -nicotine -medialib.dbpl -playlists -running -index-v0.14.0.db -CURRENT.bak -LOG -dolphinrc -QtProject.conf -kde.org diff --git a/nix/hosts/cantor/configuration.nix b/nix/hosts/cantor/configuration.nix deleted file mode 100755 index 6a167b1..0000000 --- a/nix/hosts/cantor/configuration.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ config, pkgs, lib, inputs, ... }: - -{ - imports = - [ - ./hardware-configuration.nix - ../../modules/kanata/kanata.nix - ../../modules/laptop.nix - ../../modules/efi.nix - ../../modules/hypr.nix - ../../modules/syncthing.nix - ]; - - networking.hostName = "cantor"; - # Overriding this, as the touchpad doesn't work properly anymore. - services.libinput.enable = lib.mkForce false; - system.stateVersion = "25.05"; -} diff --git a/nix/modules/syncthing.nix b/nix/modules/syncthing.nix deleted file mode 100755 index 06dab1a..0000000 --- a/nix/modules/syncthing.nix +++ /dev/null @@ -1,11 +0,0 @@ -{ config, pkgs, inputs, ... }: - -{ - services.syncthing = { - enable = true; - user = "lunita"; - group = "syncthing"; - dataDir = "/home/lunita/Sync"; - configDir = "/home/lunita/.config/syncthing"; - }; -}