aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md15
-rw-r--r--flake.nix11
-rw-r--r--void/home.nix33
3 files changed, 58 insertions, 1 deletions
diff --git a/README.md b/README.md
index f06e2e0..fa364c2 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,21 @@
nixos and home-manager configurations for various systems
---------------------------------------------------------
+setup notes:
+ - secret management done outside of nix, i use [pass](https://www.passwordstore.org/)
+ - i use the [colemak dh](https://colemakmods.github.io/mod-dh/#qwerty-changes) keyboard layout, this is not easy to change with current modules
+
- [form](/form) mini itx desktop in my dorm
* os: NixOS
* case: FormD T1
- * gpu: NVIDIA GeForce RTX 4080 SUPER
+ * gpu: NVIDIA GeForce RTX 4080 SUPER (proprietary drivers, open-source kernel module)
* cpu: AMD Ryzen 7800X3D Super
+ * setup for wifi bc there is no ethernet port
+ * `nixos-rebuild switch ~/home#form`
+
+- [void](/void) used on two laptops
+ * os: Void Linux
+ * hosts: Framework Laptop 13 (AMD), 51nb x2100
+ * kernel: [linux-zen](https://github.com/zen-kernel/zen-kernel/releases)
+ * prerequisites: pipewire, session manager, drivers
+ * `home-manager switch --impure --flake ~/home#void` (impure to pass env to [nixGL](https://github.com/nix-community/nixGL)
diff --git a/flake.nix b/flake.nix
index 8d7a3fd..b88bf36 100644
--- a/flake.nix
+++ b/flake.nix
@@ -61,5 +61,16 @@
];
};
};
+ homeConfigurations = {
+ inherit inputs system pkgs;
+ "void" = home-manager.lib.homeManagerConfiguration {
+# inherit pkgs;
+ pkgs = nixpkgs.legacyPackages.${system};
+ modules = [ ./void/home.nix ];
+ extraSpecialArgs = {
+ inherit system inputs pkgs;
+ };
+ };
+ };
};
}
diff --git a/void/home.nix b/void/home.nix
new file mode 100644
index 0000000..78f05fc
--- /dev/null
+++ b/void/home.nix
@@ -0,0 +1,33 @@
+{ inputs, config, lib, pkgs, ... }:
+{
+ imports = [
+ ../modules/global.nix
+ ../modules
+ ];
+
+ config.modules = {
+ global = {
+ notNixOS = true;
+ wayland = true;
+
+ extraPackages = with pkgs; [
+ wmenu
+ cmatrix
+ ];
+ };
+
+ foot.enable = true;
+
+ neovim = {
+ enable = true;
+ };
+
+ sway = {
+ enable = true;
+ terminal = "foot";
+ };
+
+ mako.enable = true;
+ neovide.enable = true;
+ };
+}