Johan Rong преди 6 месеца
родител
ревизия
8f8d56b60f

+ 6 - 1
README.md

@@ -1,2 +1,7 @@
 # Nix dots
-- Thanks to [kaleocheng/nix-dots](https://github.com/kaleocheng/nix-dots/) for the base idea/structure.
+- Thanks to [kaleocheng/nix-dots](https://github.com/kaleocheng/nix-dots/) for the base idea/structure.
+
+## Usage
+```bash
+
+```

+ 0 - 58
home/features/application/files.nix

@@ -42,64 +42,6 @@
           }
         '';
       };
-      flameshot = {
-        target = ".config/flameshot/flameshot.ini";
-        text = ''
-          [General]
-          contrastOpacity=188
-          showAbortNotification=false
-          showDesktopNotification=false
-          showStartupLaunchMessage=false
-          savePath=/home/johron/Pictures/Screenshots
-          savePathFixed=true
-        '';
-      };
-      mako = {
-        target = ".config/mako/config";
-        text = ''
-          default-timeout=5000
-        '';
-      };
-      clock = {
-        target = ".config/waybar/clock.sh";
-        text = ''
-        # Generate the formatted date string
-        formatted_date=$(LC_TIME=nb_NO.UTF-8 date +"%H:%M %A, %b %d" | tr '[:upper:]' '[:lower:]' | sed 's/\.//g')
-
-        # Output as JSON for Waybar
-        printf '{"text": "%s"}\n' "$formatted_date"
-        '';
-        executable = true;
-      };
-      memory = {
-        target = ".config/waybar/memory.sh";
-        text = ''
-          free -m | awk '
-          /^Mem:/ {
-              current_gb = $3 / 1024;
-              total_gb = $2 / 1024;
-              printf "{\"text\": \"%.1fG/%.1fG\"}\n", current_gb, total_gb
-          }'
-        '';
-        executable = true;
-      };
-      volume = {
-        target = ".config/waybar/volume.sh";
-        text = ''
-          VOLUME_INFO=$(wpctl get-volume @DEFAULT_AUDIO_SINK@)
-          VOL_NUM=$(echo "$VOLUME_INFO" | awk '{print $2}')
-          VOL_PERC=$(awk -v n="$VOL_NUM" 'BEGIN {print int(n * 100)}')
-
-          if [[ "$VOLUME_INFO" == *"[MUTED]"* ]]; then
-              RESULT="Muted ($VOL_PERC%)"
-          else
-              RESULT="$VOL_PERC%"
-          fi
-
-          echo "{\"text\": \"$RESULT\"}"
-        '';
-        executable = true;
-      };
     };
   };
 }

+ 1 - 3
home/features/application/sway/default.nix

@@ -198,9 +198,7 @@ in
       #  -b "Exit" "swaymsg exit" \
       #  -b "Reboot" "reboot"
 
-      #exec mpvpaper -o "--loop=inf" ALL /home/johron/Videos/cubebg.mp4
-
-      exec swaybg -i "$HOME/Pictures/Backgrounds/reef-1920x1080-2.png" -m fill
+      exec swaybg -i "/storage/Pictures/Backgrounds/reef-1920x1080-2.png" -m fill
 
       exec_always {
         systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK

+ 1 - 1
home/flavors/application/development/default.nix

@@ -10,7 +10,7 @@
     google-cloud-sdk
     ninja
     godot-mono
-    ida-free
+    #ida-free
     gdb
     flatpak-xdg-utils
     vscode

+ 2 - 0
home/flavors/desktop/sway/default.nix

@@ -4,7 +4,9 @@
     ../../../features/application/sway
     ../../../features/application/mako.nix
     ../../../features/application/rofi.nix
+    ../../../features/application/files.nix
     ../../../features/application/notwaita.nix
+    ../../../features/application/alacritty.nix
     ../../../features/application/breeze-dark.nix
   ];
 }

+ 1 - 0
hosts/desktop-nixos-workstation/networking.nix

@@ -5,4 +5,5 @@ in
 
 {
   networking.hostName = hosts.nixstation.hostname;
+  networking.networkmanager.enable = true;
 }