From 51600d453fd8f09341b16dc311f3fc10f1b92a4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Fri, 28 Feb 2025 12:35:24 +0100 Subject: [PATCH 01/24] Home Gen454 @ 2025-02-28-12:33 --- modules/home/doom/static/config.el | 9 +-------- modules/home/doom/static/init.el | 6 +++--- modules/home/doom/static/packages.el | 1 - 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/modules/home/doom/static/config.el b/modules/home/doom/static/config.el index 764cbd5..56d1b83 100644 --- a/modules/home/doom/static/config.el +++ b/modules/home/doom/static/config.el @@ -101,13 +101,6 @@ ("C-TAB" . 'copilot-accept-completion-by-word) ("C-" . 'copilot-accept-completion-by-word))) -(add-hook! 'prog-mode-hook #'undo-tree-mode) -(after! undo-tree - (setq undo-tree-auto-save-history t) - (setq undo-tree-enable-undo-in-region nil) - (setq undo-tree-history-directory-alist '(("." . "~/.cache/doom/undo")))) - - (after! markdown-mode (setq markdown-split-window-direction 'right) (setq markdown-command "pandoc -t html5 -f markdown_mmd --embed-resources --standalone --mathjax --quiet --highlight-style=zenburn") @@ -117,7 +110,7 @@ (require 'dap-cpptools) -(after! latex +(after! auctex (add-hook! 'LaTeX-mode-hook 'lsp) (map! :map LaTeX-mode-map :localleader diff --git a/modules/home/doom/static/init.el b/modules/home/doom/static/init.el index 710a9ef..901d3a1 100644 --- a/modules/home/doom/static/init.el +++ b/modules/home/doom/static/init.el @@ -70,9 +70,9 @@ :emacs dired ; making dired pretty [functional] electric ; smarter, keyword-based electric-indent - ;;ibuffer ; interactive buffer management + (ibuffer +icons) ; interactive buffer management - undo ; persistent, smarter undo for your inevitable mistakes + (undo +tree) ; persistent, smarter undo for your inevitable mistakes vc ; version-control and Emacs, sitting in a tree :term @@ -112,7 +112,7 @@ :os (:if (featurep :system 'macos) macos) ; improve compatibility with macOS - ;;tty ; improve the terminal Emacs experience + (tty +osc) ; improve the terminal Emacs experience :lang ;;agda ; types of types of types of types... diff --git a/modules/home/doom/static/packages.el b/modules/home/doom/static/packages.el index 00c31b2..698b8f3 100644 --- a/modules/home/doom/static/packages.el +++ b/modules/home/doom/static/packages.el @@ -57,7 +57,6 @@ (package! direnv) (package! copilot) -(package! undo-tree) (package! pdf-tools) (package! eww) (package! pandoc-mode) From 7a37129a7eca9204e935719c4016b677806359e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Fri, 28 Feb 2025 12:46:15 +0100 Subject: [PATCH 02/24] Home Gen455 @ 2025-02-28-12:45 --- modules/home/doom/static/packages.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/home/doom/static/packages.el b/modules/home/doom/static/packages.el index 698b8f3..5799a48 100644 --- a/modules/home/doom/static/packages.el +++ b/modules/home/doom/static/packages.el @@ -55,6 +55,9 @@ (package! copilot :recipe (:host github :repo "copilot-emacs/copilot.el" :files ("*.el"))) +;; TODO: Remove this when a fix for https://github.com/doomemacs/doomemacs/issues/8286 is included +(package! package-lint :pin "21edc6d0d0eadd2d0a537f422fb9b7b8a3ae6991") + (package! direnv) (package! copilot) (package! pdf-tools) From fa898e2453685d22fe8939617e57771ba89cb849 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Wed, 5 Mar 2025 14:56:22 +0100 Subject: [PATCH 03/24] Home Gen457 @ 2025-03-05-14:56 --- modules/home/zsh/zsh.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/home/zsh/zsh.nix b/modules/home/zsh/zsh.nix index 3a5563d..3969743 100644 --- a/modules/home/zsh/zsh.nix +++ b/modules/home/zsh/zsh.nix @@ -13,16 +13,18 @@ in { nix-direnv.enable = true; }; + # fancy ls command + programs.lsd = { + enable = true; + enableAliases = true; + }; + # Zsh programs.zsh = { enable = true; enableCompletion = true; syntaxHighlighting.enable = true; - shellAliases = { - ll = "ls -l"; - update = "sudo nixos-rebuild switch"; - }; history.size = 10000; history.path = "${config.xdg.dataHome}/zsh/history"; oh-my-zsh = { From 5c5a56925050bffb9e4e359022f482a282a22f8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Wed, 5 Mar 2025 15:17:19 +0100 Subject: [PATCH 04/24] Home Gen458 @ 2025-03-05-15:17 --- modules/home/ranger/config.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/modules/home/ranger/config.nix b/modules/home/ranger/config.nix index ce4274e..aaa2f1d 100644 --- a/modules/home/ranger/config.nix +++ b/modules/home/ranger/config.nix @@ -7,5 +7,28 @@ then "kitty" else "ueberzug"; }; + plugins = [ + { + name = "ranger-fzf-filter"; + src = builtins.fetchGit { + url = "https://github.com/MuXiu1997/ranger-fzf-filter"; + rev = "bf16de2e4ace415b685ff7c58306d0c5146f9f43"; + }; + } + { + name = "ranger-archives"; + src = builtins.fetchGit { + url = "https://github.com/maximtrp/ranger-archives"; + rev = "b4e136b24fdca7670e0c6105fb496e5df356ef25"; + }; + } + { + name = "ranger_devicons"; + src = builtins.fetchGit { + url = "https://github.com/alexanderjeurissen/ranger_devicons"; + rev = "f227f212e14996fbb366f945ec3ecaf5dc5f44b0"; + }; + } + ]; }; } From 6fd92fae809e720201ef26bcb3d0d56ca7aed4a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Wed, 5 Mar 2025 15:26:59 +0100 Subject: [PATCH 05/24] Home Gen459 @ 2025-03-05-15:26 --- modules/home/ranger/config.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/home/ranger/config.nix b/modules/home/ranger/config.nix index aaa2f1d..ca9ed80 100644 --- a/modules/home/ranger/config.nix +++ b/modules/home/ranger/config.nix @@ -9,14 +9,14 @@ }; plugins = [ { - name = "ranger-fzf-filter"; + name = "ranger_fzf_filter"; src = builtins.fetchGit { url = "https://github.com/MuXiu1997/ranger-fzf-filter"; rev = "bf16de2e4ace415b685ff7c58306d0c5146f9f43"; }; } { - name = "ranger-archives"; + name = "ranger_archives"; src = builtins.fetchGit { url = "https://github.com/maximtrp/ranger-archives"; rev = "b4e136b24fdca7670e0c6105fb496e5df356ef25"; From df755980362a599aa6b360cd4ee3fa505f6774ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Wed, 5 Mar 2025 15:29:46 +0100 Subject: [PATCH 06/24] Home Gen460 @ 2025-03-05-15:29 --- modules/home/ranger/config.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/home/ranger/config.nix b/modules/home/ranger/config.nix index ca9ed80..c932729 100644 --- a/modules/home/ranger/config.nix +++ b/modules/home/ranger/config.nix @@ -7,6 +7,9 @@ then "kitty" else "ueberzug"; }; + mappings = { + f = "console fzf_filter%space"; + }; plugins = [ { name = "ranger_fzf_filter"; From bc11297c8de3d052cc4c6a98af93f3e6049bf823 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Wed, 5 Mar 2025 15:38:42 +0100 Subject: [PATCH 07/24] Home Gen461 @ 2025-03-05-15:38 --- modules/home/ranger/config.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/home/ranger/config.nix b/modules/home/ranger/config.nix index c932729..b9b68f9 100644 --- a/modules/home/ranger/config.nix +++ b/modules/home/ranger/config.nix @@ -1,4 +1,8 @@ -{config, ...}: { +{ + config, + lib, + ... +}: { programs.ranger = { settings = { preview_images = true; @@ -7,6 +11,9 @@ then "kitty" else "ueberzug"; }; + extraConfig = lib.strings.concatStringsSep "\n" [ + "default_linemode devicons" + ]; mappings = { f = "console fzf_filter%space"; }; From 924be9e067ea558b44bab734960b367d51bb7cbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Wed, 5 Mar 2025 15:47:37 +0100 Subject: [PATCH 08/24] Home Gen462 @ 2025-03-05-15:47 --- modules/home/ranger/config.nix | 60 +++++++++++++++++++++------------- 1 file changed, 37 insertions(+), 23 deletions(-) diff --git a/modules/home/ranger/config.nix b/modules/home/ranger/config.nix index b9b68f9..89e6f23 100644 --- a/modules/home/ranger/config.nix +++ b/modules/home/ranger/config.nix @@ -17,28 +17,42 @@ mappings = { f = "console fzf_filter%space"; }; - plugins = [ - { - name = "ranger_fzf_filter"; - src = builtins.fetchGit { - url = "https://github.com/MuXiu1997/ranger-fzf-filter"; - rev = "bf16de2e4ace415b685ff7c58306d0c5146f9f43"; - }; - } - { - name = "ranger_archives"; - src = builtins.fetchGit { - url = "https://github.com/maximtrp/ranger-archives"; - rev = "b4e136b24fdca7670e0c6105fb496e5df356ef25"; - }; - } - { - name = "ranger_devicons"; - src = builtins.fetchGit { - url = "https://github.com/alexanderjeurissen/ranger_devicons"; - rev = "f227f212e14996fbb366f945ec3ecaf5dc5f44b0"; - }; - } - ]; + plugins = + [ + { + name = "ranger_fzf_filter"; + src = builtins.fetchGit { + url = "https://github.com/MuXiu1997/ranger-fzf-filter"; + rev = "bf16de2e4ace415b685ff7c58306d0c5146f9f43"; + }; + } + { + name = "ranger_archives"; + src = builtins.fetchGit { + url = "https://github.com/maximtrp/ranger-archives"; + rev = "b4e136b24fdca7670e0c6105fb496e5df356ef25"; + }; + } + { + name = "ranger_devicons"; + src = builtins.fetchGit { + url = "https://github.com/alexanderjeurissen/ranger_devicons"; + rev = "f227f212e14996fbb366f945ec3ecaf5dc5f44b0"; + }; + } + ] + ++ ( + if config.services.kdeconnect.enable + then + lib.lists.singleton + { + name = "ranger_kdeconnect"; + src = builtins.fetchGit { + url = "https://github.com/bwconrad/ranger-kdeconnect"; + rev = "710c600bb894fed3e293f6518930c16a494dd154"; + }; + } + else [] + ); }; } From ca929488adcf89566d6e9cd88ea8c884021a5b5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Wed, 5 Mar 2025 15:53:33 +0100 Subject: [PATCH 09/24] Home Gen463 @ 2025-03-05-15:53 --- modules/home/ranger/config.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/modules/home/ranger/config.nix b/modules/home/ranger/config.nix index 89e6f23..37d4bbf 100644 --- a/modules/home/ranger/config.nix +++ b/modules/home/ranger/config.nix @@ -46,11 +46,13 @@ then lib.lists.singleton { - name = "ranger_kdeconnect"; - src = builtins.fetchGit { - url = "https://github.com/bwconrad/ranger-kdeconnect"; - rev = "710c600bb894fed3e293f6518930c16a494dd154"; - }; + name = "ranger_kdeconnect.py"; + src = + builtins.fetchGit { + url = "https://github.com/bwconrad/ranger-kdeconnect"; + rev = "710c600bb894fed3e293f6518930c16a494dd154"; + } + + "kdeconnect_send.py"; } else [] ); From 62a5aefa479a2eaf7cdca057761d7ca95a5bc3a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Wed, 5 Mar 2025 15:59:18 +0100 Subject: [PATCH 10/24] Home Gen464 @ 2025-03-05-15:59 --- modules/home/ranger/config.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home/ranger/config.nix b/modules/home/ranger/config.nix index 37d4bbf..25ce2e0 100644 --- a/modules/home/ranger/config.nix +++ b/modules/home/ranger/config.nix @@ -52,7 +52,7 @@ url = "https://github.com/bwconrad/ranger-kdeconnect"; rev = "710c600bb894fed3e293f6518930c16a494dd154"; } - + "kdeconnect_send.py"; + + "/kdeconnect_send.py"; } else [] ); From db1c018d3900cfdfcea70511aabb62d1db1d2735 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Wed, 5 Mar 2025 16:04:45 +0100 Subject: [PATCH 11/24] Home Gen465 @ 2025-03-05-16:04 --- flake.lock | 6 +++--- modules/bin/nix-scripts.nix | 8 ++++---- modules/home/zsh/tools.nix | 1 + modules/programs.nix | 2 +- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/flake.lock b/flake.lock index e55ab23..4d41d4b 100644 --- a/flake.lock +++ b/flake.lock @@ -455,11 +455,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1739214665, - "narHash": "sha256-26L8VAu3/1YRxS8MHgBOyOM8xALdo6N0I04PgorE7UM=", + "lastModified": 1741010256, + "narHash": "sha256-WZNlK/KX7Sni0RyqLSqLPbK8k08Kq7H7RijPJbq9KHM=", "owner": "nixos", "repo": "nixpkgs", - "rev": "64e75cd44acf21c7933d61d7721e812eac1b5a0a", + "rev": "ba487dbc9d04e0634c64e3b1f0d25839a0a68246", "type": "github" }, "original": { diff --git a/modules/bin/nix-scripts.nix b/modules/bin/nix-scripts.nix index e026cd4..41f6273 100644 --- a/modules/bin/nix-scripts.nix +++ b/modules/bin/nix-scripts.nix @@ -11,7 +11,7 @@ ${pkgs.alejandra}/bin/alejandra . &>/dev/null ${pkgs.git}/bin/git diff -U0 echo "NixOS Rebuilding..." - ${pkgs.unstable.nh}/bin/nh home switch ~/.nixos + ${pkgs.nh}/bin/nh home switch ~/.nixos gen=$(home-manager generations | head -n1 | ${pkgs.gawk}/bin/awk '{print "Gen" $5 " @ " $1 "-" $2}') ${pkgs.git}/bin/git commit --no-gpg-sign -am "Home $gen" popd @@ -24,7 +24,7 @@ ${pkgs.alejandra}/bin/alejandra . &>/dev/null ${pkgs.git}/bin/git diff -U0 echo "NixOS Rebuilding..." - ${pkgs.unstable.nh}/bin/nh os switch ~/.nixos + ${pkgs.nh}/bin/nh os switch ~/.nixos gen=$(sudo nix-env --list-generations --profile /nix/var/nix/profiles/system | ${pkgs.gnugrep}/bin/grep current | ${pkgs.gawk}/bin/awk '{print "Gen" $1 " @ " $2 "-" $3}') ${pkgs.git}/bin/git commit --no-gpg-sign -am "System $gen" popd @@ -41,7 +41,7 @@ echo "Updating nix-flake..." nix flake update --flake . echo "NixOS Rebuilding..." - ${pkgs.unstable.nh}/bin/nh os switch ~/.nixos + ${pkgs.nh}/bin/nh os switch ~/.nixos gen=$(sudo nix-env --list-generations --profile /nix/var/nix/profiles/system | ${pkgs.gnugrep}/bin/grep current | ${pkgs.gawk}/bin/awk '{print "Gen" $1 " @ " $2 "-" $3}') ${pkgs.git}/bin/git commit --no-gpg-sign -am "Upgrade $gen" popd @@ -58,7 +58,7 @@ echo "Updating nix-flake..." nix flake update --flake . echo "NixOS Building..." - ${pkgs.unstable.nh}/bin/nh os build ~/.nixos + ${pkgs.nh}/bin/nh os build ~/.nixos popd ''; in { diff --git a/modules/home/zsh/tools.nix b/modules/home/zsh/tools.nix index 717853f..e58811e 100644 --- a/modules/home/zsh/tools.nix +++ b/modules/home/zsh/tools.nix @@ -13,6 +13,7 @@ python311Packages.radian ranger thefuck + unstable.mmtui unzip vim w3m diff --git a/modules/programs.nix b/modules/programs.nix index 39140d0..2a0007a 100644 --- a/modules/programs.nix +++ b/modules/programs.nix @@ -44,6 +44,7 @@ in { pkgs.mosquitto pkgs.mpv pkgs.mupdf + pkgs.nh pkgs.nix-index pkgs.nix-output-monitor pkgs.obsidian @@ -53,7 +54,6 @@ in { pkgs.ranger pkgs.sops pkgs.spotify - pkgs.unstable.nh pkgs.vim pkgs.vlc pkgs.vscode From 1c381155483165a28ae9f296b7758b401036a9b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Wed, 5 Mar 2025 16:11:25 +0100 Subject: [PATCH 12/24] Home Gen466 @ 2025-03-05-16:11 --- modules/home/zsh/tools.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/home/zsh/tools.nix b/modules/home/zsh/tools.nix index e58811e..4ba8f21 100644 --- a/modules/home/zsh/tools.nix +++ b/modules/home/zsh/tools.nix @@ -7,6 +7,7 @@ killall neofetch nix-search-cli + nix-tree nixpkgs-fmt pass poetry From 1d0396a39e433efa0ad483f7cd35a9c5c3901b90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Thu, 6 Mar 2025 15:29:16 +0100 Subject: [PATCH 13/24] System Gen149 @ 2025-03-06-15:29:15 --- modules/programs.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/programs.nix b/modules/programs.nix index 2a0007a..5a75dac 100644 --- a/modules/programs.nix +++ b/modules/programs.nix @@ -32,6 +32,7 @@ in { pkgs.docker pkgs.docker-compose pkgs.drawio + pkgs.feh pkgs.ffmpeg pkgs.firefox pkgs.gimp From 70a374a1635676406ef3036741310b7f798a1a56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Fri, 14 Mar 2025 02:25:00 +0100 Subject: [PATCH 14/24] Home Gen467 @ 2025-03-14-02:24 --- modules/home/zsh/tools.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/home/zsh/tools.nix b/modules/home/zsh/tools.nix index 4ba8f21..1b72588 100644 --- a/modules/home/zsh/tools.nix +++ b/modules/home/zsh/tools.nix @@ -20,5 +20,6 @@ w3m wget yt-dlp + zip ]; } From f2d89f08c383992218fcf2d578c4529fc3e66d94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Sat, 15 Mar 2025 14:28:41 +0100 Subject: [PATCH 15/24] System Gen150 @ 2025-03-15-14:28:40 --- hosts/comfy-station/configuration.nix | 2 +- modules/programs.nix | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/hosts/comfy-station/configuration.nix b/hosts/comfy-station/configuration.nix index 82cc2fb..6c2e591 100644 --- a/hosts/comfy-station/configuration.nix +++ b/hosts/comfy-station/configuration.nix @@ -22,7 +22,7 @@ ../../modules/programs.nix ]; desktop.dm.name = "sddm"; - desktop.de.plasma.enable = true; + desktop.de.plasma.enable = false; desktop.de.hyprland.enable = true; nix.settings.experimental-features = ["nix-command" "flakes"]; diff --git a/modules/programs.nix b/modules/programs.nix index 5a75dac..2773f76 100644 --- a/modules/programs.nix +++ b/modules/programs.nix @@ -38,7 +38,6 @@ in { pkgs.gimp pkgs.git pkgs.insomnia - pkgs.kicad pkgs.krita pkgs.libreoffice pkgs.lutris From 216805a80d226d6182c8a0a19a07dfd973f22400 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Sat, 15 Mar 2025 19:31:07 +0100 Subject: [PATCH 16/24] System Gen151 @ 2025-03-15-19:31:07 --- modules/bin/nix-scripts.nix | 34 +++++++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/modules/bin/nix-scripts.nix b/modules/bin/nix-scripts.nix index 41f6273..67a830b 100644 --- a/modules/bin/nix-scripts.nix +++ b/modules/bin/nix-scripts.nix @@ -38,12 +38,23 @@ echo ".nixos is unclean!" exit 1 fi + branch_staging="staging-update" + + if ${pkgs.git}/bin/git rev-parse --verify "$branch_staging" >/dev/null 2>&1; then + echo "Using staging update branch." + else + echo "No staging update branch found." + exit 1 + fi + + ${pkgs.git}/bin/git checkout "$branch_staging" flake.lock echo "Updating nix-flake..." nix flake update --flake . echo "NixOS Rebuilding..." ${pkgs.nh}/bin/nh os switch ~/.nixos gen=$(sudo nix-env --list-generations --profile /nix/var/nix/profiles/system | ${pkgs.gnugrep}/bin/grep current | ${pkgs.gawk}/bin/awk '{print "Gen" $1 " @ " $2 "-" $3}') ${pkgs.git}/bin/git commit --no-gpg-sign -am "Upgrade $gen" + ${pkgs.git}/bin/git branch -D "$branch_staging" popd ''; update = @@ -55,15 +66,28 @@ echo ".nixos is unclean!" exit 1 fi - echo "Updating nix-flake..." - nix flake update --flake . - echo "NixOS Building..." - ${pkgs.nh}/bin/nh os build ~/.nixos + branch_staging="staging-update" + branch_current="$(${pkgs.git}/bin/git branch --show-current)" + + if ${pkgs.git}/bin/git rev-parse --verify "$branch_staging" >/dev/null 2>&1; then + echo "There is already a staging update branch." + else + echo "Creating a new staging update branch." + ${pkgs.git}/bin/git switch -c "$branch_staging" + nix flake update --verbose --flake . + ${pkgs.git}/bin/git add flake.lock + ${pkgs.git}/bin/git commit --no-gpg-sign -m "staging update" + ${pkgs.git}/bin/git switch "$branch_current" + fi + + nix store diff-closures \ + '.?ref='"$branch_current"'#nixosConfigurations.'"$(${pkgs.hostname}/bin/hostname)"'.config.system.build.toplevel' \ + '.?ref='"$branch_staging"'#nixosConfigurations.'"$(${pkgs.hostname}/bin/hostname)"'.config.system.build.toplevel' + popd ''; in { environment.systemPackages = [ - pkgs.bash home-rebuild rebuild upgrade From 564555d4e928fc9c884f53303f2d6bc5aa71db86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Sat, 15 Mar 2025 19:36:49 +0100 Subject: [PATCH 17/24] Upgrade Gen152 @ 2025-03-15-19:36:48 --- flake.lock | 84 +++++++++++++++++++++++++++--------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/flake.lock b/flake.lock index 4d41d4b..c31789d 100644 --- a/flake.lock +++ b/flake.lock @@ -20,11 +20,11 @@ ] }, "locked": { - "lastModified": 1739103745, - "narHash": "sha256-c53dcRaw0F4Os9WD05HwIRs9kTDZw4Mxe1XK4edEALo=", + "lastModified": 1741934125, + "narHash": "sha256-qwI47l3aKXRpDvmCKDbLV70iVfAqhpuKqT7qYHA4KJk=", "owner": "hyprwm", "repo": "aquamarine", - "rev": "a3dda0d10ce9aa1d1dfb7a6c139ea8c2872c74bd", + "rev": "bea48d0bbe15fb3d758a8b6be865836c97056575", "type": "github" }, "original": { @@ -42,11 +42,11 @@ }, "locked": { "dir": "pkgs/firefox-addons", - "lastModified": 1739383790, - "narHash": "sha256-OuQrFnZqp9coc4b7Hz1QkTxj+pIiAvS/fUnCXqxUUFw=", + "lastModified": 1742025179, + "narHash": "sha256-gxfMDCQeGZk3wZjqdl2boaGGm+yiAkaNFNp3x5vhuYg=", "owner": "rycee", "repo": "nur-expressions", - "rev": "2b28cc6940ded52f60883074a2d53a328db9907c", + "rev": "9b8d2f4a1e3a199878d1eb14d7e0f176052a8038", "type": "gitlab" }, "original": { @@ -116,11 +116,11 @@ ] }, "locked": { - "lastModified": 1736373539, - "narHash": "sha256-dinzAqCjenWDxuy+MqUQq0I4zUSfaCvN9rzuCmgMZJY=", + "lastModified": 1739757849, + "narHash": "sha256-Gs076ot1YuAAsYVcyidLKUMIc4ooOaRGO0PqTY7sBzA=", "owner": "nix-community", "repo": "home-manager", - "rev": "bd65bc3cde04c16755955630b344bc9e35272c56", + "rev": "9d3d080aec2a35e05a15cedd281c2384767c2cfe", "type": "github" }, "original": { @@ -206,11 +206,11 @@ "xdph": "xdph" }, "locked": { - "lastModified": 1739368482, - "narHash": "sha256-SHDq4bk3tJsh0wyXs20OztvsCGT2+6c6sj92+qBKjfI=", + "lastModified": 1742062509, + "narHash": "sha256-7XaXH+puaULpz2dbK9VuMgOwI9cD7MBd51N+wZsXiIY=", "owner": "hyprwm", "repo": "Hyprland", - "rev": "68bb3e7f0a1d528a8b2da1f92d2005889587561d", + "rev": "4c471218c9fd8be87f0df968004e527b4f42d948", "type": "github" }, "original": { @@ -358,11 +358,11 @@ ] }, "locked": { - "lastModified": 1739048914, - "narHash": "sha256-vd5rJBTmp2w7SDgfv23Zcd84ktI5eDA7e5UBzx+pKrU=", + "lastModified": 1741191527, + "narHash": "sha256-kM+11Nch47Xwfgtw2EpRitJuORy4miwoMuRi5tyMBDY=", "owner": "hyprwm", "repo": "hyprlang", - "rev": "a7334904d591f38757c46fbe2ab68651877d9099", + "rev": "72df3861f1197e41b078faa3e38eedd60e00018d", "type": "github" }, "original": { @@ -383,11 +383,11 @@ ] }, "locked": { - "lastModified": 1739048933, - "narHash": "sha256-ck6MaoYvISBQKqZR+HcxXnx0wOhyCauxfVMaV5zhJxQ=", + "lastModified": 1741534688, + "narHash": "sha256-EV3945SnjOCuRVbGRghsWx/9D89FyshnSO1Q6/TuQ14=", "owner": "hyprwm", "repo": "hyprutils", - "rev": "e4e018a2ca6f5a9c33511973454199e1c7c85499", + "rev": "dd1f720cbc2dbb3c71167c9598045dd3261d27b3", "type": "github" }, "original": { @@ -408,11 +408,11 @@ ] }, "locked": { - "lastModified": 1739049028, - "narHash": "sha256-RleJp7LYbr6s+M1xgbmhtBs+fYa3ZdIiF7+QalJ4D1g=", + "lastModified": 1739870480, + "narHash": "sha256-SiDN5BGxa/1hAsqhgJsS03C3t2QrLgBT8u+ENJ0Qzwc=", "owner": "hyprwm", "repo": "hyprwayland-scanner", - "rev": "04146df74a8d5ec0b579657307be01f1e241125f", + "rev": "206367a08dc5ac4ba7ad31bdca391d098082e64b", "type": "github" }, "original": { @@ -423,11 +423,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1738816619, - "narHash": "sha256-5yRlg48XmpcX5b5HesdGMOte+YuCy9rzQkJz+imcu6I=", + "lastModified": 1741792691, + "narHash": "sha256-f0BVt1/cvA0DQ/q3rB+HY4g4tKksd03ZkzI4xehC2Ew=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "2eccff41bab80839b1d25b303b53d339fbb07087", + "rev": "e1f12151258b12c567f456d8248e4694e9390613", "type": "github" }, "original": { @@ -439,11 +439,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1739206421, - "narHash": "sha256-PwQASeL2cGVmrtQYlrBur0U20Xy07uSWVnFup2PHnDs=", + "lastModified": 1741862977, + "narHash": "sha256-prZ0M8vE/ghRGGZcflvxCu40ObKaB+ikn74/xQoNrGQ=", "owner": "nixos", "repo": "nixpkgs", - "rev": "44534bc021b85c8d78e465021e21f33b856e2540", + "rev": "cdd2ef009676ac92b715ff26630164bb88fec4e0", "type": "github" }, "original": { @@ -455,11 +455,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1741010256, - "narHash": "sha256-WZNlK/KX7Sni0RyqLSqLPbK8k08Kq7H7RijPJbq9KHM=", + "lastModified": 1741851582, + "narHash": "sha256-cPfs8qMccim2RBgtKGF+x9IBCduRvd/N5F4nYpU0TVE=", "owner": "nixos", "repo": "nixpkgs", - "rev": "ba487dbc9d04e0634c64e3b1f0d25839a0a68246", + "rev": "6607cf789e541e7873d40d3a8f7815ea92204f32", "type": "github" }, "original": { @@ -479,11 +479,11 @@ ] }, "locked": { - "lastModified": 1736549395, - "narHash": "sha256-XzwkB62Tt5UYoL1jXiHzgk/qz2fUpGHExcSIbyGTtI0=", + "lastModified": 1740569341, + "narHash": "sha256-WV8nY2IOfWdzBF5syVgCcgOchg/qQtpYh6LECYS9XkY=", "owner": "pjones", "repo": "plasma-manager", - "rev": "a53af7f1514ef4cce8620a9d6a50f238cdedec8b", + "rev": "5eeb0172fb74392053b66a8149e61b5e191b2845", "type": "github" }, "original": { @@ -502,11 +502,11 @@ ] }, "locked": { - "lastModified": 1737465171, - "narHash": "sha256-R10v2hoJRLq8jcL4syVFag7nIGE7m13qO48wRIukWNg=", + "lastModified": 1741379162, + "narHash": "sha256-srpAbmJapkaqGRE3ytf3bj4XshspVR5964OX5LfjDWc=", "owner": "cachix", "repo": "git-hooks.nix", - "rev": "9364dc02281ce2d37a1f55b6e51f7c0f65a75f17", + "rev": "b5a62751225b2f62ff3147d0a334055ebadcd5cc", "type": "github" }, "original": { @@ -535,11 +535,11 @@ ] }, "locked": { - "lastModified": 1739262228, - "narHash": "sha256-7JAGezJ0Dn5qIyA2+T4Dt/xQgAbhCglh6lzCekTVMeU=", + "lastModified": 1741861888, + "narHash": "sha256-ynOgXAyToeE1UdLNfrUn/hL7MN0OpIS2BtNdLjpjPf0=", "owner": "Mic92", "repo": "sops-nix", - "rev": "07af005bb7d60c7f118d9d9f5530485da5d1e975", + "rev": "d016ce0365b87d848a57c12ffcfdc71da7a2b55f", "type": "github" }, "original": { @@ -591,11 +591,11 @@ ] }, "locked": { - "lastModified": 1737634991, - "narHash": "sha256-dBAnb7Kbnier30cA7AgxVSxxARmxKZ1vHZT33THSIr8=", + "lastModified": 1741934139, + "narHash": "sha256-ZhTcTH9FoeAtbPfWGrhkH7RjLJZ7GeF18nygLAMR+WE=", "owner": "hyprwm", "repo": "xdg-desktop-portal-hyprland", - "rev": "e09dfe2726c8008f983e45a0aa1a3b7416aaeb8a", + "rev": "150b0b6f52bb422a1b232a53698606fe0320dde0", "type": "github" }, "original": { From 115c7d396c27840ce47a3eb4b7470f77995d8472 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Sun, 16 Mar 2025 14:41:07 +0100 Subject: [PATCH 18/24] Home Gen469 @ 2025-03-16-14:41 --- modules/home/hyprland/config.nix | 35 +++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/modules/home/hyprland/config.nix b/modules/home/hyprland/config.nix index 2734bcb..9ac82e8 100644 --- a/modules/home/hyprland/config.nix +++ b/modules/home/hyprland/config.nix @@ -3,7 +3,34 @@ pkgs, lib, ... -}: { +}: let + screenshot = pkgs.writeShellScriptBin "screenshot" '' + region=0 + clip=0 + while [[ "$#" -gt 0 ]]; do + case $1 in + --region) region=1; ;; + --clip) clip=1; ;; + *) echo "Unknown parameter passed: $1"; exit 1 ;; + esac + shift + done + + if [[ $region -eq 1 ]]; then + if [[ $clip -eq 1 ]]; then + ${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)" | ${pkgs.wl-clipboard}/bin/wl-copy + else + ${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)" ~/Pictures/Screenshots/$(${pkgs.coreutils}/bin/date +'%Y-%m-%d_%H-%M-%S').png + fi + else + if [[ $clip -eq 1 ]]; then + ${pkgs.grim}/bin/grim | ${pkgs.wl-clipboard}/bin/wl-copy + else + ${pkgs.grim}/bin/grim ~/Pictures/Screenshots/$(${pkgs.coreutils}/bin/date +'%Y-%m-%d_%H-%M-%S').png + fi + fi + ''; +in { services.hypridle.settings = { general = { # lock_cmd = notify-send "lock!" # dbus/sysd lock command (loginctl lock-session) @@ -190,8 +217,10 @@ "$mod, 9, exec, ${pkgs.hyprlock}/bin/hyprlock" "$mod, 0, exec, ${pkgs.wlogout}/bin/wlogout -b 5" "$mod, n, exec, ${pkgs.swaynotificationcenter}/bin/swaync-client -t" - ", Print, exec, ${pkgs.grim}/bin/grim -g \"\$(${pkgs.slurp}/slurp)\" ~/Pictures/Screenshots/$(date +'%Y-%m-%d_%H-%M-%S').png" - "CTRL, Print, exec, ${pkgs.grim}/bin/grim -g \"\$(${pkgs.slurp}/slurp)\" | wl-copy" + ", Print, exec, ${screenshot}/bin/screenshot" + "CTRL, Print, exec, ${screenshot}/bin/screenshot --region" + "SHIFT, Print, exec, ${screenshot}/bin/screenshot --clip" + "CTRL SHIFT, Print, exec, ${screenshot}/bin/screenshot --region --clip" ] ++ ( # workspaces From b83a8f2db919f062e1a9cbda978d7794eae2c85e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Sun, 16 Mar 2025 14:53:06 +0100 Subject: [PATCH 19/24] Home Gen470 @ 2025-03-16-14:53 --- modules/home/hyprland/config.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/home/hyprland/config.nix b/modules/home/hyprland/config.nix index 9ac82e8..08391e4 100644 --- a/modules/home/hyprland/config.nix +++ b/modules/home/hyprland/config.nix @@ -18,13 +18,13 @@ if [[ $region -eq 1 ]]; then if [[ $clip -eq 1 ]]; then - ${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)" | ${pkgs.wl-clipboard}/bin/wl-copy + ${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)" - | ${pkgs.wl-clipboard}/bin/wl-copy else ${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)" ~/Pictures/Screenshots/$(${pkgs.coreutils}/bin/date +'%Y-%m-%d_%H-%M-%S').png fi else if [[ $clip -eq 1 ]]; then - ${pkgs.grim}/bin/grim | ${pkgs.wl-clipboard}/bin/wl-copy + ${pkgs.grim}/bin/grim - | ${pkgs.wl-clipboard}/bin/wl-copy else ${pkgs.grim}/bin/grim ~/Pictures/Screenshots/$(${pkgs.coreutils}/bin/date +'%Y-%m-%d_%H-%M-%S').png fi From fd9a64cc5bd7b62af2c0a455de6c9bfcffdfdbd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Sun, 16 Mar 2025 16:43:10 +0100 Subject: [PATCH 20/24] add rust template --- flake.nix | 6 +++ templates/rust/.envrc | 17 +++++++++ templates/rust/.gitignore | 3 ++ templates/rust/Cargo.toml | 11 ++++++ templates/rust/flake.nix | 60 ++++++++++++++++++++++++++++++ templates/rust/rust-toolchain.toml | 3 ++ templates/rust/src/main.rs | 11 ++++++ 7 files changed, 111 insertions(+) create mode 100644 templates/rust/.envrc create mode 100644 templates/rust/.gitignore create mode 100644 templates/rust/Cargo.toml create mode 100644 templates/rust/flake.nix create mode 100644 templates/rust/rust-toolchain.toml create mode 100644 templates/rust/src/main.rs diff --git a/flake.nix b/flake.nix index 8415401..109c877 100644 --- a/flake.nix +++ b/flake.nix @@ -99,4 +99,10 @@ extraSpecialArgs = {inherit inputs;}; }; }; + templates = { + rust = { + path = ./templates/rust; + description = "A simple rust binary template"; + }; + }; } diff --git a/templates/rust/.envrc b/templates/rust/.envrc new file mode 100644 index 0000000..412cbef --- /dev/null +++ b/templates/rust/.envrc @@ -0,0 +1,17 @@ +#!/usr/bin/env bash +# ^ make editor happy + +# +# Use https://direnv.net/ to automatically load the dev shell. +# + +if ! has nix_direnv_version || ! nix_direnv_version 3.0.4; then + source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.4/direnvrc" "sha256-DzlYZ33mWF/Gs8DDeyjr8mnVmQGx7ASYqA5WlxwvBG4=" +fi + +watch_file nix/** +watch_file -- **/*.nix +# Adding files to git includes them in a flake +# But it is also a bit much reloading. +# watch_file .git/index .git/HEAD +use flake . --show-trace diff --git a/templates/rust/.gitignore b/templates/rust/.gitignore new file mode 100644 index 0000000..80c4fce --- /dev/null +++ b/templates/rust/.gitignore @@ -0,0 +1,3 @@ +.direnv/ +target/ +result/ diff --git a/templates/rust/Cargo.toml b/templates/rust/Cargo.toml new file mode 100644 index 0000000..aad94b0 --- /dev/null +++ b/templates/rust/Cargo.toml @@ -0,0 +1,11 @@ +[package] +name = "RustBinary" +description = "A rust binary" +publish = false +version = "0.1.0" + +edition = "2021" + +[[bin]] +name = "hello" +path = "src/main.rs" diff --git a/templates/rust/flake.nix b/templates/rust/flake.nix new file mode 100644 index 0000000..79a1bee --- /dev/null +++ b/templates/rust/flake.nix @@ -0,0 +1,60 @@ +{ + description = "Rust-Nix"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/unstable"; + rust-overlay = { + url = "github:oxalica/rust-overlay"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + flake-utils.url = "github:numtide/flake-utils"; + crate2nix = { + url = "github:nix-community/crate2nix"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + }; + + outputs = inputs @ { + crate2nix, + flake-utils, + nixpkgs, + rust-overlay, + ... + }: + flake-utils.lib.eachDefaultSystem ( + system: let + # Overlay pkgs with rust-bin + overlays = [(import rust-overlay)]; + pkgs = import nixpkgs { + inherit system overlays; + }; + + # Use rust-bin to generate the toolchain from rust-toolchain.toml + rust-toolchain = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml; + + buildRustCrateForPkgs = pkgs: + pkgs.buildRustCrate.override { + rustc = rust-toolchain; # Use rustc from toolchain + cargo = rust-toolchain; # Use cargo from toolchain + }; + + # Cargo.nix for IFD + generatedCargoNix = crate2nix.tools.${system}.generatedCargoNix { + name = "rustnix"; + src = ./.; + }; + + cargoNix = import generatedCargoNix { + inherit pkgs buildRustCrateForPkgs; + }; + in { + packages = rec { + hello = cargoNix.rootCrate.build; + default = hello; + }; + devShell = pkgs.mkShell { + buildInputs = [rust-toolchain]; + }; + } + ); +} diff --git a/templates/rust/rust-toolchain.toml b/templates/rust/rust-toolchain.toml new file mode 100644 index 0000000..58e81e8 --- /dev/null +++ b/templates/rust/rust-toolchain.toml @@ -0,0 +1,3 @@ +[toolchain] +channel = "1.80.1" +components = [ "rustfmt", "rustc-dev", "rust-analyzer", "rust-src"] diff --git a/templates/rust/src/main.rs b/templates/rust/src/main.rs new file mode 100644 index 0000000..ed43722 --- /dev/null +++ b/templates/rust/src/main.rs @@ -0,0 +1,11 @@ +use colored::*; + +fn main() { + println!("{}", "Hello, world!".red()); + println!("{}", "Hello, world!".green()); + println!("{}", "Hello, world!".yellow()); + println!("{}", "Hello, world!".blue()); + println!("{}", "Hello, world!".purple()); + println!("{}", "Hello, world!".cyan()); + println!("{}", "Hello, world!".white()); +} From e2c38ef18ea3006d941dddccbe76050407698b61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Sun, 16 Mar 2025 16:47:33 +0100 Subject: [PATCH 21/24] fix templates --- flake.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index 109c877..fff8c41 100644 --- a/flake.nix +++ b/flake.nix @@ -98,11 +98,11 @@ # to pass through arguments to home.nix extraSpecialArgs = {inherit inputs;}; }; - }; - templates = { - rust = { - path = ./templates/rust; - description = "A simple rust binary template"; + templates = { + rust = { + path = ./templates/rust; + description = "A simple rust binary template"; + }; }; }; } From ba364b8195860abbef0e94a3c684e9e78a36db9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Sun, 16 Mar 2025 18:24:13 +0100 Subject: [PATCH 22/24] fix rust template --- templates/rust/Cargo.toml | 4 ++-- templates/rust/flake.nix | 7 ++++--- templates/rust/rust-toolchain.toml | 2 +- templates/rust/src/main.rs | 10 +--------- 4 files changed, 8 insertions(+), 15 deletions(-) diff --git a/templates/rust/Cargo.toml b/templates/rust/Cargo.toml index aad94b0..9322e5e 100644 --- a/templates/rust/Cargo.toml +++ b/templates/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "RustBinary" -description = "A rust binary" +name = "hello" +description = "A test rust binary" publish = false version = "0.1.0" diff --git a/templates/rust/flake.nix b/templates/rust/flake.nix index 79a1bee..2d1b81a 100644 --- a/templates/rust/flake.nix +++ b/templates/rust/flake.nix @@ -1,8 +1,8 @@ { - description = "Rust-Nix"; + description = "Rust-Hello"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/unstable"; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; rust-overlay = { url = "github:oxalica/rust-overlay"; inputs.nixpkgs.follows = "nixpkgs"; @@ -32,7 +32,7 @@ # Use rust-bin to generate the toolchain from rust-toolchain.toml rust-toolchain = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml; - buildRustCrateForPkgs = pkgs: + buildRustCrateForPkgs = _: pkgs.buildRustCrate.override { rustc = rust-toolchain; # Use rustc from toolchain cargo = rust-toolchain; # Use cargo from toolchain @@ -52,6 +52,7 @@ hello = cargoNix.rootCrate.build; default = hello; }; + devShell = pkgs.mkShell { buildInputs = [rust-toolchain]; }; diff --git a/templates/rust/rust-toolchain.toml b/templates/rust/rust-toolchain.toml index 58e81e8..535db1f 100644 --- a/templates/rust/rust-toolchain.toml +++ b/templates/rust/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.80.1" +channel = "1.85.0" components = [ "rustfmt", "rustc-dev", "rust-analyzer", "rust-src"] diff --git a/templates/rust/src/main.rs b/templates/rust/src/main.rs index ed43722..ea5b5d8 100644 --- a/templates/rust/src/main.rs +++ b/templates/rust/src/main.rs @@ -1,11 +1,3 @@ -use colored::*; - fn main() { - println!("{}", "Hello, world!".red()); - println!("{}", "Hello, world!".green()); - println!("{}", "Hello, world!".yellow()); - println!("{}", "Hello, world!".blue()); - println!("{}", "Hello, world!".purple()); - println!("{}", "Hello, world!".cyan()); - println!("{}", "Hello, world!".white()); + println!("{}", "Hello, world!"); } From ee1d489ab14cbdcb11472c7050f1c7298e9638c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Sun, 16 Mar 2025 18:26:33 +0100 Subject: [PATCH 23/24] add template flavour text --- flake.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/flake.nix b/flake.nix index fff8c41..a442d12 100644 --- a/flake.nix +++ b/flake.nix @@ -102,6 +102,13 @@ rust = { path = ./templates/rust; description = "A simple rust binary template"; + welcomeText = '' + # Rust template + This is a simple rust binary template. + To build the project run `cargo build`. + To run the project run `cargo run`. + Before running nix build, make sure to run `cargo generate-lockfile` first. + ''; }; }; }; From 9616d84f600f80e4d74a68e4e328ac4c3f42b20b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Sun, 16 Mar 2025 21:54:13 +0100 Subject: [PATCH 24/24] System Gen153 @ 2025-03-16-21:54:12 --- modules/desktop/de/hyprland.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/desktop/de/hyprland.nix b/modules/desktop/de/hyprland.nix index 4abd0f3..e690797 100644 --- a/modules/desktop/de/hyprland.nix +++ b/modules/desktop/de/hyprland.nix @@ -27,8 +27,11 @@ in { environment.systemPackages = with pkgs; [ libsForQt5.kwallet libsForQt5.kwalletmanager + spaceFM ]; + services.udisks2.enable = true; + programs.hyprland = { enable = true; withUWSM = true;