diff --git a/flake.lock b/flake.lock index 9e47a3a..3bb37e2 100644 --- a/flake.lock +++ b/flake.lock @@ -1,5 +1,23 @@ { "nodes": { + "ags": { + "inputs": { + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1718921313, + "narHash": "sha256-TFJah1RW5qnYW7kajjAFPAS5j/0q0R3vz9zPjrRA0Mc=", + "owner": "Aylur", + "repo": "ags", + "rev": "646d5ad073ff7f8b1d50cfbd40f5b8a250fcd59d", + "type": "github" + }, + "original": { + "owner": "Aylur", + "repo": "ags", + "type": "github" + } + }, "flake-compat": { "flake": false, "locked": { @@ -71,7 +89,7 @@ "hyprlang": "hyprlang", "hyprutils": "hyprutils", "hyprwayland-scanner": "hyprwayland-scanner", - "nixpkgs": "nixpkgs", + "nixpkgs": "nixpkgs_2", "systems": "systems", "xdph": "xdph" }, @@ -213,6 +231,22 @@ } }, "nixpkgs": { + "locked": { + "lastModified": 1718714799, + "narHash": "sha256-FUZpz9rg3gL8NVPKbqU8ei1VkPLsTIfAJ2fdAf5qjak=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "c00d587b1a1afbf200b1d8f0b0e4ba9deb1c7f0e", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_2": { "locked": { "lastModified": 1719075281, "narHash": "sha256-CyyxvOwFf12I91PBWz43iGT1kjsf5oi6ax7CrvaMyAo=", @@ -228,7 +262,7 @@ "type": "github" } }, - "nixpkgs_2": { + "nixpkgs_3": { "locked": { "lastModified": 1720031269, "narHash": "sha256-rwz8NJZV+387rnWpTYcXaRNvzUSnnF9aHONoJIYmiUQ=", @@ -244,7 +278,7 @@ "type": "github" } }, - "nixpkgs_3": { + "nixpkgs_4": { "locked": { "lastModified": 1716948383, "narHash": "sha256-SzDKxseEcHR5KzPXLwsemyTR/kaM9whxeiJohbL04rs=", @@ -262,11 +296,11 @@ }, "nur": { "locked": { - "lastModified": 1720111126, - "narHash": "sha256-Tl8ut36bbRz4suJ96PCTegfq9iNy9ILQnM+tgyGato8=", + "lastModified": 1720122287, + "narHash": "sha256-yIG/3GoJ1iNAmeRbWCoziKS3ZwKnUA92PmwqWPxVb3s=", "owner": "nix-community", "repo": "NUR", - "rev": "51e238d1713b58ce589b3f0696750222c1aa58ed", + "rev": "cbe0c14a99ad25bf7f4242830be11ede98f46617", "type": "github" }, "original": { @@ -277,9 +311,10 @@ }, "root": { "inputs": { + "ags": "ags", "home-manager": "home-manager", "hyprland": "hyprland", - "nixpkgs": "nixpkgs_2", + "nixpkgs": "nixpkgs_3", "nur": "nur", "split-monitor-workspaces": "split-monitor-workspaces", "waybar": "waybar" @@ -325,7 +360,7 @@ "waybar": { "inputs": { "flake-compat": "flake-compat", - "nixpkgs": "nixpkgs_3" + "nixpkgs": "nixpkgs_4" }, "locked": { "lastModified": 1718393308, diff --git a/flake.nix b/flake.nix index 119e9a2..24c2240 100644 --- a/flake.nix +++ b/flake.nix @@ -22,6 +22,7 @@ ref = "fix/hyprutils"; }; nur.url = "github:nix-community/NUR"; + ags.url = "github:Aylur/ags"; }; outputs = { nixpkgs, home-manager, nur, ... }@inputs: diff --git a/home/ags/default.nix b/home/ags/default.nix new file mode 100644 index 0000000..6813351 --- /dev/null +++ b/home/ags/default.nix @@ -0,0 +1,13 @@ +{ inputs, pkgs, ... }: +{ + imports = [ inputs.ags.homeManagerModules.default ]; + programs.ags = { + enable = true; + configDir = ./files; + extraPackages = with pkgs; [ + gtksourceview + webkitgtk + accountsservice + ]; + }; +} diff --git a/home/ags/files/config.js b/home/ags/files/config.js new file mode 100644 index 0000000..943125c --- /dev/null +++ b/home/ags/files/config.js @@ -0,0 +1,5 @@ +App.config({ + windows: [ + // this is where window definitions will go + ] +}) diff --git a/home/utils/desktop.nix b/home/utils/desktop.nix index a274744..cc61655 100644 --- a/home/utils/desktop.nix +++ b/home/utils/desktop.nix @@ -3,7 +3,7 @@ imports = [ (import ./common.nix { inherit inputs config pkgs; }) (import ../hyprland { inherit inputs pkgs; }) - (import ../waybar { inherit inputs pkgs; }) + (import ../ags { inherit inputs pkgs; }) ../rofi ../alacritty ../kitty @@ -24,6 +24,7 @@ gimp obs-studio inkscape + zip ]; services.kdeconnect = {