From bbe9e6860169efe750107c859e40f926c967745b Mon Sep 17 00:00:00 2001 From: Till Date: Sat, 13 Jan 2024 12:50:34 +0100 Subject: [PATCH 01/19] lisa --- flake.nix | 1 + home/alt.nix | 16 ++-------------- system/alt.nix | 2 +- system/lisa.nix | 11 +++++++++++ 4 files changed, 15 insertions(+), 15 deletions(-) create mode 100644 system/lisa.nix diff --git a/flake.nix b/flake.nix index 9994e9d..12bd1ba 100644 --- a/flake.nix +++ b/flake.nix @@ -23,6 +23,7 @@ ./system/btrbk.nix ./system/yubikey.nix ./system/alt.nix + ./system/lisa.nix ]; }; romulus = nixpkgs.lib.nixosSystem { diff --git a/home/alt.nix b/home/alt.nix index 5de2351..ad7adbd 100644 --- a/home/alt.nix +++ b/home/alt.nix @@ -2,9 +2,7 @@ { home.username = "alt"; - home.homeDirectory = "/home/alt"; home.stateVersion = "22.11"; - nixpkgs = { config = { allowUnfree = true; @@ -45,7 +43,9 @@ ./desktop ./firefox.nix ./foot.nix + ./fish.nix ./tmux + ./nvim ]; programs.nix-index = { @@ -66,16 +66,4 @@ }; }; }; - - programs.fish = { - enable = true; - shellInit = '' - set -gx EDITOR "nvim" - set -gx VISUAL "nvim" - ''; - }; - - home.shellAliases = { - v = "nvim"; - }; } diff --git a/system/alt.nix b/system/alt.nix index ede4c84..726c48b 100644 --- a/system/alt.nix +++ b/system/alt.nix @@ -5,7 +5,7 @@ home = "/home/alt"; isSystemUser = true; group = "users"; - description = "Backup profile"; + description = "Alt"; extraGroups = [ "networkmanager" ]; diff --git a/system/lisa.nix b/system/lisa.nix new file mode 100644 index 0000000..e4a228d --- /dev/null +++ b/system/lisa.nix @@ -0,0 +1,11 @@ +{ config, pkgs, ... }: + +{ + users.users.lisa = { + isNormalUser = true; + description = "Lisa"; + extraGroups = [ + "networkmanager" + ]; + }; +} From b4484b92d3c3a53819992514dc94da9069e84ee1 Mon Sep 17 00:00:00 2001 From: Till Date: Sun, 14 Jan 2024 22:36:00 +0100 Subject: [PATCH 02/19] shortcut --- home/desktop/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/desktop/default.nix b/home/desktop/default.nix index 34ddc15..287f4e4 100644 --- a/home/desktop/default.nix +++ b/home/desktop/default.nix @@ -33,6 +33,9 @@ magnifier-zoom-out = []; help = []; }; + "/org/gnome/shell/keybindings" = { + toggle-quick-settings = ["comma"]; + }; "org/gnome/desktop/wm/keybindings" = { move-to-monitor-down = []; move-to-monitor-left = []; From 8ec0f862efeb1ceb933d940a7e99a45e0ea07b69 Mon Sep 17 00:00:00 2001 From: Till Date: Mon, 22 Jan 2024 19:34:52 +0100 Subject: [PATCH 03/19] diesdas --- home/default.nix | 6 ++++-- home/desktop/default.nix | 2 +- home/firefox.nix | 8 +++++++- system/default.nix | 2 ++ 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/home/default.nix b/home/default.nix index 4cc54bd..3c2f2f2 100644 --- a/home/default.nix +++ b/home/default.nix @@ -25,8 +25,6 @@ templates = "${config.xdg.dataHome}/templates"; }; - services.syncthing.enable = true; - home.file.".npmrc".text = '' prefix = ${config.xdg.dataHome}/npm/packages ''; @@ -171,5 +169,9 @@ }; programs.obs-studio.enable = true; + + services.opensnitch-ui.enable = true; + services.syncthing.enable = true; + } diff --git a/home/desktop/default.nix b/home/desktop/default.nix index 287f4e4..47acdbe 100644 --- a/home/desktop/default.nix +++ b/home/desktop/default.nix @@ -33,7 +33,7 @@ magnifier-zoom-out = []; help = []; }; - "/org/gnome/shell/keybindings" = { + "org/gnome/shell/keybindings" = { toggle-quick-settings = ["comma"]; }; "org/gnome/desktop/wm/keybindings" = { diff --git a/home/firefox.nix b/home/firefox.nix index edc88d1..346861b 100644 --- a/home/firefox.nix +++ b/home/firefox.nix @@ -95,7 +95,13 @@ updateInterval = 24 * 60 * 60 * 1000; definedAliases = [ "@gs" ]; }; - "Wikipedia (en)".metaData.alias = "@wiki"; + "Leo" = { + urls = [{ template = "https://dict.leo.org/englisch-deutsch/{searchTerms}"; }]; + iconUpdateURL = "https://dict.leo.org/img/favicons/ende-32.png"; + updateInterval = 24 * 60 * 60 * 1000; + definedAliases = [ "@leo" ]; + }; + "Wikipedia".metaData.alias = "@wiki"; "Bing".metaData.hidden = true; "Amazon.de".metaData.hidden = true; }; diff --git a/system/default.nix b/system/default.nix index 4c01bdb..a1a0e5f 100644 --- a/system/default.nix +++ b/system/default.nix @@ -24,6 +24,8 @@ allowedTCPPorts = [ 4000 ]; }; + services.opensnitch.enable = true; + time.timeZone = "Europe/Berlin"; i18n.extraLocaleSettings = { LC_TIME = "en_GB.UTF-8"; From af2735c0b2006406f92abfa1ffceaaf877a0417f Mon Sep 17 00:00:00 2001 From: Till Date: Sun, 28 Jan 2024 14:16:51 +0100 Subject: [PATCH 04/19] flake update --- flake.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/flake.lock b/flake.lock index 448b667..7d90a81 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1704498488, - "narHash": "sha256-yINKdShHrtjdiJhov+q0s3Y3B830ujRoSbHduUNyKag=", + "lastModified": 1706435589, + "narHash": "sha256-yhEYJxMv5BkfmUuNe4QELKo+V5eq1pwhtVs6kEziHfE=", "owner": "nix-community", "repo": "home-manager", - "rev": "51e44a13acea71b36245e8bd8c7db53e0a3e61ee", + "rev": "4d54c29bce71f8c261513e0662cc573d30f3e33e", "type": "github" }, "original": { @@ -22,11 +22,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1704420045, - "narHash": "sha256-C36QmoJd5tdQ5R9MC1jM7fBkZW9zBUqbUCsgwS6j4QU=", + "lastModified": 1706098335, + "narHash": "sha256-r3dWjT8P9/Ah5m5ul4WqIWD8muj5F+/gbCdjiNVBKmU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c1be43e8e837b8dbee2b3665a007e761680f0c3d", + "rev": "a77ab169a83a4175169d78684ddd2e54486ac651", "type": "github" }, "original": { @@ -38,11 +38,11 @@ }, "nur": { "locked": { - "lastModified": 1704710672, - "narHash": "sha256-4lkd1XPxxr00kz+DXY0il6TG0pvK5Go3xkgISX1Gnks=", + "lastModified": 1706446335, + "narHash": "sha256-7p89OzFSIIb793wbfDABxINOH7HAGWF6wfhB77pOAGU=", "owner": "nix-community", "repo": "nur", - "rev": "6b35830e8b50fd1c6cf096f74a76cb9c5e0793cc", + "rev": "0a68de7bb6a21eb68d6c58d715532825645e396b", "type": "github" }, "original": { From 272e867aa6102fc9b75e0285dd84b87c28f6560f Mon Sep 17 00:00:00 2001 From: Till Date: Thu, 1 Feb 2024 10:42:24 +0100 Subject: [PATCH 05/19] romulus --- flake.nix | 7 ++ home/default.nix | 131 +------------------ home/{desktop => gnome}/default.nix | 0 home/{desktop => gnome}/run-or-raise.conf | 0 home/minimal.nix | 146 ++++++++++++++++++++++ 5 files changed, 156 insertions(+), 128 deletions(-) rename home/{desktop => gnome}/default.nix (100%) rename home/{desktop => gnome}/run-or-raise.conf (100%) create mode 100644 home/minimal.nix diff --git a/flake.nix b/flake.nix index 12bd1ba..8f19386 100644 --- a/flake.nix +++ b/flake.nix @@ -51,6 +51,13 @@ ./home ]; }; + "till@romulus" = home-manager.lib.homeManagerConfiguration { + pkgs = nixpkgs.legacyPackages.x86_64-linux.extend inputs.nur.overlay; + extraSpecialArgs = { inherit inputs; }; + modules = [ + ./home/minimal.nix + ]; + }; alt = home-manager.lib.homeManagerConfiguration { pkgs = nixpkgs.legacyPackages.x86_64-linux.extend inputs.nur.overlay; extraSpecialArgs = { inherit inputs; }; diff --git a/home/default.nix b/home/default.nix index 3c2f2f2..c9db546 100644 --- a/home/default.nix +++ b/home/default.nix @@ -1,80 +1,22 @@ { config, pkgs, inputs, lib, ... }: { - home.username = "till"; - home.homeDirectory = "/home/till"; - home.stateVersion = "22.11"; - - nixpkgs = { - config = { - allowUnfree = true; - allowUnfreePredicate = (_: true); - }; - }; - - programs.home-manager.enable = true; - - xdg.userDirs = { - enable = true; - createDirectories = true; - download = "${config.home.homeDirectory}/tmp"; - music = "${config.home.homeDirectory}/media/music"; - pictures = "${config.home.homeDirectory}/media/img"; - videos = "${config.home.homeDirectory}/media/vid"; - documents = "${config.home.homeDirectory}/misc"; - templates = "${config.xdg.dataHome}/templates"; - }; - - home.file.".npmrc".text = '' - prefix = ${config.xdg.dataHome}/npm/packages - ''; - - xdg.configFile."castget/castget.conf".source = ./castget/castget.conf; home.packages = with pkgs; [ - # commandline - fzf - jq - progress - silver-searcher - tmux - wl-clipboard - # messenger - mattermost-desktop + element-desktop signal-desktop tdesktop - element-desktop - whatsapp-for-linux - - # email - msmtp - notmuch - # isync - w3m - openssl - gnupg - urlscan # office - khal - khard - taskopen okular xournalpp evolution # text publishing - hunspell - hunspellDicts.de_DE - hunspellDicts.en_US - hunspellDicts.th_TH - hyphen libreoffice - pandoc poppler_utils - zathura zotero # graphics @@ -93,85 +35,18 @@ # media bookworm - castget - freetube - qbittorrent mindustry - rhythmbox - vlc - yt-dlp - # development - bundler - bundix - nodejs - android-studio - netlify-cli - appimage-run - - # secrets - libsecret - keepassxc - yubikey-manager-qt ]; imports = [ - ./alias.nix - ./calendars.nix - ./desktop + ./minimal.nix + ./gnome ./firefox.nix - ./fish.nix - ./foot.nix - ./mail - ./nvim - ./openconnect.nix - ./r.nix ./tex.nix - ./tmux ]; - programs.nix-index = { - enable = true; - enableFishIntegration = true; - }; - - programs.git = { - enable = true; - userName = "Till"; - userEmail = "till@ktiu.net"; - lfs = { - enable = true; - }; - extraConfig = { - init = { - defaultBranch = "main"; - }; - }; - }; - - programs.taskwarrior = { - enable = true; - dataLocation = "${config.xdg.dataHome}/taskwarrior/tasks"; - colorTheme = "light-256"; - config = { - report.list.columns = ["id" "depends.indicator" "priority" "project" "recur.indicator" "scheduled.countdown" "due" "until.age" "status.short" "description.count" "tags"]; - report.list.labels= ["ID" "D" "Prio" "Proj" "R" "Scheduled" "Due" "Until" "S" "Description" "Tags"]; - }; - extraConfig = " - hooks.location=${config.xdg.dataHome}/taskwarrior/hooks - verbose=affected,context,edit,label,header,new-id,project,special,sync,recur - "; - }; - - programs.bottom = { - enable = true; - settings.flags.color = "default-light"; - }; - programs.obs-studio.enable = true; - services.opensnitch-ui.enable = true; - services.syncthing.enable = true; - } diff --git a/home/desktop/default.nix b/home/gnome/default.nix similarity index 100% rename from home/desktop/default.nix rename to home/gnome/default.nix diff --git a/home/desktop/run-or-raise.conf b/home/gnome/run-or-raise.conf similarity index 100% rename from home/desktop/run-or-raise.conf rename to home/gnome/run-or-raise.conf diff --git a/home/minimal.nix b/home/minimal.nix new file mode 100644 index 0000000..95982fe --- /dev/null +++ b/home/minimal.nix @@ -0,0 +1,146 @@ +{ config, pkgs, inputs, lib, ... }: + +{ + home.username = "till"; + home.homeDirectory = "/home/till"; + home.stateVersion = "22.11"; + + nixpkgs = { + config = { + allowUnfree = true; + allowUnfreePredicate = (_: true); + }; + }; + + programs.home-manager.enable = true; + + xdg.userDirs = { + enable = true; + createDirectories = true; + download = "${config.home.homeDirectory}/tmp"; + music = "${config.home.homeDirectory}/media/music"; + pictures = "${config.home.homeDirectory}/media/img"; + videos = "${config.home.homeDirectory}/media/vid"; + documents = "${config.home.homeDirectory}/misc"; + templates = "${config.xdg.dataHome}/templates"; + }; + + home.file.".npmrc".text = '' + prefix = ${config.xdg.dataHome}/npm/packages + ''; + + xdg.configFile."castget/castget.conf".source = ./castget/castget.conf; + + home.packages = with pkgs; [ + + # commandline + fzf + jq + progress + silver-searcher + tmux + wl-clipboard + + # email + msmtp + notmuch + w3m + openssl + gnupg + urlscan + + # office + khal + khard + taskopen + zathura + + # publishing + hunspell + hunspellDicts.de_DE + hunspellDicts.en_US + hunspellDicts.th_TH + hyphen + pandoc + imagemagick + ghostscript + + # web + nyxt + mullvad-vpn + + # media + castget + freetube + qbittorrent + rhythmbox + vlc + yt-dlp + + # development + bundler + bundix + nodejs + android-studio + netlify-cli + appimage-run + + # secrets + libsecret + keepassxc + yubikey-manager-qt + ]; + + imports = [ + ./alias.nix + ./calendars.nix + ./fish.nix + ./foot.nix + ./tmux + ./mail + ./nvim + ./openconnect.nix + ./r.nix + ]; + + programs.nix-index = { + enable = true; + enableFishIntegration = true; + }; + + programs.git = { + enable = true; + userName = "Till"; + userEmail = "till@ktiu.net"; + lfs = { + enable = true; + }; + extraConfig = { + init = { + defaultBranch = "main"; + }; + }; + }; + + programs.taskwarrior = { + enable = true; + dataLocation = "${config.xdg.dataHome}/taskwarrior/tasks"; + colorTheme = "light-256"; + config = { + report.list.columns = ["id" "depends.indicator" "priority" "project" "recur.indicator" "scheduled.countdown" "due" "until.age" "status.short" "description.count" "tags"]; + report.list.labels= ["ID" "D" "Prio" "Proj" "R" "Scheduled" "Due" "Until" "S" "Description" "Tags"]; + }; + extraConfig = " + hooks.location=${config.xdg.dataHome}/taskwarrior/hooks + verbose=affected,context,edit,label,header,new-id,project,special,sync,recur + "; + }; + + programs.bottom = { + enable = true; + settings.flags.color = "default-light"; + }; + + services.syncthing.enable = true; +} + From a540e364a3be6881316449d51911998be0be9141 Mon Sep 17 00:00:00 2001 From: Till Date: Fri, 2 Feb 2024 17:23:08 +0100 Subject: [PATCH 06/19] no more edeltalk --- home/castget/castget.conf | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/home/castget/castget.conf b/home/castget/castget.conf index 26e11a6..550f02f 100644 --- a/home/castget/castget.conf +++ b/home/castget/castget.conf @@ -1,3 +1,5 @@ +# vim: set ft=conf + [drei90] url=http://feeds.feedburner.com/Drei90 id3album=drei90 @@ -21,10 +23,11 @@ id3album=Wettbrötchen [efpodcast] url=https://www.eintracht-podcast.de/feed/mp3 -[edeltalk] -url=https://cdn.julephosting.de/podcasts/573-edeltalk-mit-dominik-kevin/feed.rss -id3album=Edeltalk +# [edeltalk] +# url=https://cdn.julephosting.de/podcasts/573-edeltalk-mit-dominik-kevin/feed.rss +# id3album=Edeltalk [*] id3contenttype=Podcast spool=/home/till/.local/share/podcasts + From 734bd32afd00bc6e860d95b47b3c9d3f023a8429 Mon Sep 17 00:00:00 2001 From: Till Date: Sun, 4 Feb 2024 22:22:29 +0100 Subject: [PATCH 07/19] astro i think --- home/nvim/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/nvim/default.nix b/home/nvim/default.nix index 7f5e842..56356ff 100644 --- a/home/nvim/default.nix +++ b/home/nvim/default.nix @@ -94,7 +94,7 @@ nnoremap se :UltiSnipsEdit! ''; } - + vim-astro vim-commentary { plugin = vim-easy-align; From 4616d7456e5b5a41bfed9acd1445a95dfcf096c5 Mon Sep 17 00:00:00 2001 From: Till Date: Tue, 13 Feb 2024 17:14:29 +0100 Subject: [PATCH 08/19] astro --- home/nvim/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/home/nvim/default.nix b/home/nvim/default.nix index 56356ff..0bf80d0 100644 --- a/home/nvim/default.nix +++ b/home/nvim/default.nix @@ -87,14 +87,18 @@ } typescript-vim - { plugin = ultisnips; config = '' nnoremap se :UltiSnipsEdit! ''; } - vim-astro + { + plugin = vim-astro; + config = '' + let g:astro_typescript = 'enable' + ''; + } vim-commentary { plugin = vim-easy-align; From a92008f1739c46e586f35290e2b837b7d149dda7 Mon Sep 17 00:00:00 2001 From: Till Date: Sat, 2 Mar 2024 21:05:49 +0100 Subject: [PATCH 09/19] diesdas --- home/alias.nix | 4 ++-- home/default.nix | 3 +++ home/fish.nix | 2 +- home/minimal.nix | 2 ++ home/nvim/default.nix | 2 +- home/r.nix | 4 ++-- home/tex.nix | 1 + 7 files changed, 12 insertions(+), 6 deletions(-) diff --git a/home/alias.nix b/home/alias.nix index d4a57eb..f2169d5 100644 --- a/home/alias.nix +++ b/home/alias.nix @@ -2,7 +2,7 @@ { home.shellAliases = { - htop = "btm -b"; + top = "btm --battery"; linkbox = "ln -s (pwd) ~/box/"; rloft = "tmux source-file ~/.config/tmux/rloft.conf"; liftbox = "rsync -vaL --delete ~/box/ tstraube@login.server.uni-frankfurt.de:box/"; @@ -16,7 +16,7 @@ pullgrid = "ssh till@geocom.uni-frankfurt.de \"cd /var/www/grid && git pull\""; pullsneak = "ssh till@geocom.uni-frankfurt.de \"cd /var/www/dkg_lp_prev && git pull\""; pullkhole = "ssh root@ktiu.net \"cd /var/www/karaoke && git pull\""; - buildfk = "curl -X POST -d '{}' https://api.netlify.com/build_hooks/61669ddfeaa3cccc44e752ea"; + buildfk = "curl -X POST -d '{}' https://api.netlify.com/build_hooks/65dc8705b91d7cbaf0a1e1b5"; showbox = "chromium-browser -app=https://user.uni-frankfurt.de/~tstraube/box"; showc = "chromium-browser -app=https://user.uni-frankfurt.de/~tstraube/c/"; castget = "castget -prvC ~/.config/castget/castget.conf"; diff --git a/home/default.nix b/home/default.nix index c9db546..5fc8c63 100644 --- a/home/default.nix +++ b/home/default.nix @@ -27,6 +27,8 @@ imagemagick ghostscript scrcpy + openshot-qt + audacity # web chromium @@ -36,6 +38,7 @@ # media bookworm mindustry + heroic ]; diff --git a/home/fish.nix b/home/fish.nix index 454e41a..5e86b86 100644 --- a/home/fish.nix +++ b/home/fish.nix @@ -13,8 +13,8 @@ function fish_greeting; end function pod --description 'Full service podcast refresh' - udisksctl mount -b /dev/disk/by-label/CLIP\\x20JAM castget + udisksctl mount -b /dev/disk/by-label/CLIP\\x20JAM castsync udisksctl unmount -b /dev/disk/by-label/CLIP\\x20JAM end diff --git a/home/minimal.nix b/home/minimal.nix index 95982fe..471acc0 100644 --- a/home/minimal.nix +++ b/home/minimal.nix @@ -40,6 +40,8 @@ silver-searcher tmux wl-clipboard + tldr + du-dust # email msmtp diff --git a/home/nvim/default.nix b/home/nvim/default.nix index 0bf80d0..343451c 100644 --- a/home/nvim/default.nix +++ b/home/nvim/default.nix @@ -12,7 +12,7 @@ src = builtins.fetchGit { url = "ssh://git@ktiu.net/home/git/woof.vim/"; ref = "main"; - rev = "2857f151fba9dc77842a8bae23005a47f1e0ac51"; + rev = "f960c022594940a01cdbd3e025294d498bc28448"; }; }; in [ diff --git a/home/r.nix b/home/r.nix index b9d1195..9365030 100644 --- a/home/r.nix +++ b/home/r.nix @@ -20,7 +20,7 @@ src = builtins.fetchGit { url = "ssh://git@ktiu.net/home/git/publishR/"; ref = "main"; - rev = "bbf9b785c2a71996afa8ddbb96d00cf76ce18f07"; + rev = "ee137a66ca3b713205ac44e5165292e7ad6388b6"; }; propagatedBuildInputs = []; nativeBuildInputs = []; @@ -30,7 +30,7 @@ src = builtins.fetchGit { url = "ssh://git@ktiu.net/home/git/goethR/"; ref = "main"; - rev = "e953fdb9814c02858017e623519c0a4c59ff583d"; + rev = "6940f37ec2a6d3b915f4c87635dcdaae07d7b4d8"; }; propagatedBuildInputs = []; nativeBuildInputs = []; diff --git a/home/tex.nix b/home/tex.nix index b42aa02..2472f83 100644 --- a/home/tex.nix +++ b/home/tex.nix @@ -16,6 +16,7 @@ let framed gensymb graphbox + hanging idxlayout ifmtarg imakeidx From 99af54e58483fec840f0671379d4d1986b2e242a Mon Sep 17 00:00:00 2001 From: Till Date: Wed, 17 Apr 2024 00:23:59 +0200 Subject: [PATCH 10/19] diesdas --- flake.lock | 19 ++++++++++--------- flake.nix | 2 +- home/alias.nix | 4 ++-- home/default.nix | 2 +- home/r.nix | 2 +- 5 files changed, 15 insertions(+), 14 deletions(-) diff --git a/flake.lock b/flake.lock index 7d90a81..9fa5c70 100644 --- a/flake.lock +++ b/flake.lock @@ -7,26 +7,27 @@ ] }, "locked": { - "lastModified": 1706435589, - "narHash": "sha256-yhEYJxMv5BkfmUuNe4QELKo+V5eq1pwhtVs6kEziHfE=", + "lastModified": 1712386041, + "narHash": "sha256-dA82pOMQNnCJMAsPG7AXG35VmCSMZsJHTFlTHizpKWQ=", "owner": "nix-community", "repo": "home-manager", - "rev": "4d54c29bce71f8c261513e0662cc573d30f3e33e", + "rev": "d6bb9f934f2870e5cbc5b94c79e9db22246141ff", "type": "github" }, "original": { "owner": "nix-community", + "ref": "release-23.11", "repo": "home-manager", "type": "github" } }, "nixpkgs": { "locked": { - "lastModified": 1706098335, - "narHash": "sha256-r3dWjT8P9/Ah5m5ul4WqIWD8muj5F+/gbCdjiNVBKmU=", + "lastModified": 1713145326, + "narHash": "sha256-m7+IWM6mkWOg22EC5kRUFCycXsXLSU7hWmHdmBfmC3s=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "a77ab169a83a4175169d78684ddd2e54486ac651", + "rev": "53a2c32bc66f5ae41a28d7a9a49d321172af621e", "type": "github" }, "original": { @@ -38,11 +39,11 @@ }, "nur": { "locked": { - "lastModified": 1706446335, - "narHash": "sha256-7p89OzFSIIb793wbfDABxINOH7HAGWF6wfhB77pOAGU=", + "lastModified": 1713299127, + "narHash": "sha256-s2PjEBtFptzZHkFkNP9yDNP6j9gR4feuUJk9MmSNnvQ=", "owner": "nix-community", "repo": "nur", - "rev": "0a68de7bb6a21eb68d6c58d715532825645e396b", + "rev": "7a55c815d8ed61651e416b56e7f9cfc9a539c272", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 8f19386..3044ca3 100644 --- a/flake.nix +++ b/flake.nix @@ -3,7 +3,7 @@ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11"; - home-manager.url = "github:nix-community/home-manager"; + home-manager.url = "github:nix-community/home-manager/release-23.11"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; nur.url = "github:nix-community/nur"; }; diff --git a/home/alias.nix b/home/alias.nix index f2169d5..4b1a6ba 100644 --- a/home/alias.nix +++ b/home/alias.nix @@ -9,7 +9,7 @@ ktiubox = "rsync -vaL --delete ~/box/ root@ktiu.net:/var/www/html/box/"; ymd = "date +'%Y-%m-%d'"; pulluni = "ssh tstraube@login.server.uni-frankfurt.de \"cd uni-tstraube && git pull\""; - pullstat = "ssh tstraube@login.server.uni-frankfurt.de \"cd statistik && git pull\""; + pullstat = "ssh tstraube@login.server.uni-frankfurt.de \"cd stat24 && git pull\""; pullds = "ssh tstraube@login.server.uni-frankfurt.de \"cd ds23 && git pull\""; pullmla = "ssh tstraube@login.server.uni-frankfurt.de \"cd malta23 && git pull\""; pulldkg = "ssh till@geocom.uni-frankfurt.de \"cd /var/www/dkg_lp && git pull\""; @@ -20,7 +20,7 @@ showbox = "chromium-browser -app=https://user.uni-frankfurt.de/~tstraube/box"; showc = "chromium-browser -app=https://user.uni-frankfurt.de/~tstraube/c/"; castget = "castget -prvC ~/.config/castget/castget.conf"; - castsync = "mv -v ~/.local/share/podcasts/* /run/media/till/CLIP\\ JAM/Podcasts/"; + castsync = "rsync -va --remove-source-files ~/.local/share/podcasts/ /run/media/till/CLIP\\ JAM/Podcasts/"; cb = "cd $(sed 's|^file://||' /home/till/.config/gtk-3.0/bookmarks | fzf --height 10% --reverse)"; univpn = "secret-tool lookup server uni-frankfurt.de account tstraube | sudo openconnect --config=/home/till/.config/openconnect/config --passwd-on-stdin"; v = "nvim"; diff --git a/home/default.nix b/home/default.nix index 5fc8c63..f2926c2 100644 --- a/home/default.nix +++ b/home/default.nix @@ -18,6 +18,7 @@ libreoffice poppler_utils zotero + pdftk # graphics drawing @@ -52,4 +53,3 @@ programs.obs-studio.enable = true; } - diff --git a/home/r.nix b/home/r.nix index 9365030..9b15dad 100644 --- a/home/r.nix +++ b/home/r.nix @@ -30,7 +30,7 @@ src = builtins.fetchGit { url = "ssh://git@ktiu.net/home/git/goethR/"; ref = "main"; - rev = "6940f37ec2a6d3b915f4c87635dcdaae07d7b4d8"; + rev = "a3a0363d1fbdf6be19e3597d9484615cd2c47cc0"; }; propagatedBuildInputs = []; nativeBuildInputs = []; From f6c857a5a9e1b3ddb9249a074b809a95b718e28f Mon Sep 17 00:00:00 2001 From: Till Date: Wed, 17 Apr 2024 00:26:22 +0200 Subject: [PATCH 11/19] update --- flake.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 9fa5c70..92e4235 100644 --- a/flake.lock +++ b/flake.lock @@ -39,11 +39,11 @@ }, "nur": { "locked": { - "lastModified": 1713299127, - "narHash": "sha256-s2PjEBtFptzZHkFkNP9yDNP6j9gR4feuUJk9MmSNnvQ=", + "lastModified": 1713303955, + "narHash": "sha256-sVlPheZtFbvEIU4lTKaQ1MNAfe6RSmqhQN6nk0rQmvc=", "owner": "nix-community", "repo": "nur", - "rev": "7a55c815d8ed61651e416b56e7f9cfc9a539c272", + "rev": "89668a5c7afbef83112a154f587eb07b8dfc0c0c", "type": "github" }, "original": { From 20926946e14fb75d28815ad13234fc0c09828a6b Mon Sep 17 00:00:00 2001 From: Till Date: Mon, 29 Apr 2024 13:22:19 +0200 Subject: [PATCH 12/19] kleinigkeiten --- home/alias.nix | 2 +- home/firefox.nix | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/home/alias.nix b/home/alias.nix index 4b1a6ba..8f3ffb6 100644 --- a/home/alias.nix +++ b/home/alias.nix @@ -20,7 +20,7 @@ showbox = "chromium-browser -app=https://user.uni-frankfurt.de/~tstraube/box"; showc = "chromium-browser -app=https://user.uni-frankfurt.de/~tstraube/c/"; castget = "castget -prvC ~/.config/castget/castget.conf"; - castsync = "rsync -va --remove-source-files ~/.local/share/podcasts/ /run/media/till/CLIP\\ JAM/Podcasts/"; + castsync = "rsync -va --remove-source-files --progress --stats ~/.local/share/podcasts/ /run/media/till/CLIP\\ JAM/Podcasts/"; cb = "cd $(sed 's|^file://||' /home/till/.config/gtk-3.0/bookmarks | fzf --height 10% --reverse)"; univpn = "secret-tool lookup server uni-frankfurt.de account tstraube | sudo openconnect --config=/home/till/.config/openconnect/config --passwd-on-stdin"; v = "nvim"; diff --git a/home/firefox.nix b/home/firefox.nix index 346861b..cab937c 100644 --- a/home/firefox.nix +++ b/home/firefox.nix @@ -95,6 +95,12 @@ updateInterval = 24 * 60 * 60 * 1000; definedAliases = [ "@gs" ]; }; + "UB" = { + urls = [{ template = "https://ubffm.hds.hebis.de/Search/Results?lookfor={searchTerms}"; }]; + iconUpdateURL = "https://ubffm.hds.hebis.de/themes/ubffm/images/favicon.ico"; + updateInterval = 24 * 60 * 60 * 1000; + definedAliases = [ "@ub" ]; + }; "Leo" = { urls = [{ template = "https://dict.leo.org/englisch-deutsch/{searchTerms}"; }]; iconUpdateURL = "https://dict.leo.org/img/favicons/ende-32.png"; From 5416b5f13f8cd162e3450931befd4020df2d367e Mon Sep 17 00:00:00 2001 From: Till Date: Thu, 16 May 2024 20:46:26 +0200 Subject: [PATCH 13/19] alias >> fish --- home/alias.nix | 33 --------------------------------- home/default.nix | 1 + home/firefox.nix | 12 ++++++++++++ home/fish.nix | 30 +++++++++++++++++++++++++++++- home/minimal.nix | 1 - 5 files changed, 42 insertions(+), 35 deletions(-) delete mode 100644 home/alias.nix diff --git a/home/alias.nix b/home/alias.nix deleted file mode 100644 index 8f3ffb6..0000000 --- a/home/alias.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ config, pkgs, ... }: - -{ - home.shellAliases = { - top = "btm --battery"; - linkbox = "ln -s (pwd) ~/box/"; - rloft = "tmux source-file ~/.config/tmux/rloft.conf"; - liftbox = "rsync -vaL --delete ~/box/ tstraube@login.server.uni-frankfurt.de:box/"; - ktiubox = "rsync -vaL --delete ~/box/ root@ktiu.net:/var/www/html/box/"; - ymd = "date +'%Y-%m-%d'"; - pulluni = "ssh tstraube@login.server.uni-frankfurt.de \"cd uni-tstraube && git pull\""; - pullstat = "ssh tstraube@login.server.uni-frankfurt.de \"cd stat24 && git pull\""; - pullds = "ssh tstraube@login.server.uni-frankfurt.de \"cd ds23 && git pull\""; - pullmla = "ssh tstraube@login.server.uni-frankfurt.de \"cd malta23 && git pull\""; - pulldkg = "ssh till@geocom.uni-frankfurt.de \"cd /var/www/dkg_lp && git pull\""; - pullgrid = "ssh till@geocom.uni-frankfurt.de \"cd /var/www/grid && git pull\""; - pullsneak = "ssh till@geocom.uni-frankfurt.de \"cd /var/www/dkg_lp_prev && git pull\""; - pullkhole = "ssh root@ktiu.net \"cd /var/www/karaoke && git pull\""; - buildfk = "curl -X POST -d '{}' https://api.netlify.com/build_hooks/65dc8705b91d7cbaf0a1e1b5"; - showbox = "chromium-browser -app=https://user.uni-frankfurt.de/~tstraube/box"; - showc = "chromium-browser -app=https://user.uni-frankfurt.de/~tstraube/c/"; - castget = "castget -prvC ~/.config/castget/castget.conf"; - castsync = "rsync -va --remove-source-files --progress --stats ~/.local/share/podcasts/ /run/media/till/CLIP\\ JAM/Podcasts/"; - cb = "cd $(sed 's|^file://||' /home/till/.config/gtk-3.0/bookmarks | fzf --height 10% --reverse)"; - univpn = "secret-tool lookup server uni-frankfurt.de account tstraube | sudo openconnect --config=/home/till/.config/openconnect/config --passwd-on-stdin"; - v = "nvim"; - r = "R --no-save --no-restore"; - R = "R --no-save --no-restore"; - cdg = "cd \$(git rev-parse --show-toplevel)"; - map = "telnet mapscii.me"; - weather = "curl wttr.in/frankfurt"; - }; -} diff --git a/home/default.nix b/home/default.nix index f2926c2..ef157d3 100644 --- a/home/default.nix +++ b/home/default.nix @@ -40,6 +40,7 @@ bookworm mindustry heroic + anki-bin ]; diff --git a/home/firefox.nix b/home/firefox.nix index cab937c..af29fa7 100644 --- a/home/firefox.nix +++ b/home/firefox.nix @@ -101,6 +101,18 @@ updateInterval = 24 * 60 * 60 * 1000; definedAliases = [ "@ub" ]; }; + "SciHub" = { + urls = [{ template = "https://libgen.is/search.php?req={searchTerms}"; }]; + iconUpdateURL = "https://libgen.is/favicon.ico"; + updateInterval = 24 * 60 * 60 * 1000; + definedAliases = [ "@lg" ]; + }; + "Libgen" = { + urls = [{ template = "https://libgen.is/search.php?req={searchTerms}"; }]; + iconUpdateURL = "https://libgen.is/favicon.ico"; + updateInterval = 24 * 60 * 60 * 1000; + definedAliases = [ "@lg" ]; + }; "Leo" = { urls = [{ template = "https://dict.leo.org/englisch-deutsch/{searchTerms}"; }]; iconUpdateURL = "https://dict.leo.org/img/favicons/ende-32.png"; diff --git a/home/fish.nix b/home/fish.nix index 5e86b86..7174f2b 100644 --- a/home/fish.nix +++ b/home/fish.nix @@ -1,5 +1,33 @@ { config, pkgs, ... }: -{ + home.shellAliases = { + top = "btm --battery"; + linkbox = "ln -s (pwd) ~/box/"; + rloft = "tmux source-file ~/.config/tmux/rloft.conf"; + liftbox = "rsync -vaL --delete ~/box/ tstraube@login.server.uni-frankfurt.de:box/"; + ktiubox = "rsync -vaL --delete ~/box/ root@ktiu.net:/var/www/html/box/"; + ymd = "date +'%Y-%m-%d'"; + pulluni = "ssh tstraube@login.server.uni-frankfurt.de \"cd uni-tstraube && git pull\""; + pullstat = "ssh tstraube@login.server.uni-frankfurt.de \"cd stat24 && git pull\""; + pullds = "ssh tstraube@login.server.uni-frankfurt.de \"cd ds23 && git pull\""; + pullmla = "ssh tstraube@login.server.uni-frankfurt.de \"cd malta23 && git pull\""; + pulldkg = "ssh till@geocom.uni-frankfurt.de \"cd /var/www/dkg_lp && git pull\""; + pullgrid = "ssh till@geocom.uni-frankfurt.de \"cd /var/www/grid && git pull\""; + pullsneak = "ssh till@geocom.uni-frankfurt.de \"cd /var/www/dkg_lp_prev && git pull\""; + pullkhole = "ssh root@ktiu.net \"cd /var/www/karaoke && git pull\""; + buildfk = "curl -X POST -d '{}' https://api.netlify.com/build_hooks/65dc8705b91d7cbaf0a1e1b5"; + showbox = "chromium-browser -app=https://user.uni-frankfurt.de/~tstraube/box"; + showc = "chromium-browser -app=https://user.uni-frankfurt.de/~tstraube/c/"; + castget = "castget -prvC ~/.config/castget/castget.conf"; + castsync = "rsync -va --remove-source-files --progress --stats ~/.local/share/podcasts/ /run/media/till/CLIP\\ JAM/Podcasts/"; + cb = "cd $(sed 's|^file://||' /home/till/.config/gtk-3.0/bookmarks | fzf --height 10% --reverse)"; + univpn = "secret-tool lookup server uni-frankfurt.de account tstraube | sudo openconnect --config=/home/till/.config/openconnect/config --passwd-on-stdin"; + v = "nvim"; + r = "R --no-save --no-restore"; + R = "R --no-save --no-restore"; + cdg = "cd \$(git rev-parse --show-toplevel)"; + map = "telnet mapscii.me"; + weather = "curl wttr.in/frankfurt"; + }; programs.fish = { enable = true; interactiveShellInit = "fish_add_path ${config.xdg.dataHome}/npm/packages/bin"; diff --git a/home/minimal.nix b/home/minimal.nix index 471acc0..61e3766 100644 --- a/home/minimal.nix +++ b/home/minimal.nix @@ -94,7 +94,6 @@ ]; imports = [ - ./alias.nix ./calendars.nix ./fish.nix ./foot.nix From f15953587a00f61f2140c45633b045151c098ef4 Mon Sep 17 00:00:00 2001 From: Till Date: Thu, 13 Jun 2024 21:46:23 +0200 Subject: [PATCH 14/19] diesdas --- home/default.nix | 2 ++ home/firefox.nix | 6 ++++++ home/fish.nix | 3 +++ home/minimal.nix | 1 + 4 files changed, 12 insertions(+) diff --git a/home/default.nix b/home/default.nix index ef157d3..de284d6 100644 --- a/home/default.nix +++ b/home/default.nix @@ -13,6 +13,8 @@ okular xournalpp evolution + zoom-us + pdfpc # text publishing libreoffice diff --git a/home/firefox.nix b/home/firefox.nix index af29fa7..46d3df4 100644 --- a/home/firefox.nix +++ b/home/firefox.nix @@ -113,6 +113,12 @@ updateInterval = 24 * 60 * 60 * 1000; definedAliases = [ "@lg" ]; }; + "Urban Dictionary" = { + urls = [{ template = "https://www.urbandictionary.com/define.php?term={searchTerms}"; }]; + iconUpdateURL = "https://www.urbandictionary.com/favicon-32x32.png"; + updateInterval = 24 * 60 * 60 * 1000; + definedAliases = [ "@ud" ]; + }; "Leo" = { urls = [{ template = "https://dict.leo.org/englisch-deutsch/{searchTerms}"; }]; iconUpdateURL = "https://dict.leo.org/img/favicons/ende-32.png"; diff --git a/home/fish.nix b/home/fish.nix index 7174f2b..87200a8 100644 --- a/home/fish.nix +++ b/home/fish.nix @@ -1,4 +1,5 @@ { config, pkgs, ... }: +{ home.shellAliases = { top = "btm --battery"; linkbox = "ln -s (pwd) ~/box/"; @@ -19,6 +20,7 @@ showc = "chromium-browser -app=https://user.uni-frankfurt.de/~tstraube/c/"; castget = "castget -prvC ~/.config/castget/castget.conf"; castsync = "rsync -va --remove-source-files --progress --stats ~/.local/share/podcasts/ /run/media/till/CLIP\\ JAM/Podcasts/"; + musicsync = "rsync -va --progress --stats ~/media/music/sync/ /run/media/till/CLIP\\ JAM/Music/"; cb = "cd $(sed 's|^file://||' /home/till/.config/gtk-3.0/bookmarks | fzf --height 10% --reverse)"; univpn = "secret-tool lookup server uni-frankfurt.de account tstraube | sudo openconnect --config=/home/till/.config/openconnect/config --passwd-on-stdin"; v = "nvim"; @@ -43,6 +45,7 @@ function pod --description 'Full service podcast refresh' castget udisksctl mount -b /dev/disk/by-label/CLIP\\x20JAM + musicsync castsync udisksctl unmount -b /dev/disk/by-label/CLIP\\x20JAM end diff --git a/home/minimal.nix b/home/minimal.nix index 61e3766..bbb3040 100644 --- a/home/minimal.nix +++ b/home/minimal.nix @@ -50,6 +50,7 @@ openssl gnupg urlscan + ripmime # office khal From aabefeaf1dae443d32de199c37ae6cd4d9ae5a07 Mon Sep 17 00:00:00 2001 From: Till Date: Thu, 13 Jun 2024 21:48:16 +0200 Subject: [PATCH 15/19] update flake --- flake.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/flake.lock b/flake.lock index 92e4235..220950e 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1712386041, - "narHash": "sha256-dA82pOMQNnCJMAsPG7AXG35VmCSMZsJHTFlTHizpKWQ=", + "lastModified": 1717476296, + "narHash": "sha256-ScHe38Tr+TxGURC17kby4mIIxOG3aJvZWXzPM79UnEk=", "owner": "nix-community", "repo": "home-manager", - "rev": "d6bb9f934f2870e5cbc5b94c79e9db22246141ff", + "rev": "095ef64aa3b2ab4a4f1bf07f29997e21e3a5576a", "type": "github" }, "original": { @@ -23,11 +23,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1713145326, - "narHash": "sha256-m7+IWM6mkWOg22EC5kRUFCycXsXLSU7hWmHdmBfmC3s=", + "lastModified": 1718060059, + "narHash": "sha256-9XKFni8VMXo81RTq9XygCyaO3I/7UKpwIlM/yn0MdcM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "53a2c32bc66f5ae41a28d7a9a49d321172af621e", + "rev": "a3c8d64ba846725f040582b2d3b875466d2115bd", "type": "github" }, "original": { @@ -39,11 +39,11 @@ }, "nur": { "locked": { - "lastModified": 1713303955, - "narHash": "sha256-sVlPheZtFbvEIU4lTKaQ1MNAfe6RSmqhQN6nk0rQmvc=", + "lastModified": 1718307570, + "narHash": "sha256-Wkw/8Lkyd14op+zPx8XC/CRNyMMGC64m98aOWSEFmU4=", "owner": "nix-community", "repo": "nur", - "rev": "89668a5c7afbef83112a154f587eb07b8dfc0c0c", + "rev": "ab6a53f69d8baa1b454fecffb271015588466e51", "type": "github" }, "original": { From 7efd15464e066406f2a6adf5e30fd065051b6494 Mon Sep 17 00:00:00 2001 From: Till Date: Thu, 13 Jun 2024 22:29:11 +0200 Subject: [PATCH 16/19] upgrade to 24.05 --- flake.lock | 22 +++++++++++----------- flake.nix | 4 ++-- home/default.nix | 8 +++----- 3 files changed, 16 insertions(+), 18 deletions(-) diff --git a/flake.lock b/flake.lock index 220950e..4b8b0a7 100644 --- a/flake.lock +++ b/flake.lock @@ -7,43 +7,43 @@ ] }, "locked": { - "lastModified": 1717476296, - "narHash": "sha256-ScHe38Tr+TxGURC17kby4mIIxOG3aJvZWXzPM79UnEk=", + "lastModified": 1717527182, + "narHash": "sha256-vWSkg6AMok1UUQiSYVdGMOXKD2cDFnajITiSi0Zjd1A=", "owner": "nix-community", "repo": "home-manager", - "rev": "095ef64aa3b2ab4a4f1bf07f29997e21e3a5576a", + "rev": "845a5c4c073f74105022533907703441e0464bc3", "type": "github" }, "original": { "owner": "nix-community", - "ref": "release-23.11", + "ref": "release-24.05", "repo": "home-manager", "type": "github" } }, "nixpkgs": { "locked": { - "lastModified": 1718060059, - "narHash": "sha256-9XKFni8VMXo81RTq9XygCyaO3I/7UKpwIlM/yn0MdcM=", + "lastModified": 1718208800, + "narHash": "sha256-US1tAChvPxT52RV8GksWZS415tTS7PV42KTc2PNDBmc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "a3c8d64ba846725f040582b2d3b875466d2115bd", + "rev": "cc54fb41d13736e92229c21627ea4f22199fee6b", "type": "github" }, "original": { "owner": "NixOS", - "ref": "nixos-23.11", + "ref": "nixos-24.05", "repo": "nixpkgs", "type": "github" } }, "nur": { "locked": { - "lastModified": 1718307570, - "narHash": "sha256-Wkw/8Lkyd14op+zPx8XC/CRNyMMGC64m98aOWSEFmU4=", + "lastModified": 1718310343, + "narHash": "sha256-jD2XqvofA5hdROv8OSTss/vjJi164Mjavgh2yJf2ej4=", "owner": "nix-community", "repo": "nur", - "rev": "ab6a53f69d8baa1b454fecffb271015588466e51", + "rev": "ca312c14ad9abbb8736b9f9fd6fa8b8f60b2f1b2", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 3044ca3..aefffab 100644 --- a/flake.nix +++ b/flake.nix @@ -2,8 +2,8 @@ description = "Complete system and home config"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11"; - home-manager.url = "github:nix-community/home-manager/release-23.11"; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; + home-manager.url = "github:nix-community/home-manager/release-24.05"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; nur.url = "github:nix-community/nur"; }; diff --git a/home/default.nix b/home/default.nix index de284d6..ae6017c 100644 --- a/home/default.nix +++ b/home/default.nix @@ -12,7 +12,6 @@ # office okular xournalpp - evolution zoom-us pdfpc @@ -30,17 +29,16 @@ imagemagick ghostscript scrcpy - openshot-qt - audacity + # openshot-qt + # audacity # web chromium mullvad-vpn - nyxt + # nyxt # media bookworm - mindustry heroic anki-bin From d067c0fcdb1802f88e7af47eca51757a8362ce27 Mon Sep 17 00:00:00 2001 From: Till Date: Tue, 25 Jun 2024 11:49:44 +0200 Subject: [PATCH 17/19] home manager --- home/alt.nix | 2 +- home/calendars.nix | 8 ++++++++ home/default.nix | 2 +- home/fish.nix | 6 +++++- home/minimal.nix | 1 - home/nvim/lsp.vim | 4 ++-- 6 files changed, 17 insertions(+), 6 deletions(-) diff --git a/home/alt.nix b/home/alt.nix index ad7adbd..ea49ad9 100644 --- a/home/alt.nix +++ b/home/alt.nix @@ -34,7 +34,7 @@ wl-clipboard qbittorrent vlc - mullvad-vpn + # mullvad-vpn ffmpeg libnotify ]; diff --git a/home/calendars.nix b/home/calendars.nix index afbd0da..b2be616 100644 --- a/home/calendars.nix +++ b/home/calendars.nix @@ -113,5 +113,13 @@ in url = "http://i.cal.to/ical/5940/eintrachtfrankfurt/spielplan-frauen-profis/28ae0d30.f781380b-1763bff2.ics"; }; }; + "euro" = calDefaults // { + khal.enable = true; + khal.color = "dark green"; + remote = { + type = "http"; + url = "https://football.bkn.dev/euro/2024/ics/?flags"; + }; + }; }; } diff --git a/home/default.nix b/home/default.nix index ae6017c..a66bf04 100644 --- a/home/default.nix +++ b/home/default.nix @@ -34,7 +34,7 @@ # web chromium - mullvad-vpn + # mullvad-vpn # nyxt # media diff --git a/home/fish.nix b/home/fish.nix index 87200a8..7b32284 100644 --- a/home/fish.nix +++ b/home/fish.nix @@ -60,7 +60,11 @@ end function note --description 'Create a new note' - nvim -c "call CreateNote('$argv')" + if count $argv > /dev/null + nvim -c "call CreateNote('$argv')" + else + nvim ~/notes/(ls ~/notes/ | fzf) + end end function lipsum --description 'Create placeholder text' diff --git a/home/minimal.nix b/home/minimal.nix index bbb3040..8c47b45 100644 --- a/home/minimal.nix +++ b/home/minimal.nix @@ -70,7 +70,6 @@ # web nyxt - mullvad-vpn # media castget diff --git a/home/nvim/lsp.vim b/home/nvim/lsp.vim index 5aabbd2..e644cbd 100644 --- a/home/nvim/lsp.vim +++ b/home/nvim/lsp.vim @@ -7,8 +7,8 @@ lua <'] = cmp.mapping.select_prev_item(), From 2147c4bfe58bc358af4a27d5611559e5f74a5b56 Mon Sep 17 00:00:00 2001 From: Till Date: Tue, 25 Jun 2024 11:49:59 +0200 Subject: [PATCH 18/19] upgrade --- flake.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/flake.lock b/flake.lock index 4b8b0a7..25217fd 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1717527182, - "narHash": "sha256-vWSkg6AMok1UUQiSYVdGMOXKD2cDFnajITiSi0Zjd1A=", + "lastModified": 1718530513, + "narHash": "sha256-BmO8d0r+BVlwWtMLQEYnwmngqdXIuyFzMwvmTcLMee8=", "owner": "nix-community", "repo": "home-manager", - "rev": "845a5c4c073f74105022533907703441e0464bc3", + "rev": "a1fddf0967c33754271761d91a3d921772b30d0e", "type": "github" }, "original": { @@ -23,11 +23,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1718208800, - "narHash": "sha256-US1tAChvPxT52RV8GksWZS415tTS7PV42KTc2PNDBmc=", + "lastModified": 1719145550, + "narHash": "sha256-K0i/coxxTEl30tgt4oALaylQfxqbotTSNb1/+g+mKMQ=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "cc54fb41d13736e92229c21627ea4f22199fee6b", + "rev": "e4509b3a560c87a8d4cb6f9992b8915abf9e36d8", "type": "github" }, "original": { @@ -39,11 +39,11 @@ }, "nur": { "locked": { - "lastModified": 1718310343, - "narHash": "sha256-jD2XqvofA5hdROv8OSTss/vjJi164Mjavgh2yJf2ej4=", + "lastModified": 1719251528, + "narHash": "sha256-5xpD5AWMFLnfCZ35N69hrxDYCbeVyi2xskyebfAU2Jw=", "owner": "nix-community", "repo": "nur", - "rev": "ca312c14ad9abbb8736b9f9fd6fa8b8f60b2f1b2", + "rev": "fb5d243838c4994a7e3c48ac3a7b5a9c1cddaf21", "type": "github" }, "original": { From e64d00e68f311a5dc6dc4acb0575954cdf9ded23 Mon Sep 17 00:00:00 2001 From: Till Date: Tue, 25 Jun 2024 11:50:12 +0200 Subject: [PATCH 19/19] diesdas --- system/btrbk.nix | 1 - system/default.nix | 3 ++- system/gnome.nix | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/system/btrbk.nix b/system/btrbk.nix index 5c35ac5..186f8aa 100644 --- a/system/btrbk.nix +++ b/system/btrbk.nix @@ -2,7 +2,6 @@ { services.btrbk = { - extraPackages = [ pkgs.mbuffer ]; instances.btrbk = { onCalendar = "hourly"; settings = { diff --git a/system/default.nix b/system/default.nix index a1a0e5f..3ff41b1 100644 --- a/system/default.nix +++ b/system/default.nix @@ -61,7 +61,7 @@ programs.gnupg.agent = { enable = true; - pinentryFlavor = "curses"; + pinentryPackage = pkgs.pinentry-curses; # enableSSHSupport = true; }; @@ -94,6 +94,7 @@ openssh.enable = true; printing.enable = true; mullvad-vpn.enable = true; + mullvad-vpn.package = pkgs.mullvad-vpn; }; virtualisation.libvirtd.enable = true; diff --git a/system/gnome.nix b/system/gnome.nix index 0ab8e3b..8a26101 100644 --- a/system/gnome.nix +++ b/system/gnome.nix @@ -16,7 +16,6 @@ environment.systemPackages = with pkgs.gnome; [ gnome-sound-recorder gnome-tweaks - gedit gnome-boxes ]; }