]> Skullheadx's Git Forge - nixos.git/commitdiff
phone link
authorAndrew <admonty1@protonmail.com>
Sat, 30 Aug 2025 23:58:04 +0000 (19:58 -0400)
committerAndrew <admonty1@protonmail.com>
Sat, 30 Aug 2025 23:58:04 +0000 (19:58 -0400)
configuration.nix
home.nix
impurities.md
neovim.nix
rmpc-config.nix

index 17e41c95b4acd15cd3ba83d37d9d6d03b518c8b7..b8e28a53a2e0a654fa2f1c3d85c4cdd13c20c0cf 100644 (file)
@@ -1,15 +1,12 @@
 # Edit this configuration file to define what should be installed on
 # your system.  Help is available in the configuration.nix(5) man page
 # and in the NixOS manual (accessible by running ‘nixos-help’).
-
 {
   config,
   pkgs,
   inputs,
   ...
-}:
-
-{
+}: {
   imports = [
     # Include the results of the hardware scan.
     ./hardware-configuration.nix
@@ -20,7 +17,7 @@
   boot.loader.efi.canTouchEfiVariables = true;
 
   # zsh
-  environment.shells = with pkgs; [ fish ];
+  environment.shells = with pkgs; [fish];
   users.defaultUserShell = pkgs.fish;
   programs.fish.enable = true;
 
@@ -57,7 +54,7 @@
       "networkmanager"
       "wheel"
     ];
-    packages = with pkgs; [ ];
+    packages = with pkgs; [];
   };
 
   # Allow unfree packages
     withUWSM = true;
   };
 
+  programs.kdeconnect = {
+    enable = true;
+  };
+
   # List packages installed in system profile. To search, run:
   # $ nix search wget
   environment.systemPackages = with pkgs; [
     settings.default_session = {
       user = "greeter";
     };
-
   };
   programs.regreet.enable = true;
   fonts.packages = with pkgs; [
index b799b272a57a00a4b99a75296b425717b54614b9..0d41289565cd81e5a3cd32a5211ba567a89cae5e 100644 (file)
--- a/home.nix
+++ b/home.nix
   programs.rmpc = {
     enable = true;
   };
-
   #notifcations
   services.dunst.enable = true;
   services.mpd-mpris.enable = true;
index 93c4fdde39b90dbbd364a7b7ceedab85309608f7..93ceea3122799c504117e37b97f8abdfb9f08102 100644 (file)
@@ -10,3 +10,7 @@ wordlist for programmers containing common programming terms. Enabling this
 option will unconditionally set vim.spellcheck.enable to true as vim-dirtytalk
 depends on spellchecking having been set up. Run :DirtytalkUpdate on first use
 to download the spellfile.
+
+# Pair Phone
+
+kdeconnect-app and pair with phone
index 552e88a9abbbe9950da031cf3dc083a3d66fdac6..99703fd88ec379e5a28c3682cdc2883ee97c5018 100644 (file)
             };
             win_options = {
               conceallevel = {
-                default = "vim.o.conceallevel";
+                #  default = "vim.o.conceallevel";
                 rendered = 3;
               };
               concealcursor = {
-                default = "vim.o.concealcursor";
-                rendered = "";
+                #default = "vim.o.concealcursor";
+                #rendered = "";
               };
             };
             overrides = {
index 21ee604ee2b9a403cf5cfce1fc59bf9bb1fe252d..c7ca759e79dc560fe0590a73e9309ac979207c6c 100644 (file)
-{ config, pkgs, ... }:
 {
+  config,
+  pkgs,
+  ...
+}: {
   home.file = {
     ".config/rmpc/config.ron".text = ''
-               #![enable(implicit_some)]
-               #![enable(unwrap_newtypes)]
-               #![enable(unwrap_variant_newtypes)]
-               (
-                   address: "127.0.0.1:6600",
-                   password: None,
-                   theme: None,
-                   cache_dir: None,
-                   on_song_change: None,
-                   volume_step: 5,
-                   max_fps: 30,
-                   scrolloff: 0,
-                   wrap_navigation: false,
-                   enable_mouse: true,
-                   enable_config_hot_reload: true,
-                   status_update_interval_ms: 1000,
-                   rewind_to_start_sec: None,
-                   reflect_changes_to_playlist: false,
-                   select_current_song_on_change: false,
-                   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,
-                   ),
-                   keybinds: (
-                       global: {
-                           ":":       CommandMode,
-                           ",":       VolumeDown,
-                           "s":       Stop,
-                           ".":       VolumeUp,
-                           "<Tab>":   NextTab,
-                           "<S-Tab>": PreviousTab,
-                           "1":       SwitchToTab("Queue"),
-                           "2":       SwitchToTab("Directories"),
-                           "3":       SwitchToTab("Artists"),
-                           "4":       SwitchToTab("Album Artists"),
-                           "5":       SwitchToTab("Albums"),
-                           "6":       SwitchToTab("Playlists"),
-                           "7":       SwitchToTab("Search"),
-                           "q":       Quit,
-                           ">":       NextTrack,
-                           "p":       TogglePause,
-                           "<":       PreviousTrack,
-                           "f":       SeekForward,
-                           "z":       ToggleRepeat,
-                           "x":       ToggleRandom,
-                           "c":       ToggleConsume,
-                           "v":       ToggleSingle,
-                           "b":       SeekBack,
-                           "~":       ShowHelp,
-                           "u":       Update,
-                           "U":       Rescan,
-                           "I":       ShowCurrentSongInfo,
-                           "O":       ShowOutputs,
-                           "P":       ShowDecoders,
-                           "R":       AddRandom,
-                       },
-                       navigation: {
-                           "k":         Up,
-                           "j":         Down,
-                           "h":         Left,
-                           "l":         Right,
-                           "<Up>":      Up,
-                           "<Down>":    Down,
-                           "<Left>":    Left,
-                           "<Right>":   Right,
-                           "<C-k>":     PaneUp,
-                           "<C-j>":     PaneDown,
-                           "<C-h>":     PaneLeft,
-                           "<C-l>":     PaneRight,
-                           "<C-u>":     UpHalf,
-                           "N":         PreviousResult,
-                           "a":         Add,
-                           "A":         AddAll,
-                           "r":         Rename,
-                           "n":         NextResult,
-                           "g":         Top,
-                           "<Space>":   Select,
-                           "<C-Space>": InvertSelection,
-                           "G":         Bottom,
-                           "<CR>":      Confirm,
-                           "i":         FocusInput,
-                           "J":         MoveDown,
-                           "<C-d>":     DownHalf,
-                           "/":         EnterSearch,
-                           "<C-c>":     Close,
-                           "<Esc>":     Close,
-                           "K":         MoveUp,
-                           "D":         Delete,
-                           "B":         ShowInfo,
-                       },
-                       queue: {
-                           "D":       DeleteAll,
-                           "<CR>":    Play,
-                           "<C-s>":   Save,
-                           "a":       AddToPlaylist,
-                           "d":       Delete,
-                           "C":       JumpToCurrent,
-                           "X":       Shuffle,
-                       },
-                   ),
-                   search: (
-                       case_sensitive: false,
-                       ignore_diacritics: 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],
-                   ),
-                   tabs: [
-                   (
-                       name: "Queue",
-                       pane: Split(
-                           direction: Horizontal,
-                           panes: [(size: "60%", pane: Pane(Queue)), (size: "40%", pane: Pane(AlbumArt))],
-                       ),
-                   ),
-                   (
-                       name: "Directories",
-                       pane: Pane(Directories),
-                   ),
-                   (
-                       name: "Artists",
-                       pane: Pane(Artists),
-                   ),
-                   (
-                       name: "Album Artists",
-                       pane: Pane(AlbumArtists),
-                   ),
-                   (
-                       name: "Albums",
-                       pane: Pane(Albums),
-                   ),
-                   (
-                       name: "Playlists",
-                       pane: Pane(Playlists),
-                   ),
-                   (
-                       name: "Search",
-                       pane: Pane(Search),
-                   ),
-                       ],
-               )
-       '';
+      #![enable(implicit_some)]
+      #![enable(unwrap_newtypes)]
+      #![enable(unwrap_variant_newtypes)]
+      (
+          address: "127.0.0.1:6600",
+          password: None,
+          theme: None,
+          cache_dir: None,
+          on_song_change: None,
+          volume_step: 5,
+          max_fps: 30,
+          scrolloff: 0,
+          wrap_navigation: false,
+          enable_mouse: true,
+          enable_config_hot_reload: true,
+          status_update_interval_ms: 1000,
+          rewind_to_start_sec: None,
+          reflect_changes_to_playlist: false,
+          select_current_song_on_change: 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,
+          ),
+          keybinds: (
+       global: {
+           ":":       CommandMode,
+           ",":       VolumeDown,
+           "s":       Stop,
+           ".":       VolumeUp,
+           "<Tab>":   NextTab,
+           "<S-Tab>": PreviousTab,
+           "1":       SwitchToTab("Queue"),
+           "2":       SwitchToTab("Directories"),
+           "3":       SwitchToTab("Artists"),
+           "4":       SwitchToTab("Album Artists"),
+           "5":       SwitchToTab("Albums"),
+           "6":       SwitchToTab("Playlists"),
+           "7":       SwitchToTab("Search"),
+           "q":       Quit,
+           ">":       NextTrack,
+           "p":       TogglePause,
+           "<":       PreviousTrack,
+           "f":       SeekForward,
+           "z":       ToggleRepeat,
+           "x":       ToggleRandom,
+           "c":       ToggleConsume,
+           "v":       ToggleSingle,
+           "b":       SeekBack,
+           "~":       ShowHelp,
+           "u":       Update,
+           "U":       Rescan,
+           "I":       ShowCurrentSongInfo,
+           "O":       ShowOutputs,
+           "P":       ShowDecoders,
+           "R":       AddRandom,
+       },
+       navigation: {
+           "k":         Up,
+           "j":         Down,
+           "h":         Left,
+           "l":         Right,
+           "<Up>":      Up,
+           "<Down>":    Down,
+           "<Left>":    Left,
+           "<Right>":   Right,
+           "<C-k>":     PaneUp,
+           "<C-j>":     PaneDown,
+           "<C-h>":     PaneLeft,
+           "<C-l>":     PaneRight,
+           "<C-u>":     UpHalf,
+           "N":         PreviousResult,
+           "a":         Add,
+           "A":         AddAll,
+           "r":         Rename,
+           "n":         NextResult,
+           "g":         Top,
+           "<Space>":   Select,
+           "<C-Space>": InvertSelection,
+           "G":         Bottom,
+           "<CR>":      Confirm,
+           "i":         FocusInput,
+           "J":         MoveDown,
+           "<C-d>":     DownHalf,
+           "/":         EnterSearch,
+           "<C-c>":     Close,
+           "<Esc>":     Close,
+           "K":         MoveUp,
+           "D":         Delete,
+           "B":         ShowInfo,
+       },
+       queue: {
+           "D":       DeleteAll,
+           "<CR>":    Play,
+           "<C-s>":   Save,
+           "a":       AddToPlaylist,
+           "d":       Delete,
+           "C":       JumpToCurrent,
+           "X":       Shuffle,
+       },
+          ),
+          search: (
+       case_sensitive: false,
+       ignore_diacritics: 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],
+          ),
+          tabs: [
+          (
+       name: "Queue",
+       pane: Split(
+           direction: Horizontal,
+           panes: [(size: "60%", pane: Pane(Queue)), (size: "40%", pane: Pane(AlbumArt))],
+       ),
+          ),
+          (
+       name: "Directories",
+       pane: Pane(Directories),
+          ),
+          (
+       name: "Artists",
+       pane: Pane(Artists),
+          ),
+          (
+       name: "Album Artists",
+       pane: Pane(AlbumArtists),
+          ),
+          (
+       name: "Albums",
+       pane: Pane(Albums),
+          ),
+          (
+       name: "Playlists",
+       pane: Pane(Playlists),
+          ),
+          (
+       name: "Search",
+       pane: Pane(Search),
+          ),
+       ],
+      )
+    '';
   };
 }