diff --git a/flake.lock b/flake.lock index 2f4e028..9f252c7 100644 --- a/flake.lock +++ b/flake.lock @@ -141,6 +141,24 @@ "type": "github" } }, + "flake-parts_2": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib" + }, + "locked": { + "lastModified": 1749398372, + "narHash": "sha256-tYBdgS56eXYaWVW3fsnPQ/nFlgWi/Z2Ymhyu21zVM98=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "9305fe4e5c2a6fcf5ba6a3ff155720fbe4076569", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, "fmt-src": { "flake": false, "locked": { @@ -263,6 +281,28 @@ "type": "github" } }, + "mangowm": { + "inputs": { + "flake-parts": "flake-parts_2", + "nixpkgs": [ + "nixpkgs-unstable" + ], + "scenefx": "scenefx" + }, + "locked": { + "lastModified": 1774751083, + "narHash": "sha256-I7M4j2w2X61qA4U+6El7q08Ay0+nweJl4jDlKa1UQFQ=", + "owner": "mangowm", + "repo": "mango", + "rev": "254eb8a4d4dd6a3f34ebcf4565132f5e5523b954", + "type": "github" + }, + "original": { + "owner": "mangowm", + "repo": "mango", + "type": "github" + } + }, "microvm": { "inputs": { "nixpkgs": [ @@ -486,6 +526,21 @@ "type": "github" } }, + "nixpkgs-lib": { + "locked": { + "lastModified": 1748740939, + "narHash": "sha256-rQaysilft1aVMwF14xIdGS3sj1yHlI6oKQNBRTF40cc=", + "owner": "nix-community", + "repo": "nixpkgs.lib", + "rev": "656a64127e9d791a334452c6b6606d17539476e2", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nixpkgs.lib", + "type": "github" + } + }, "nixpkgs-unstable": { "locked": { "lastModified": 1772624091, @@ -581,6 +636,7 @@ "inputs": { "cerulean": "cerulean", "home-manager-unstable": "home-manager-unstable", + "mangowm": "mangowm", "millennium": "millennium", "nix-flatpak": "nix-flatpak", "nixcats": "nixcats", @@ -591,6 +647,27 @@ "zen-browser": "zen-browser" } }, + "scenefx": { + "inputs": { + "nixpkgs": [ + "mangowm", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1750785057, + "narHash": "sha256-tGX6j4W91rcb+glXJo43sjPI9zQvPotonknG1BdihR4=", + "owner": "wlrfx", + "repo": "scenefx", + "rev": "3a6cfb12e4ba97b43326357d14f7b3e40897adfc", + "type": "github" + }, + "original": { + "owner": "wlrfx", + "repo": "scenefx", + "type": "github" + } + }, "sops-nix": { "inputs": { "nixpkgs": [ diff --git a/flake.nix b/flake.nix index 40b8101..9e16ae7 100644 --- a/flake.nix +++ b/flake.nix @@ -33,10 +33,10 @@ inputs.home-manager.follows = "home-manager-unstable"; }; - mangown = { + mangowm = { url = "github:mangowm/mango"; inputs.nixpkgs.follows = "nixpkgs-unstable"; - } + }; }; nixConfig = { diff --git a/homes/dea/default.nix b/homes/dea/default.nix index e3595dc..0a41632 100644 --- a/homes/dea/default.nix +++ b/homes/dea/default.nix @@ -7,11 +7,13 @@ imports = [ inputs.plasma-manager.homeModules.plasma-manager # + #/${root}/homes/modules/shell /${root}/homes/modules/bash /${root}/homes/modules/starship /${root}/homes/modules/vim /${root}/homes/modules/mpv /${root}/homes/modules/zen + /${root}/homes/modules/wm ]; home.username = "dea"; diff --git a/homes/modules/wm/default.nix b/homes/modules/wm/default.nix new file mode 100644 index 0000000..452c844 --- /dev/null +++ b/homes/modules/wm/default.nix @@ -0,0 +1,14 @@ +{ lib, ... }: + +{ + options = { + deaFiles.wm = lib.mkOption { + type = lib.types.enum [lib.listDir ./ |> builtins.toString]; + default = null; + }; + }; + + config = { + deaFiles.wm = "mangowc"; + }; +} diff --git a/homes/modules/wm/mango/default.nix b/homes/modules/wm/mangowc/default.nix similarity index 72% rename from homes/modules/wm/mango/default.nix rename to homes/modules/wm/mangowc/default.nix index d21626c..3317633 100644 --- a/homes/modules/wm/mango/default.nix +++ b/homes/modules/wm/mangowc/default.nix @@ -1,3 +1,5 @@ { inputs, ... }: -{ } +{ + +} diff --git a/snow.nix b/snow.nix index f132e1a..9690722 100644 --- a/snow.nix +++ b/snow.nix @@ -6,6 +6,7 @@ args = {inherit inputs;}; modules = [ inputs.nix-flatpak.nixosModules.nix-flatpak + inputs.mangowm.nixosModules.mango ]; groups = {