wip
This commit is contained in:
@@ -23,11 +23,14 @@
|
|||||||
hyprpanel.inputs.nixpkgs.follows = "nixpkgs";
|
hyprpanel.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, home-manager, ags, astal, ... } @ inputs:
|
outputs = { self, nixpkgs, home-manager, ags, astal, hyprpanel, ... } @ inputs:
|
||||||
let
|
let
|
||||||
lib = nixpkgs.lib;
|
lib = nixpkgs.lib;
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
hyprpanelOverlay = self: super: {
|
||||||
|
hyprpanel = super.callPackage hyprpanel { };
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
packages.${system}.default = pkgs.stdenvNoCC.mkDerivation rec {
|
packages.${system}.default = pkgs.stdenvNoCC.mkDerivation rec {
|
||||||
name = "my-shell";
|
name = "my-shell";
|
||||||
@@ -52,18 +55,18 @@
|
|||||||
specialArgs = { inherit inputs system; };
|
specialArgs = { inherit inputs system; };
|
||||||
inherit system;
|
inherit system;
|
||||||
modules = [
|
modules = [
|
||||||
./nixos/configuration.nix
|
./nixos/configuration.nix
|
||||||
{ nixpkgs.overlays = [inputs.hyprpanel.overlay]; }
|
{nixpkgs.overlays = [ inputs.hyprpanel.overlay ];}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
homeConfigurations = {
|
homeConfigurations = {
|
||||||
biscuit = home-manager.lib.homeManagerConfiguration {
|
biscuit = home-manager.lib.homeManagerConfiguration {
|
||||||
|
pkgs = import nixpkgs {
|
||||||
|
inherit system;
|
||||||
|
overlay = [ inputs.hyprpanel.overlay ];
|
||||||
|
};
|
||||||
extraSpecialArgs = { inherit inputs system; };
|
extraSpecialArgs = { inherit inputs system; };
|
||||||
overlays = [
|
|
||||||
inputs.hyprpanel.overlay
|
|
||||||
];
|
|
||||||
inherit pkgs;
|
|
||||||
modules = [ ./home-manager/home.nix ];
|
modules = [ ./home-manager/home.nix ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
../modules/terminal.nix
|
../modules/terminal.nix
|
||||||
../packages/ags/default.nix
|
../packages/ags/default.nix
|
||||||
../packages/hyprland/default.nix
|
../packages/hyprland/default.nix
|
||||||
|
../packages/hyprpanel/default.nix
|
||||||
# /home/biscuit/Nixos/packages/hyprland/default.nix
|
# /home/biscuit/Nixos/packages/hyprland/default.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
# Import a theme from './themes/*.json'.
|
# Import a theme from './themes/*.json'.
|
||||||
# Default: ""
|
# Default: ""
|
||||||
theme = "gruvbox_split";
|
# theme = "gruvbox_split";
|
||||||
|
|
||||||
# Override the final config with an arbitrary set.
|
# Override the final config with an arbitrary set.
|
||||||
# Useful for overriding colors in your selected theme.
|
# Useful for overriding colors in your selected theme.
|
||||||
@@ -37,42 +37,42 @@
|
|||||||
# Configure bar layouts for monitors.
|
# Configure bar layouts for monitors.
|
||||||
# See 'https://hyprpanel.com/configuration/panel.html'.
|
# See 'https://hyprpanel.com/configuration/panel.html'.
|
||||||
# Default: null
|
# Default: null
|
||||||
layout = {
|
# layout = {
|
||||||
"bar.layouts" = {
|
# "bar.layouts" = {
|
||||||
"0" = {
|
# "0" = {
|
||||||
left = [ "dashboard" "workspaces" ];
|
# left = [ "dashboard" "workspaces" ];
|
||||||
middle = [ "media" ];
|
# middle = [ "media" ];
|
||||||
right = [ "volume" "systray" "notifications" ];
|
# right = [ "volume" "systray" "notifications" ];
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
#
|
||||||
# Configure and theme almost all options from the GUI.
|
# # Configure and theme almost all options from the GUI.
|
||||||
# Options that require '{}' or '[]' are not yet implemented,
|
# # Options that require '{}' or '[]' are not yet implemented,
|
||||||
# except for the layout above.
|
# # except for the layout above.
|
||||||
# See 'https://hyprpanel.com/configuration/settings.html'.
|
# # See 'https://hyprpanel.com/configuration/settings.html'.
|
||||||
# Default: <same as gui>
|
# # Default: <same as gui>
|
||||||
settings = {
|
# settings = {
|
||||||
bar.launcher.autoDetectIcon = true;
|
# bar.launcher.autoDetectIcon = true;
|
||||||
bar.workspaces.show_icons = true;
|
# bar.workspaces.show_icons = true;
|
||||||
|
#
|
||||||
menus.clock = {
|
# menus.clock = {
|
||||||
time = {
|
# time = {
|
||||||
military = true;
|
# military = true;
|
||||||
hideSeconds = true;
|
# hideSeconds = true;
|
||||||
};
|
# };
|
||||||
weather.unit = "metric";
|
# weather.unit = "metric";
|
||||||
};
|
# };
|
||||||
|
#
|
||||||
menus.dashboard.directories.enabled = false;
|
# menus.dashboard.directories.enabled = false;
|
||||||
menus.dashboard.stats.enable_gpu = true;
|
# menus.dashboard.stats.enable_gpu = true;
|
||||||
|
#
|
||||||
theme.bar.transparent = true;
|
# theme.bar.transparent = true;
|
||||||
|
#
|
||||||
theme.font = {
|
# theme.font = {
|
||||||
name = "CaskaydiaCove NF";
|
# name = "CaskaydiaCove NF";
|
||||||
size = "16px";
|
# size = "16px";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user