added theme

This commit is contained in:
biscuit
2025-05-16 06:34:55 -05:00
parent 6b5d28d12b
commit 01ac3de3ff
4 changed files with 112 additions and 70 deletions
+44 -18
View File
@@ -19,38 +19,64 @@
hyprpanel.inputs.nixpkgs.follows = "nixpkgs"; hyprpanel.inputs.nixpkgs.follows = "nixpkgs";
}; };
outputs = { self, nixpkgs, home-manager, ags, astal, hyprpanel, ... } @ inputs: outputs = {
let self,
nixpkgs,
home-manager,
ags,
astal,
hyprpanel,
...
} @ inputs: let
lib = nixpkgs.lib; lib = nixpkgs.lib;
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
in { in {
# TODO: migrate to another nix file. # TODO: migrate to another nix file.
packages.${system}.default = pkgs.stdenvNoCC.mkDerivation rec { packages.${system}.default = pkgs.stdenv.mkDerivation {
name = "my-shell"; pname = "marble";
src = ./.; src = ./marble;
dontUnpack = true;
nativeBuildInputs = [ nativeBuildInputs = with pkgs; [
ags.packages.${system}.default wrapGAppsHook
pkgs.wrapGAppsHook gobject-introspection
pkgs.gobject-introspection
]; ];
buildInputs = with astal.packages.${system}; [ buildInputs =
(with astal.packages.${system}; [
astal3 astal3
io io
hyprland
apps apps
# hyprland battery
]; bluetooth
hyprland
mpris
network
notifd
powerprofiles
tray
wireplumber
])
++ (with pkgs; [
gjs
]);
preFixup = ''
gappsWrapperArgs+=(
--prefix PATH : ${with pkgs;
lib.makeBinPath [
dart-sass
fzf
]}
)
'';
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin
ags bundle app.ts $out/bin/${name} install $src $out/bin/marble
''; '';
}; }; # END TODO
# END TODO
nixosConfigurations = { nixosConfigurations = {
biscuit = lib.nixosSystem { biscuit = lib.nixosSystem {
+22 -11
View File
@@ -1,4 +1,9 @@
{ inputs, pkgs, system, ... }: { {
inputs,
pkgs,
system,
...
}: {
# add the home manager module # add the home manager module
imports = [ imports = [
inputs.ags.homeManagerModules.default inputs.ags.homeManagerModules.default
@@ -16,16 +21,22 @@
configDir = ./custom; configDir = ./custom;
# additional packages to add to gjs's runtime # additional packages to add to gjs's runtime
extraPackages = with pkgs; [ extraPackages = with inputs.ags.packages.${pkgs.system}; [
inputs.ags.packages.${pkgs.system}.battery apps
inputs.ags.packages.${pkgs.system}.wireplumber auth
inputs.ags.packages.${pkgs.system}.hyprland battery
inputs.ags.packages.${pkgs.system}.mpris bluetooth
inputs.ags.packages.${pkgs.system}.io hyprland
inputs.ags.packages.${pkgs.system}.network mpris
inputs.ags.packages.${pkgs.system}.tray network
inputs.ags.packages.${pkgs.system}.notifd notifd
fzf powerprofiles
tray
wireplumber
pkgs.fzf
pkgs.dart-sass
pkgs.esbuild
]; ];
}; };
# programs.astal = { # programs.astal = {
Submodule packages/ags/epik-shell added at 9002206c8b
+9 -5
View File
@@ -1,4 +1,9 @@
{ pkgs, inputs, system, ... }: { {
pkgs,
inputs,
system,
...
}: {
# environment.systemPackages = with pkgs; [ # environment.systemPackages = with pkgs; [
# astal.io # astal.io
# astal.gjs # astal.gjs
@@ -6,10 +11,9 @@
# astal.apps # astal.apps
# ]; # ];
environment.systemPackages = [ environment.systemPackages = [
# inputs.astal.packages.${system}.default pkgs.adw-gtk3
# inputs.astal.packages.${system}.io pkgs.colloid-icon-theme
# inputs.astal.packages.${system}.gjs pkgs.colloid-gtk-theme
# inputs.astal.packages.${system}.hyprland
# inputs.astal.packages.${system}.apps # inputs.astal.packages.${system}.apps
]; ];
} }