mirror of
https://github.com/zephrynis/nix-flake.git
synced 2026-02-18 20:21:53 +00:00
Fix: update AGS and Astal configurations for improved widget management and system integration
This commit is contained in:
67
flake.lock
generated
67
flake.lock
generated
@@ -1,5 +1,24 @@
|
|||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
|
"ags": {
|
||||||
|
"inputs": {
|
||||||
|
"astal": "astal",
|
||||||
|
"nixpkgs": "nixpkgs"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1762046771,
|
||||||
|
"narHash": "sha256-baVZvZZN0t9F3fvVhxmQA1/oNykXGd/YhlF19JqCLc8=",
|
||||||
|
"owner": "Aylur",
|
||||||
|
"repo": "ags",
|
||||||
|
"rev": "fe13af2daec716226ccdb3158606a8577853e0ff",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "Aylur",
|
||||||
|
"repo": "ags",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"aquamarine": {
|
"aquamarine": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"hyprutils": [
|
"hyprutils": [
|
||||||
@@ -33,6 +52,27 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"astal": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"ags",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1762012522,
|
||||||
|
"narHash": "sha256-ncEN4OVFM5M9VFc4oR3gOI5K8r99GcYxtU+Cf4Z8pbs=",
|
||||||
|
"owner": "aylur",
|
||||||
|
"repo": "astal",
|
||||||
|
"rev": "671d4229c798834190a50fb8b8d8addd19b529e9",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "aylur",
|
||||||
|
"repo": "astal",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"flake-compat": {
|
"flake-compat": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
@@ -178,7 +218,7 @@
|
|||||||
"hyprlang": "hyprlang",
|
"hyprlang": "hyprlang",
|
||||||
"hyprutils": "hyprutils",
|
"hyprutils": "hyprutils",
|
||||||
"hyprwayland-scanner": "hyprwayland-scanner",
|
"hyprwayland-scanner": "hyprwayland-scanner",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"pre-commit-hooks": "pre-commit-hooks",
|
"pre-commit-hooks": "pre-commit-hooks",
|
||||||
"systems": "systems",
|
"systems": "systems",
|
||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
@@ -372,6 +412,22 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1761907660,
|
||||||
|
"narHash": "sha256-kJ8lIZsiPOmbkJypG+B5sReDXSD1KGu2VEPNqhRa/ew=",
|
||||||
|
"owner": "nixos",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "2fb006b87f04c4d3bdf08cfdbc7fab9c13d94a15",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nixos",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1761114652,
|
"lastModified": 1761114652,
|
||||||
"narHash": "sha256-f/QCJM/YhrV/lavyCVz8iU3rlZun6d+dAiC3H+CDle4=",
|
"narHash": "sha256-f/QCJM/YhrV/lavyCVz8iU3rlZun6d+dAiC3H+CDle4=",
|
||||||
@@ -387,7 +443,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1761468971,
|
"lastModified": 1761468971,
|
||||||
"narHash": "sha256-vY2OLVg5ZTobdroQKQQSipSIkHlxOTrIF1fsMzPh8w8=",
|
"narHash": "sha256-vY2OLVg5ZTobdroQKQQSipSIkHlxOTrIF1fsMzPh8w8=",
|
||||||
@@ -403,7 +459,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_4": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1759036355,
|
"lastModified": 1759036355,
|
||||||
"narHash": "sha256-0m27AKv6ka+q270dw48KflE0LwQYrO7Fm4/2//KCVWg=",
|
"narHash": "sha256-0m27AKv6ka+q270dw48KflE0LwQYrO7Fm4/2//KCVWg=",
|
||||||
@@ -444,9 +500,10 @@
|
|||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"ags": "ags",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"hyprland": "hyprland",
|
"hyprland": "hyprland",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_3",
|
||||||
"vicinae": "vicinae"
|
"vicinae": "vicinae"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -483,7 +540,7 @@
|
|||||||
"vicinae": {
|
"vicinae": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
"nixpkgs": "nixpkgs_3"
|
"nixpkgs": "nixpkgs_4"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1761603305,
|
"lastModified": 1761603305,
|
||||||
|
|||||||
11
flake.nix
11
flake.nix
@@ -16,14 +16,19 @@
|
|||||||
# Vicinae - Application launcher
|
# Vicinae - Application launcher
|
||||||
vicinae.url = "github:vicinaehq/vicinae";
|
vicinae.url = "github:vicinaehq/vicinae";
|
||||||
|
|
||||||
# AGS - Aylur's GTK Shell for custom widgets/bar
|
# Astal - Required for AGS
|
||||||
ags.url = "github:Aylur/ags";
|
astal.url = "github:aylur/astal";
|
||||||
|
astal.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
|
# AGS - Aylur's GTK Shell for custom widgets/bar (v1)
|
||||||
|
ags.url = "github:Aylur/ags/v1";
|
||||||
|
ags.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
# Optional: Other useful inputs
|
# Optional: Other useful inputs
|
||||||
# nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
# nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, home-manager, hyprland, vicinae, ags, ... }@inputs: {
|
outputs = { self, nixpkgs, home-manager, hyprland, vicinae, astal, ags, ... }@inputs: {
|
||||||
# NixOS configuration for your hostname(s)
|
# NixOS configuration for your hostname(s)
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
# Desktop PC configuration
|
# Desktop PC configuration
|
||||||
|
|||||||
@@ -7,11 +7,14 @@
|
|||||||
programs.ags = {
|
programs.ags = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
# null = use ~/.config/ags, or set to a path to symlink
|
||||||
|
configDir = null;
|
||||||
|
|
||||||
# Add additional packages needed for AGS
|
# Add additional packages needed for AGS
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
gtksourceview
|
inputs.astal.packages.${pkgs.system}.battery
|
||||||
webkitgtk
|
inputs.astal.packages.${pkgs.system}.bluetooth
|
||||||
accountsservice
|
inputs.astal.packages.${pkgs.system}.network
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hyprland.nix
|
./hyprland.nix
|
||||||
./ags.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Home Manager configuration for user-level dotfiles and applications
|
# Home Manager configuration for user-level dotfiles and applications
|
||||||
@@ -58,10 +57,10 @@
|
|||||||
# obs-studio
|
# obs-studio
|
||||||
|
|
||||||
# Hyprland essentials
|
# Hyprland essentials
|
||||||
# waybar # Status bar - replaced by AGS
|
waybar # Status bar
|
||||||
dunst # Notifications
|
dunst # Notifications
|
||||||
wofi # App launcher
|
wofi # App launcher
|
||||||
rofi-bluetooth # Bluetooth menu for Waybar
|
rofi-bluetooth # Bluetooth menu
|
||||||
networkmanagerapplet # WiFi manager applet for system tray
|
networkmanagerapplet # WiFi manager applet for system tray
|
||||||
# rofi-wayland # Alternative launcher
|
# rofi-wayland # Alternative launcher
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
"mpvpaper -o 'no-audio loop' DP-2 ~/nix-flake/assets/wallpaper.mp4"
|
"mpvpaper -o 'no-audio loop' DP-2 ~/nix-flake/assets/wallpaper.mp4"
|
||||||
"mpvpaper -o 'no-audio loop' DP-1 ~/nix-flake/assets/wallpaper.mp4"
|
"mpvpaper -o 'no-audio loop' DP-1 ~/nix-flake/assets/wallpaper.mp4"
|
||||||
|
|
||||||
"ags" # Start AGS (bar and widgets)
|
"ags run" # Start AGS (bar and widgets)
|
||||||
"dunst"
|
"dunst"
|
||||||
"nm-applet --indicator" # WiFi manager in system tray
|
"nm-applet --indicator" # WiFi manager in system tray
|
||||||
"vicinae server" # Start Vicinae server
|
"vicinae server" # Start Vicinae server
|
||||||
|
|||||||
Reference in New Issue
Block a user