Enable and configure aagl

This commit is contained in:
Isshi0417 2024-07-04 16:54:21 +09:00
parent 74189b3786
commit 2f42b0dbc6
5 changed files with 68 additions and 6 deletions

40
flake.lock generated
View File

@ -1,5 +1,26 @@
{
"nodes": {
"aagl": {
"inputs": {
"flake-compat": "flake-compat",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1719917903,
"narHash": "sha256-UJpEzS99Y/j1QiwpDaB5JLhK85AKBqJ/8jaEiIrEG8Q=",
"owner": "ezKEa",
"repo": "aagl-gtk-on-nix",
"rev": "55d7639b1e6aa6ed8ca5ab196b8acd1890d2fc38",
"type": "github"
},
"original": {
"owner": "ezKEa",
"repo": "aagl-gtk-on-nix",
"type": "github"
}
},
"base16": {
"inputs": {
"fromYaml": "fromYaml"
@ -115,6 +136,22 @@
}
},
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1696426674,
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-compat_2": {
"flake": false,
"locked": {
"lastModified": 1673956053,
@ -238,6 +275,7 @@
},
"root": {
"inputs": {
"aagl": "aagl",
"home-manager": "home-manager",
"nixpkgs": "nixpkgs",
"stylix": "stylix"
@ -252,7 +290,7 @@
"base16-kitty": "base16-kitty",
"base16-tmux": "base16-tmux",
"base16-vim": "base16-vim",
"flake-compat": "flake-compat",
"flake-compat": "flake-compat_2",
"gnome-shell": "gnome-shell",
"home-manager": "home-manager_2",
"nixpkgs": "nixpkgs_2"

View File

@ -10,6 +10,11 @@
};
stylix.url = "github:danth/stylix";
aagl = {
url = "github:ezKEa/aagl-gtk-on-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, ... }@inputs:
@ -21,9 +26,17 @@
nixosConfigurations.alienware = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
inputs.home-manager.nixosModules.default
# Config
./hosts/default/configuration.nix
# Home-manager
inputs.home-manager.nixosModules.default
# Stylix
inputs.stylix.nixosModules.stylix
#Aagl
inputs.aagl.nixosModules.default
];
};
};

View File

@ -112,7 +112,8 @@
extraGroups = [ "networkmanager" "wheel" ];
shell = pkgs.zsh;
};
# Home Manager
home-manager = {
extraSpecialArgs = { inherit inputs; };
users = {
@ -120,8 +121,6 @@
};
};
home-manager.backupFileExtension = "backup";
# Allow unfree packages
nixpkgs.config.allowUnfree = true;

View File

@ -6,7 +6,6 @@
../../modules/home-manager/git.nix
../../modules/home-manager/zsh.nix
../../modules/home-manager/themes/basic-gtk.nix
#../../modules/home-manager/vscode.nix
];
# Allow Unfree

View File

@ -16,4 +16,17 @@
winetricks
lutris
];
# Aagl config
nix.settings = {
substituters = [ "https://ezkea.cachix.org" ];
trusted-public-keys = [ "ezkea.cachix.org-1:ioBmUbJTZIKsHmWWXPe1FSFbeVe+afhfgqgTSNd34eI=" ];
};
programs.anime-game-launcher.enable = true;
programs.anime-games-launcher.enable = true;
programs.anime-borb-launcher.enable = true;
programs.honkers-railway-launcher.enable = true;
programs.honkers-launcher.enable = true;
programs.wavey-launcher.enable = true;
}