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
+75 -49
View File
@@ -19,58 +19,84 @@
hyprpanel.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, home-manager, ags, astal, hyprpanel, ... } @ inputs:
let
lib = nixpkgs.lib;
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
outputs = {
self,
nixpkgs,
home-manager,
ags,
astal,
hyprpanel,
...
} @ inputs: let
lib = nixpkgs.lib;
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
# TODO: migrate to another nix file.
packages.${system}.default = pkgs.stdenv.mkDerivation {
pname = "marble";
src = ./marble;
dontUnpack = true;
in {
# TODO: migrate to another nix file.
packages.${system}.default = pkgs.stdenvNoCC.mkDerivation rec {
name = "my-shell";
src = ./.;
nativeBuildInputs = [
ags.packages.${system}.default
pkgs.wrapGAppsHook
pkgs.gobject-introspection
];
buildInputs = with astal.packages.${system}; [
astal3
io
hyprland
apps
# hyprland
];
installPhase = ''
mkdir -p $out/bin
ags bundle app.ts $out/bin/${name}
'';
};
# END TODO
nixosConfigurations = {
biscuit = lib.nixosSystem {
specialArgs = { inherit inputs system; };
inherit system;
modules = [
./nixos/configuration.nix
nativeBuildInputs = with pkgs; [
wrapGAppsHook
gobject-introspection
];
};
};
homeConfigurations = {
biscuit = home-manager.lib.homeManagerConfiguration {
pkgs = import nixpkgs {
buildInputs =
(with astal.packages.${system}; [
astal3
io
apps
battery
bluetooth
hyprland
mpris
network
notifd
powerprofiles
tray
wireplumber
])
++ (with pkgs; [
gjs
]);
preFixup = ''
gappsWrapperArgs+=(
--prefix PATH : ${with pkgs;
lib.makeBinPath [
dart-sass
fzf
]}
)
'';
installPhase = ''
mkdir -p $out/bin
install $src $out/bin/marble
'';
}; # END TODO
nixosConfigurations = {
biscuit = lib.nixosSystem {
specialArgs = {inherit inputs system;};
inherit system;
overlays = [ inputs.hyprpanel.overlay ];
modules = [
./nixos/configuration.nix
];
};
# inherit pkgs;
extraSpecialArgs = { inherit inputs system; };
modules = [ ./home-manager/home.nix ];
};
};
};
homeConfigurations = {
biscuit = home-manager.lib.homeManagerConfiguration {
pkgs = import nixpkgs {
inherit system;
overlays = [inputs.hyprpanel.overlay];
};
# inherit pkgs;
extraSpecialArgs = {inherit inputs system;};
modules = [./home-manager/home.nix];
};
};
};
}