From b145fadcb33d3ceda2d309201d5faf700af029d1 Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 26 Jan 2025 21:18:35 +0000 Subject: [PATCH 1/2] add iso configuration --- flake.nix | 11 +++++++++++ hosts/iso/default.nix | 9 +++++++++ 2 files changed, 20 insertions(+) create mode 100644 hosts/iso/default.nix diff --git a/flake.nix b/flake.nix index 0e697b8..bece91f 100644 --- a/flake.nix +++ b/flake.nix @@ -141,6 +141,17 @@ modules = [ ./hosts/cloudnix + home-manager.nixosModules.home-manager + { + home-manager.extraSpecialArgs = specialArgs; + } + ]; + }; + iso = nixpkgs.lib.nixosSystem { + inherit specialArgs; + modules = [ + ./hosts/iso + home-manager.nixosModules.home-manager { home-manager.extraSpecialArgs = specialArgs; diff --git a/hosts/iso/default.nix b/hosts/iso/default.nix new file mode 100644 index 0000000..4e8fd4c --- /dev/null +++ b/hosts/iso/default.nix @@ -0,0 +1,9 @@ +{modulesPath, pkgs, lib, ...}: let +in { + imports = [(modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix")]; + environment.systemPackages = [ + pkgs.openssl + pkgs.nvim + ]; + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; +} From 7d9d9440ead17d3b0da4df7219dcfd3ec2d49d82 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 4 Feb 2025 13:13:56 +0000 Subject: [PATCH 2/2] change battery notification keymap --- home/common/optional/desktop/dwm/sxhkdrc.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/common/optional/desktop/dwm/sxhkdrc.nix b/home/common/optional/desktop/dwm/sxhkdrc.nix index 9995a81..bda3d89 100644 --- a/home/common/optional/desktop/dwm/sxhkdrc.nix +++ b/home/common/optional/desktop/dwm/sxhkdrc.nix @@ -15,7 +15,7 @@ XF86AudioMicMute pamixer --default-source --toggle-mute && dunstify-volume-notification && pkill -RTMIN+10 dwmblocks && exit 1 - XF86Messenger + control + F9 dunstify-battery-notification control + F8