diff --git a/flake.lock b/flake.lock index 932a7f0..5871a04 100644 --- a/flake.lock +++ b/flake.lock @@ -1,5 +1,24 @@ { "nodes": { + "aagl": { + "inputs": { + "flake-compat": "flake-compat", + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1734540176, + "narHash": "sha256-msxbnOw/nh8GJ87YtBEDT1jhVldOBtxHRF2KgvYPeDA=", + "owner": "ezKEa", + "repo": "aagl-gtk-on-nix", + "rev": "00df3ad02364a6fb8f1105dc72ae770b748c62eb", + "type": "github" + }, + "original": { + "owner": "ezKEa", + "repo": "aagl-gtk-on-nix", + "type": "github" + } + }, "agenix": { "inputs": { "darwin": "darwin", @@ -110,6 +129,22 @@ } }, "flake-compat_2": { + "flake": false, + "locked": { + "lastModified": 1733328505, + "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_3": { "flake": false, "locked": { "lastModified": 1696426674, @@ -205,7 +240,7 @@ }, "git-hooks": { "inputs": { - "flake-compat": "flake-compat_2", + "flake-compat": "flake-compat_3", "gitignore": "gitignore", "nixpkgs": [ "neovim-nightly", @@ -392,7 +427,7 @@ }, "neovim-nightly": { "inputs": { - "flake-compat": "flake-compat", + "flake-compat": "flake-compat_2", "flake-parts": "flake-parts", "git-hooks": "git-hooks", "hercules-ci-effects": "hercules-ci-effects", @@ -434,7 +469,7 @@ "nix-gaming": { "inputs": { "flake-parts": "flake-parts_3", - "nixpkgs": "nixpkgs", + "nixpkgs": "nixpkgs_2", "umu": "umu" }, "locked": { @@ -504,16 +539,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1732997066, - "narHash": "sha256-9Vvu3a1ep1LB6F/kVE2hHH2HQzhSFtUyJYiJRkUkC4Q=", - "owner": "NixOS", + "lastModified": 1734424634, + "narHash": "sha256-cHar1vqHOOyC7f1+tVycPoWTfKIaqkoe1Q6TnKzuti4=", + "owner": "nixos", "repo": "nixpkgs", - "rev": "33b9d57c656e65a9c88c5f34e4eb00b83e2b0ca9", + "rev": "d3c42f187194c26d9f0309a8ecc469d6c878ce33", "type": "github" }, "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", + "owner": "nixos", + "ref": "nixos-unstable", "repo": "nixpkgs", "type": "github" } @@ -563,6 +598,22 @@ } }, "nixpkgs_2": { + "locked": { + "lastModified": 1732997066, + "narHash": "sha256-9Vvu3a1ep1LB6F/kVE2hHH2HQzhSFtUyJYiJRkUkC4Q=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "33b9d57c656e65a9c88c5f34e4eb00b83e2b0ca9", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_3": { "locked": { "lastModified": 1733392399, "narHash": "sha256-kEsTJTUQfQFIJOcLYFt/RvNxIK653ZkTBIs4DG+cBns=", @@ -628,6 +679,7 @@ }, "root": { "inputs": { + "aagl": "aagl", "agenix": "agenix", "discord-tokyonight": "discord-tokyonight", "discover": "discover", @@ -641,7 +693,7 @@ "nix-gaming": "nix-gaming", "nixos-generators": "nixos-generators", "nixos-hardware": "nixos-hardware", - "nixpkgs": "nixpkgs_2", + "nixpkgs": "nixpkgs_3", "nixpkgs-raccoon": "nixpkgs-raccoon", "nixpkgs-stable": "nixpkgs-stable", "nvim-treesitter": "nvim-treesitter", diff --git a/flake.nix b/flake.nix index 22e46ba..ec87a43 100644 --- a/flake.nix +++ b/flake.nix @@ -12,6 +12,7 @@ nixos-generators.url = "github:nix-community/nixos-generators"; spicetify-nix.url = "github:the-argus/spicetify-nix"; + aagl.url = "github:ezKEa/aagl-gtk-on-nix"; agenix.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager-raccoon.inputs.nixpkgs.follows = "nixpkgs-raccoon"; diff --git a/hosts/hyacinth/default.nix b/hosts/hyacinth/default.nix index 9d1b697..970a7ff 100644 --- a/hosts/hyacinth/default.nix +++ b/hosts/hyacinth/default.nix @@ -14,6 +14,7 @@ inputs.home-manager.nixosModule home-manager + aagl audio base bluetooth diff --git a/modules/default.nix b/modules/default.nix index 0ad17ac..8316340 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -25,6 +25,7 @@ in { ./services/vaultwarden.nix ]; system = mkAttrsFromPaths [ + ./system/aagl.nix ./system/audio.nix ./system/base.nix ./system/bluetooth.nix diff --git a/modules/system/aagl.nix b/modules/system/aagl.nix new file mode 100644 index 0000000..57826c4 --- /dev/null +++ b/modules/system/aagl.nix @@ -0,0 +1,6 @@ +{ inputs, ... }: { + imports = [ inputs.aagl.nixosModules.default ]; + nix.settings = inputs.aagl.nixConfig; + programs.anime-game-launcher.enable = true; + programs.sleepy-launcher.enable = true; +}