Fri 5 Jul 01:33:59 CEST 2024

This commit is contained in:
Thomas Avé 2024-07-05 01:33:59 +02:00
parent 7c025957f3
commit e7d85bec90
5 changed files with 64 additions and 9 deletions

View File

@ -1,5 +1,23 @@
{ {
"nodes": { "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-compat": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -71,7 +89,7 @@
"hyprlang": "hyprlang", "hyprlang": "hyprlang",
"hyprutils": "hyprutils", "hyprutils": "hyprutils",
"hyprwayland-scanner": "hyprwayland-scanner", "hyprwayland-scanner": "hyprwayland-scanner",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs_2",
"systems": "systems", "systems": "systems",
"xdph": "xdph" "xdph": "xdph"
}, },
@ -213,6 +231,22 @@
} }
}, },
"nixpkgs": { "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": { "locked": {
"lastModified": 1719075281, "lastModified": 1719075281,
"narHash": "sha256-CyyxvOwFf12I91PBWz43iGT1kjsf5oi6ax7CrvaMyAo=", "narHash": "sha256-CyyxvOwFf12I91PBWz43iGT1kjsf5oi6ax7CrvaMyAo=",
@ -228,7 +262,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_2": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1720031269, "lastModified": 1720031269,
"narHash": "sha256-rwz8NJZV+387rnWpTYcXaRNvzUSnnF9aHONoJIYmiUQ=", "narHash": "sha256-rwz8NJZV+387rnWpTYcXaRNvzUSnnF9aHONoJIYmiUQ=",
@ -244,7 +278,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_3": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1716948383, "lastModified": 1716948383,
"narHash": "sha256-SzDKxseEcHR5KzPXLwsemyTR/kaM9whxeiJohbL04rs=", "narHash": "sha256-SzDKxseEcHR5KzPXLwsemyTR/kaM9whxeiJohbL04rs=",
@ -262,11 +296,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1720111126, "lastModified": 1720122287,
"narHash": "sha256-Tl8ut36bbRz4suJ96PCTegfq9iNy9ILQnM+tgyGato8=", "narHash": "sha256-yIG/3GoJ1iNAmeRbWCoziKS3ZwKnUA92PmwqWPxVb3s=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "51e238d1713b58ce589b3f0696750222c1aa58ed", "rev": "cbe0c14a99ad25bf7f4242830be11ede98f46617",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -277,9 +311,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",
"nur": "nur", "nur": "nur",
"split-monitor-workspaces": "split-monitor-workspaces", "split-monitor-workspaces": "split-monitor-workspaces",
"waybar": "waybar" "waybar": "waybar"
@ -325,7 +360,7 @@
"waybar": { "waybar": {
"inputs": { "inputs": {
"flake-compat": "flake-compat", "flake-compat": "flake-compat",
"nixpkgs": "nixpkgs_3" "nixpkgs": "nixpkgs_4"
}, },
"locked": { "locked": {
"lastModified": 1718393308, "lastModified": 1718393308,

View File

@ -22,6 +22,7 @@
ref = "fix/hyprutils"; ref = "fix/hyprutils";
}; };
nur.url = "github:nix-community/NUR"; nur.url = "github:nix-community/NUR";
ags.url = "github:Aylur/ags";
}; };
outputs = { nixpkgs, home-manager, nur, ... }@inputs: outputs = { nixpkgs, home-manager, nur, ... }@inputs:

13
home/ags/default.nix Normal file
View File

@ -0,0 +1,13 @@
{ inputs, pkgs, ... }:
{
imports = [ inputs.ags.homeManagerModules.default ];
programs.ags = {
enable = true;
configDir = ./files;
extraPackages = with pkgs; [
gtksourceview
webkitgtk
accountsservice
];
};
}

5
home/ags/files/config.js Normal file
View File

@ -0,0 +1,5 @@
App.config({
windows: [
// this is where window definitions will go
]
})

View File

@ -3,7 +3,7 @@
imports = [ imports = [
(import ./common.nix { inherit inputs config pkgs; }) (import ./common.nix { inherit inputs config pkgs; })
(import ../hyprland { inherit inputs pkgs; }) (import ../hyprland { inherit inputs pkgs; })
(import ../waybar { inherit inputs pkgs; }) (import ../ags { inherit inputs pkgs; })
../rofi ../rofi
../alacritty ../alacritty
../kitty ../kitty
@ -24,6 +24,7 @@
gimp gimp
obs-studio obs-studio
inkscape inkscape
zip
]; ];
services.kdeconnect = { services.kdeconnect = {