diff --git a/config.nix b/config.nix index 4364dcb..8c80ca3 100644 --- a/config.nix +++ b/config.nix @@ -23,7 +23,7 @@ enableSteamOS = true; Boot = { - mode = "systemd"; # systemd or grub + mode = "limine"; # systemd or grub }; Apps = { packages = pkgs: diff --git a/flake.lock b/flake.lock index 5af429b..cc815f9 100644 --- a/flake.lock +++ b/flake.lock @@ -70,6 +70,59 @@ "type": "github" } }, + "aquamarine_3": { + "inputs": { + "hyprutils": [ + "omarchy-nix", + "hyprland", + "hyprutils" + ], + "hyprwayland-scanner": [ + "omarchy-nix", + "hyprland", + "hyprwayland-scanner" + ], + "nixpkgs": [ + "omarchy-nix", + "hyprland", + "nixpkgs" + ], + "systems": [ + "omarchy-nix", + "hyprland", + "systems" + ] + }, + "locked": { + "lastModified": 1753216019, + "narHash": "sha256-zik7WISrR1ks2l6T1MZqZHb/OqroHdJnSnAehkE0kCk=", + "owner": "hyprwm", + "repo": "aquamarine", + "rev": "be166e11d86ba4186db93e10c54a141058bdce49", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "aquamarine", + "type": "github" + } + }, + "base16-schemes": { + "flake": false, + "locked": { + "lastModified": 1696158499, + "narHash": "sha256-5yIHgDTPjoX/3oDEfLSQ0eJZdFL1SaCfb9d6M0RmOTM=", + "owner": "tinted-theming", + "repo": "base16-schemes", + "rev": "a9112eaae86d9dd8ee6bb9445b664fba2f94037a", + "type": "github" + }, + "original": { + "owner": "tinted-theming", + "repo": "base16-schemes", + "type": "github" + } + }, "chaotic": { "inputs": { "flake-schemas": "flake-schemas", @@ -218,6 +271,22 @@ "url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz" } }, + "flake-compat_5": { + "flake": false, + "locked": { + "lastModified": 1747046372, + "narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, "flake-parts": { "inputs": { "nixpkgs-lib": "nixpkgs-lib" @@ -404,6 +473,29 @@ "type": "github" } }, + "gitignore_4": { + "inputs": { + "nixpkgs": [ + "omarchy-nix", + "hyprland", + "pre-commit-hooks", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1709087332, + "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", + "owner": "hercules-ci", + "repo": "gitignore.nix", + "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "gitignore.nix", + "type": "github" + } + }, "home-manager": { "inputs": { "nixpkgs": [ @@ -549,6 +641,38 @@ "type": "github" } }, + "hyprcursor_3": { + "inputs": { + "hyprlang": [ + "omarchy-nix", + "hyprland", + "hyprlang" + ], + "nixpkgs": [ + "omarchy-nix", + "hyprland", + "nixpkgs" + ], + "systems": [ + "omarchy-nix", + "hyprland", + "systems" + ] + }, + "locked": { + "lastModified": 1753964049, + "narHash": "sha256-lIqabfBY7z/OANxHoPeIrDJrFyYy9jAM4GQLzZ2feCM=", + "owner": "hyprwm", + "repo": "hyprcursor", + "rev": "44e91d467bdad8dcf8bbd2ac7cf49972540980a5", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprcursor", + "type": "github" + } + }, "hyprgraphics": { "inputs": { "hyprutils": [ @@ -610,6 +734,38 @@ "type": "github" } }, + "hyprgraphics_3": { + "inputs": { + "hyprutils": [ + "omarchy-nix", + "hyprland", + "hyprutils" + ], + "nixpkgs": [ + "omarchy-nix", + "hyprland", + "nixpkgs" + ], + "systems": [ + "omarchy-nix", + "hyprland", + "systems" + ] + }, + "locked": { + "lastModified": 1754305013, + "narHash": "sha256-u+M2f0Xf1lVHzIPQ7DsNCDkM1NYxykOSsRr4t3TbSM4=", + "owner": "hyprwm", + "repo": "hyprgraphics", + "rev": "4c1d63a0f22135db123fc789f174b89544c6ec2d", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprgraphics", + "type": "github" + } + }, "hyprland": { "inputs": { "aquamarine": "aquamarine", @@ -695,6 +851,33 @@ "type": "github" } }, + "hyprland-protocols_3": { + "inputs": { + "nixpkgs": [ + "omarchy-nix", + "hyprland", + "nixpkgs" + ], + "systems": [ + "omarchy-nix", + "hyprland", + "systems" + ] + }, + "locked": { + "lastModified": 1749046714, + "narHash": "sha256-kymV5FMnddYGI+UjwIw8ceDjdeg7ToDVjbHCvUlhn14=", + "owner": "hyprwm", + "repo": "hyprland-protocols", + "rev": "613878cb6f459c5e323aaafe1e6f388ac8a36330", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprland-protocols", + "type": "github" + } + }, "hyprland-qt-support": { "inputs": { "hyprlang": [ @@ -762,6 +945,41 @@ "type": "github" } }, + "hyprland-qt-support_3": { + "inputs": { + "hyprlang": [ + "omarchy-nix", + "hyprland", + "hyprland-qtutils", + "hyprlang" + ], + "nixpkgs": [ + "omarchy-nix", + "hyprland", + "hyprland-qtutils", + "nixpkgs" + ], + "systems": [ + "omarchy-nix", + "hyprland", + "hyprland-qtutils", + "systems" + ] + }, + "locked": { + "lastModified": 1749154592, + "narHash": "sha256-DO7z5CeT/ddSGDEnK9mAXm1qlGL47L3VAHLlLXoCjhE=", + "owner": "hyprwm", + "repo": "hyprland-qt-support", + "rev": "4c8053c3c888138a30c3a6c45c2e45f5484f2074", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprland-qt-support", + "type": "github" + } + }, "hyprland-qtutils": { "inputs": { "hyprland-qt-support": "hyprland-qt-support", @@ -838,6 +1056,46 @@ "type": "github" } }, + "hyprland-qtutils_3": { + "inputs": { + "hyprland-qt-support": "hyprland-qt-support_3", + "hyprlang": [ + "omarchy-nix", + "hyprland", + "hyprlang" + ], + "hyprutils": [ + "omarchy-nix", + "hyprland", + "hyprland-qtutils", + "hyprlang", + "hyprutils" + ], + "nixpkgs": [ + "omarchy-nix", + "hyprland", + "nixpkgs" + ], + "systems": [ + "omarchy-nix", + "hyprland", + "systems" + ] + }, + "locked": { + "lastModified": 1753819801, + "narHash": "sha256-tHe6XeNeVeKapkNM3tcjW4RuD+tB2iwwoogWJOtsqTI=", + "owner": "hyprwm", + "repo": "hyprland-qtutils", + "rev": "b308a818b9dcaa7ab8ccab891c1b84ebde2152bc", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprland-qtutils", + "type": "github" + } + }, "hyprland_2": { "inputs": { "aquamarine": "aquamarine_2", @@ -870,6 +1128,35 @@ "type": "github" } }, + "hyprland_3": { + "inputs": { + "aquamarine": "aquamarine_3", + "hyprcursor": "hyprcursor_3", + "hyprgraphics": "hyprgraphics_3", + "hyprland-protocols": "hyprland-protocols_3", + "hyprland-qtutils": "hyprland-qtutils_3", + "hyprlang": "hyprlang_3", + "hyprutils": "hyprutils_3", + "hyprwayland-scanner": "hyprwayland-scanner_3", + "nixpkgs": "nixpkgs_5", + "pre-commit-hooks": "pre-commit-hooks_3", + "systems": "systems_7", + "xdph": "xdph_3" + }, + "locked": { + "lastModified": 1755184403, + "narHash": "sha256-VI+ZPD/uIFjzYW8IcyvBgvwyDIvUe4/xh/kOHTbITX8=", + "owner": "hyprwm", + "repo": "Hyprland", + "rev": "60d769a89908c29e19100059985db15a7b6bab6a", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "Hyprland", + "type": "github" + } + }, "hyprlang": { "inputs": { "hyprutils": [ @@ -931,6 +1218,38 @@ "type": "github" } }, + "hyprlang_3": { + "inputs": { + "hyprutils": [ + "omarchy-nix", + "hyprland", + "hyprutils" + ], + "nixpkgs": [ + "omarchy-nix", + "hyprland", + "nixpkgs" + ], + "systems": [ + "omarchy-nix", + "hyprland", + "systems" + ] + }, + "locked": { + "lastModified": 1753622892, + "narHash": "sha256-0K+A+gmOI8IklSg5It1nyRNv0kCNL51duwnhUO/B8JA=", + "owner": "hyprwm", + "repo": "hyprlang", + "rev": "23f0debd2003f17bd65f851cd3f930cff8a8c809", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprlang", + "type": "github" + } + }, "hyprutils": { "inputs": { "nixpkgs": [ @@ -983,6 +1302,33 @@ "type": "github" } }, + "hyprutils_3": { + "inputs": { + "nixpkgs": [ + "omarchy-nix", + "hyprland", + "nixpkgs" + ], + "systems": [ + "omarchy-nix", + "hyprland", + "systems" + ] + }, + "locked": { + "lastModified": 1754481650, + "narHash": "sha256-6u6HdEFJh5gY6VfyMQbhP7zDdVcqOrCDTkbiHJmAtMI=", + "owner": "hyprwm", + "repo": "hyprutils", + "rev": "df6b8820c4a0835d83d0c7c7be86fbc555f1f7fd", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprutils", + "type": "github" + } + }, "hyprwayland-scanner": { "inputs": { "nixpkgs": [ @@ -1035,6 +1381,33 @@ "type": "github" } }, + "hyprwayland-scanner_3": { + "inputs": { + "nixpkgs": [ + "omarchy-nix", + "hyprland", + "nixpkgs" + ], + "systems": [ + "omarchy-nix", + "hyprland", + "systems" + ] + }, + "locked": { + "lastModified": 1751897909, + "narHash": "sha256-FnhBENxihITZldThvbO7883PdXC/2dzW4eiNvtoV5Ao=", + "owner": "hyprwm", + "repo": "hyprwayland-scanner", + "rev": "fcca0c61f988a9d092cbb33e906775014c61579d", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprwayland-scanner", + "type": "github" + } + }, "illogical-impulse": { "inputs": { "home-manager": "home-manager_3", @@ -1177,6 +1550,25 @@ "type": "github" } }, + "nix-colors": { + "inputs": { + "base16-schemes": "base16-schemes", + "nixpkgs-lib": "nixpkgs-lib_2" + }, + "locked": { + "lastModified": 1707825078, + "narHash": "sha256-hTfge2J2W+42SZ7VHXkf4kjU+qzFqPeC9k66jAUBMHk=", + "owner": "misterio77", + "repo": "nix-colors", + "rev": "b01f024090d2c4fc3152cd0cf12027a7b8453ba1", + "type": "github" + }, + "original": { + "owner": "misterio77", + "repo": "nix-colors", + "type": "github" + } + }, "nix-darwin": { "inputs": { "nixpkgs": [ @@ -1316,6 +1708,21 @@ "url": "https://github.com/NixOS/nixpkgs/archive/072a6db25e947df2f31aab9eccd0ab75d5b2da11.tar.gz" } }, + "nixpkgs-lib_2": { + "locked": { + "lastModified": 1697935651, + "narHash": "sha256-qOfWjQ2JQSQL15KLh6D7xQhx0qgZlYZTYlcEiRuAMMw=", + "owner": "nix-community", + "repo": "nixpkgs.lib", + "rev": "e1e11fdbb01113d85c7f41cada9d2847660e3902", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nixpkgs.lib", + "type": "github" + } + }, "nixpkgs_2": { "locked": { "lastModified": 1738797219, @@ -1364,6 +1771,22 @@ "type": "github" } }, + "nixpkgs_5": { + "locked": { + "lastModified": 1754725699, + "narHash": "sha256-iAcj9T/Y+3DBy2J0N+yF9XQQQ8IEb5swLFzs23CdP88=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "85dbfc7aaf52ecb755f87e577ddbe6dbbdbc1054", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, "nixvim": { "inputs": { "devshell": "devshell", @@ -1414,6 +1837,31 @@ "type": "github" } }, + "omarchy-nix": { + "inputs": { + "home-manager": [ + "home-manager" + ], + "hyprland": "hyprland_3", + "nix-colors": "nix-colors", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1762999930, + "narHash": "sha256-uKyxLwiN6sD6EmRSno66y1a8oqISr1XiWxbWHoMJT7I=", + "ref": "refs/heads/main", + "rev": "308e0f85a0deb820c01cfbe1b4faee1daab4da12", + "revCount": 61, + "type": "git", + "url": "https://git.sakamoto.dev/kenji/omarchy-nix.git" + }, + "original": { + "type": "git", + "url": "https://git.sakamoto.dev/kenji/omarchy-nix.git" + } + }, "oneUI": { "flake": false, "locked": { @@ -1477,6 +1925,30 @@ "type": "github" } }, + "pre-commit-hooks_3": { + "inputs": { + "flake-compat": "flake-compat_5", + "gitignore": "gitignore_4", + "nixpkgs": [ + "omarchy-nix", + "hyprland", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1754416808, + "narHash": "sha256-c6yg0EQ9xVESx6HGDOCMcyRSjaTpNJP10ef+6fRcofA=", + "owner": "cachix", + "repo": "git-hooks.nix", + "rev": "9c52372878df6911f9afc1e2a1391f55e4dfc864", + "type": "github" + }, + "original": { + "owner": "cachix", + "repo": "git-hooks.nix", + "type": "github" + } + }, "quickshell": { "inputs": { "nixpkgs": [ @@ -1510,7 +1982,8 @@ "jovian": "jovian_2", "matugen": "matugen_2", "nixovim": "nixovim", - "nixpkgs": "nixpkgs_4" + "nixpkgs": "nixpkgs_4", + "omarchy-nix": "omarchy-nix" } }, "rust-overlay": { @@ -1642,6 +2115,21 @@ "type": "github" } }, + "systems_7": { + "locked": { + "lastModified": 1689347949, + "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", + "owner": "nix-systems", + "repo": "default-linux", + "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default-linux", + "type": "github" + } + }, "treefmt-nix": { "inputs": { "nixpkgs": [ @@ -1751,6 +2239,53 @@ "repo": "xdg-desktop-portal-hyprland", "type": "github" } + }, + "xdph_3": { + "inputs": { + "hyprland-protocols": [ + "omarchy-nix", + "hyprland", + "hyprland-protocols" + ], + "hyprlang": [ + "omarchy-nix", + "hyprland", + "hyprlang" + ], + "hyprutils": [ + "omarchy-nix", + "hyprland", + "hyprutils" + ], + "hyprwayland-scanner": [ + "omarchy-nix", + "hyprland", + "hyprwayland-scanner" + ], + "nixpkgs": [ + "omarchy-nix", + "hyprland", + "nixpkgs" + ], + "systems": [ + "omarchy-nix", + "hyprland", + "systems" + ] + }, + "locked": { + "lastModified": 1753633878, + "narHash": "sha256-js2sLRtsOUA/aT10OCDaTjO80yplqwOIaLUqEe0nMx0=", + "owner": "hyprwm", + "repo": "xdg-desktop-portal-hyprland", + "rev": "371b96bd11ad2006ed4f21229dbd1be69bed3e8a", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "xdg-desktop-portal-hyprland", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 6ae850c..5d1f809 100644 --- a/flake.nix +++ b/flake.nix @@ -87,10 +87,12 @@ ]; }; hakase-omarchy = nixpkgs.lib.nixosSystem { + specialArgs = args; modules = [ + chaotic.nixosModules.default omarchy-nix.nixosModules.default home-manager.nixosModules.home-manager - ./hosts/hakase/configuration.nix + ./hosts/hakase-omarchy/configuration.nix ]; }; vanilla = nixpkgs.lib.nixosSystem { diff --git a/home/hakase-omarchy.nix b/home/hakase-omarchy.nix index 5d8122a..dcd9156 100644 --- a/home/hakase-omarchy.nix +++ b/home/hakase-omarchy.nix @@ -1,14 +1,15 @@ { + config, pkgs, inputs, ... -}: let - info = import ../config.nix; -in { +}: { imports = [ - # inputs.chaotic.homeManagerModules.default + # ... your other imports + inputs.omarchy-nix.homeManagerModules.default # Assuming you have a system module too ]; - home.packages = info.myConfig.nixos.Apps.packages pkgs; + # ADD THIS BLOCK + home.stateVersion = "25.05"; } diff --git a/hosts/hakase-omarchy/configuration.nix b/hosts/hakase-omarchy/configuration.nix index a30ee56..311bda2 100644 --- a/hosts/hakase-omarchy/configuration.nix +++ b/hosts/hakase-omarchy/configuration.nix @@ -5,6 +5,7 @@ ... }: { imports = [ + ../../modules/default/boot.nix ./hardware-configuration.nix ]; @@ -34,6 +35,11 @@ }; }; + omarchy = { + full_name = "${myConfig.essentials.Username}"; # Or variable + email_address = "${myConfig.nixos.Git.email}"; + }; + home-manager = { backupFileExtension = "backup"; useGlobalPkgs = true; diff --git a/modules/default/boot.nix b/modules/default/boot.nix index 938e601..a02c895 100644 --- a/modules/default/boot.nix +++ b/modules/default/boot.nix @@ -11,6 +11,12 @@ canTouchEfiVariables = true; efiSysMountPoint = "/boot"; }; + + limine = lib.mkIf (myConfig.nixos.Boot.mode == "limine") { + enable = true; + maxGenerations = 5; + }; + systemd-boot = lib.mkIf (myConfig.nixos.Boot.mode == "systemd") { enable = true; # xbootldrMountPoint = "/boot"; @@ -26,7 +32,6 @@ device = "nodev"; useOSProber = true; }; - limine.maxGenerations = 5; }; plymouth = {