From fced512462728caa095199c93293bc5e24f59a65 Mon Sep 17 00:00:00 2001 From: tsandrini Date: Tue, 6 Aug 2024 09:05:17 +0200 Subject: [PATCH 1/6] fix(firefox): fix wiping of history --- .../modules/home-manager/programs/browsers/firefox/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/flake-parts/modules/home-manager/programs/browsers/firefox/default.nix b/flake-parts/modules/home-manager/programs/browsers/firefox/default.nix index eafc002..525921c 100644 --- a/flake-parts/modules/home-manager/programs/browsers/firefox/default.nix +++ b/flake-parts/modules/home-manager/programs/browsers/firefox/default.nix @@ -242,6 +242,7 @@ in user_pref("browser.startup.page", 3); user_pref("privacy.clearOnShutdown.history", false); user_pref("privacy.clearOnShutdown.downloads", false); + user_pref("privacy.sanitize.sanitizeOnShutdown", false); // TODO: think off a better way to declaratively manage // cookie exepctions From c38fc3e894c568e56e1fc5aa4365e4051651c2b3 Mon Sep 17 00:00:00 2001 From: tsandrini Date: Tue, 6 Aug 2024 09:15:15 +0200 Subject: [PATCH 2/6] feat(jetbundle): add manuals --- flake-parts/hosts/jetbundle/default.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/flake-parts/hosts/jetbundle/default.nix b/flake-parts/hosts/jetbundle/default.nix index 2d0afad..bd55c42 100644 --- a/flake-parts/hosts/jetbundle/default.nix +++ b/flake-parts/hosts/jetbundle/default.nix @@ -149,11 +149,6 @@ services.activitywatch.enable = true; }; - # TODO remove - manual.html.enable = false; - manual.json.enable = false; - manual.manpages.enable = false; - services.syncthing = { enable = true; tray.enable = true; From 1ac740aa92030d59f604f46a584f952b1ee18cf5 Mon Sep 17 00:00:00 2001 From: tsandrini Date: Tue, 6 Aug 2024 09:15:28 +0200 Subject: [PATCH 3/6] feat(spinorbundle): remove spicetify --- flake-parts/hosts/spinorbundle/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake-parts/hosts/spinorbundle/default.nix b/flake-parts/hosts/spinorbundle/default.nix index d3ad256..518185a 100644 --- a/flake-parts/hosts/spinorbundle/default.nix +++ b/flake-parts/hosts/spinorbundle/default.nix @@ -143,7 +143,7 @@ security.agenix.enable = true; programs.pywal.enable = true; - programs.spicetify.enable = true; + # programs.spicetify.enable = true; # services.pywalfox-native.enable = true; services.keepassxc.enable = true; services.activitywatch.enable = true; From d2a9d0fbe5f7e2eae84a97db1624be6fb302db03 Mon Sep 17 00:00:00 2001 From: tsandrini Date: Tue, 6 Aug 2024 12:11:52 +0200 Subject: [PATCH 4/6] feat(hosts): switch armcord -> vesktop --- flake-parts/hosts/jetbundle/default.nix | 2 +- flake-parts/hosts/spinorbundle/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flake-parts/hosts/jetbundle/default.nix b/flake-parts/hosts/jetbundle/default.nix index bd55c42..db48ae7 100644 --- a/flake-parts/hosts/jetbundle/default.nix +++ b/flake-parts/hosts/jetbundle/default.nix @@ -165,7 +165,6 @@ home.packages = with pkgs; [ thunderbird # A full-featured e-mail client beeper # Universal chat app. - armcord # Lightweight, alternative desktop client for Discord anki # Spaced repetition flashcard program libreoffice # Comprehensive, professional-quality productivity suite, a variant of openoffice.org texlive.combined.scheme-full # TeX Live environment @@ -173,6 +172,7 @@ lapack # openblas with just the LAPACK C and FORTRAN ABI ungoogled-chromium # An open source web browser from Google, with dependencies on Google web services removed zoom-us # Player for Z-Code, TADS and HUGO stories or games + vesktop # Alternate client for Discord with Vencord built-in slack # Desktop client for Slack signal-desktop # Private, simple, and secure messenger diff --git a/flake-parts/hosts/spinorbundle/default.nix b/flake-parts/hosts/spinorbundle/default.nix index 518185a..6568f14 100644 --- a/flake-parts/hosts/spinorbundle/default.nix +++ b/flake-parts/hosts/spinorbundle/default.nix @@ -165,7 +165,6 @@ home.packages = with pkgs; [ thunderbird # A full-featured e-mail client beeper # Universal chat app. - armcord # Lightweight, alternative desktop client for Discord anki # Spaced repetition flashcard program libreoffice # Comprehensive, professional-quality productivity suite, a variant of openoffice.org texlive.combined.scheme-full # TeX Live environment @@ -173,6 +172,7 @@ lapack # openblas with just the LAPACK C and FORTRAN ABI ungoogled-chromium # An open source web browser from Google, with dependencies on Google web services removed zoom-us # Player for Z-Code, TADS and HUGO stories or games + vesktop # Alternate client for Discord with Vencord built-in slack # Desktop client for Slack signal-desktop # Private, simple, and secure messenger From 0edb6f553e1fc129906921b8619bf394a19399fa Mon Sep 17 00:00:00 2001 From: tsandrini Date: Tue, 6 Aug 2024 12:14:38 +0200 Subject: [PATCH 5/6] =?UTF-8?q?bump:=20version=200.3.0=20=E2=86=92=200.4.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cz.toml | 2 +- CHANGELOG.md | 187 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 188 insertions(+), 1 deletion(-) diff --git a/.cz.toml b/.cz.toml index a62f329..b91705d 100644 --- a/.cz.toml +++ b/.cz.toml @@ -2,6 +2,6 @@ name = "cz_conventional_commits" tag_format = "v$version" version_scheme = "semver" -version = "0.3.0" +version = "0.4.0" update_changelog_on_bump = true major_version_zero = true diff --git a/CHANGELOG.md b/CHANGELOG.md index e945183..f93fa57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,192 @@ # Changelog +## v0.4.0 (2024-08-06) + +### Feat + +- **hosts**: switch armcord -> vesktop +- **spinorbundle**: remove spicetify +- **jetbundle**: add manuals +- **hosts**: enable nh gc instead of default +- **nh**: add nh module +- **packages-extra**: add nix-fast-build +- **packages-extra**: add gitu & commitizen to global scope +- **flake**: update inputs +- **hosts**: clean up some unused programs +- **zsh**: add ripgrep list-todos alias +- **git**: add various QL git aliases +- **activitywatch**: init activitywatch, add aw to firefox & hosts +- **topology-nix**: init topology graph gen +- **flake**: update inputs +- **hosts**: disable custom pywaflox and use nixpkgs version +- **zsh**: increase history size +- **polonium-nightly**: update +- **kdeplasma**: update kde settings +- **firefox**: add refined-github plugin +- **texlive**: medium -> full +- **neovim**: add ignorecase +- **flake**: update inputs +- **neovim**: add vscode setup +- **packages-extra**: add nix-alien +- **wireguard-&-btrfs**: add wg and update btrfs settings +- **wireguard**: disable firewall for networkmanager +- **neovim**: fix pywal conditional & update user groups +- **hm-tmux**: init and configure tmux +- **hm-neovim**: add pywal conditional +- **hm-zsh**: update history +- **polonium-nightly**: update +- **polonium-nightly**: update +- **polonium-nightly**: update +- **flake**: update project template +- **polonium-nightly**: update version +- **devenv**: update version +- **emacs-doom**: update lsp dependencies +- **polonium-nightly**: bump version +- **jetbundle**: add fingerprint reader sw mappings +- **polonium-nightly**: bump version +- **emacs-doom**: enable emacs service +- **emacs-doom**: updates +- **packages**: update pgadmin, adminer +- **polonium-nightly**: update version +- **flake**: update inputs +- **autoupgrade**: disable +- **spinorbundle**: switch to plasma6 +- **rc2nix**: update current plasma6 config +- **plasma6**: init plasma6 modules +- **firefox**: sync bookmarks, temporarily allow cookies & sessions +- **flake**: update inputs +- **devshell**: switch to nixpkgs package version instead +- **firefox**: treestyle-tab -> sidebery +- **emacs-doom**: add LSP & gpg packages +- **hm-firefox**: add treestyle tab & other addons +- **spinorbundle**: add osu-stable to host +- **spinorbundle**: update host +- **emacs-doom**: update emacs language dependencies +- **polonium**: update source to v1.0 +- **project**: update +- **hosts**: add hardware tweaks +- **hosts**: add various kdepackages, tabletdrivers, etc +- **kdeplasma**: update +- **plasma**: update +- **jetbundle**: update +- **jetbundle**: add jetbundle host +- **plasma**: update +- **plasma**: update +- **plasma**: update +- **locales**: update +- **plasma**: update +- **plasma**: update +- **plasma**: update +- **plasma**: update +- **plasma**: update +- **plasma**: update +- **plasma**: remove gtk dep +- **plasma**: update +- **plasma**: update +- **plasma**: update +- **kdeplasma**: init +- **shadow-tech**: add shadow-nix nixos module +- **impermanence**: add various cache directories +- **nixos,hm**: move nixos module to hm & add xmonad hm +- **homeModules**: add yazi module +- **home**: fix leetcode.el, add lf and btop modules +- **home**: add ssh,redshift, doomemacs and alacritty modules +- **flake**: update flake inputs +- **home**: add firefox, git, ssh, agenix, pywalfox hm modules +- **homes**: add picom, redshift, dunst, gtk +- **homes**: remove old dotfiles, migrate additional nix modules to hm +- **project**: decouple project structure into parts & add hm modules +- **modules**: decouple nixos,home-manager modules +- **project**: decouple individual outputs into modules +- **hyprland**: add ags,anyrun,base config +- **hyprland**: add getUserGraphicalBackend helper, hyprland TODO list +- **wayland**: rewire packages to use wayland binary cache +- **flake**: add additional binary caches +- **flake**: add viperML/nh tool, update gitignore +- **flake**: rewire project to use flake-parts, add treefmt +- **flake**: add flake-parts +- **ci**: update ci to use devenv check +- **hyprland**: separate hyprland into a module, add waybar +- **hyprland**: update +- **project**: add commitizen with proper semantic versioning +- **modules,lib**: add direnv module,add additional lib helpers +- **devenv**: update devenv with devcontainers and other features + +### Fix + +- **firefox**: fix wiping of history +- **gitignore**: fix tsandrini entry +- **flake**: post rewrite tweaks +- **emacs-doom**: remove rustc, use rustup +- **awatcher**: fix systemd unit definition +- **nixos-headless**: remove unused passed argument inputs +- **tsandrini@jetbundle**: update package list +- **emacs-doom**: fix pinentry-emacs package rename +- **system-autoupgrade**: remove channel option +- **README**: add missing example image +- **jetbundle**: fixes +- **plasma**: partitionmanager fix +- **plasma**: partitionmanager fix +- **plasma**: migrate from 6 to 5 +- **spinorbundle**: plasma init +- **shadow-nix**: xsession typo +- **hm-zsh**: fix +- **hm-zsh**: fix +- **hm-zsh**: fix impermanence +- **hm-pywal**: g s +- **hm-headless**: fix +- **hm-headless**: fix +- **hm-headless**: fix +- **hm-headless**: fix +- **hm-headless**: fix +- **hm-headless**: fix +- **hm-headless**: fix +- **hm-headless**: fix +- **hm-firefox**: enable fix +- **headless**: impermanence fix +- **hm-headless**: test +- **headless**: remove blank inits +- **zsh**: fix impermanence option +- **doom**: fix unbound varialbe +- **spinorbundle**: fix zsh +- **spinorbundle**: zsh enable +- **spinorbundle**: set default user shell +- **hm-headless**: fix impermanece persistentroot +- **agenix**: fix impermanence agenix option definition +- **agenix**: fix host ssh key path +- **agenix**: fix identities loading stategy +- **project**: fixed all of the various bugs due to reformat +- **doom-emacs**: fix overlay package +- **hyprland**: fix code typo +- **ags**: fix ags init +- **wayland**: hyprland, waybar fixes +- **modules.system.users**: fix allowed users setting + +### Refactor + +- **flake**: update CI & remove impurities +- **flake**: rewrite -> flake-parts-builder +- **emacs-doom**: disable emacs service +- **codeformat**: replace alejandra with nixfmt-rfc-style +- **plasma**: rename plasma to plasma5 to prevent conflicts +- **hosts/homes**: clean specialArgs and reduce global module context +- **hm-modules**: localize module dependencies +- **nixos-modules**: localize module scope +- **strongswan**: update vpn ipsec settings +- **modules**: simplify modules and remove external deps +- **spinorbundle**: test +- **project**: major refactor into parts +- **homes**: rename jetbundle@tsandrini +- **pkgs**: switch to hash SRI format +- **template**: update project template +- **dotfiles**: clean out old dotfiles +- **dotfiles**: update & clean old dotfiles +- **project**: move all modules to parts dir +- **hyprland**: refactor hyprland, ags and additional programs, services +- **spinorbundle**: test commit +- **project**: merge with main +- **spinorbundle**: enable hyprland + ## v0.3.0 (2023-11-11) ### Feat From b7553517292f89e58f1112ab842b9c17fa69aac3 Mon Sep 17 00:00:00 2001 From: tsandrini Date: Tue, 6 Aug 2024 13:53:50 +0200 Subject: [PATCH 6/6] ci(workflows): build currentSystem --- .github/workflows/cachix-push.yml | 11 ++++------- .github/workflows/flake-check.yml | 8 +++++++- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cachix-push.yml b/.github/workflows/cachix-push.yml index 1336b34..e73805b 100644 --- a/.github/workflows/cachix-push.yml +++ b/.github/workflows/cachix-push.yml @@ -36,11 +36,8 @@ jobs: run: | nix profile install nixpkgs#nix-fast-build # parallel nix builder - - name: "Building project packages..." - run: nix-fast-build --skip-cached --no-nom + - name: "Running `nix build ...`..." + run: nix-fast-build --skip-cached --no-nom --flake ".#packages.$(nix eval --raw --impure --expr builtins.currentSystem)" - # - name: "Building project packages..." - # run: nix-fast-build --skip-cached --no-nom --flake ".#packages" - - - name: "Building project devShells..." - run: nix-fast-build --skip-cached --no-nom --flake ".#devShells" + - name: "Running `nix develop...`..." + run: nix-fast-build --skip-cached --no-nom --flake ".#devShells.$(nix eval --raw --impure --expr builtins.currentSystem)" diff --git a/.github/workflows/flake-check.yml b/.github/workflows/flake-check.yml index 6693c84..cd8e597 100644 --- a/.github/workflows/flake-check.yml +++ b/.github/workflows/flake-check.yml @@ -34,7 +34,13 @@ jobs: nix profile install nixpkgs#nix-fast-build # parallel nix builder - name: "Running `nix flake check`..." - run: nix-fast-build --skip-cached --no-nom + run: nix-fast-build --skip-cached --no-nom --flake ".#checks.$(nix eval --raw --impure --expr builtins.currentSystem)" + + - name: "Running `nix build ...`..." + run: nix-fast-build --skip-cached --no-nom --flake ".#packages.$(nix eval --raw --impure --expr builtins.currentSystem)" + + - name: "Running `nix develop...`..." + run: nix-fast-build --skip-cached --no-nom --flake ".#devShells.$(nix eval --raw --impure --expr builtins.currentSystem)" - name: "Checking flake inputs for stale & insecure nixpkgs versions..." uses: DeterminateSystems/flake-checker-action@main