Add nanostatus

This commit is contained in:
larstvei 2025-09-09 00:51:32 +02:00
parent 39ee783dfb
commit 557e12aa34
4 changed files with 89 additions and 1 deletions

View File

@ -1,5 +1,49 @@
{
"nodes": {
"ags": {
"inputs": {
"astal": "astal",
"nixpkgs": [
"nanostatus",
"nixpkgs"
]
},
"locked": {
"lastModified": 1756487002,
"narHash": "sha256-hN9RfNXy53qAkT68T+IYZpl68uE1uPOVMkw0MqC43KA=",
"owner": "aylur",
"repo": "ags",
"rev": "8ff792dba6cc82eed10e760f551075564dd0a407",
"type": "github"
},
"original": {
"owner": "aylur",
"repo": "ags",
"type": "github"
}
},
"astal": {
"inputs": {
"nixpkgs": [
"nanostatus",
"ags",
"nixpkgs"
]
},
"locked": {
"lastModified": 1752404970,
"narHash": "sha256-XULTToDUkIshNXEO+YP2mAHdQv8bxWDvKjbamBfOC8E=",
"owner": "aylur",
"repo": "astal",
"rev": "2c5eb54f39e1710c6e2c80915a240978beb3269a",
"type": "github"
},
"original": {
"owner": "aylur",
"repo": "astal",
"type": "github"
}
},
"darwin": {
"inputs": {
"nixpkgs": [
@ -152,6 +196,25 @@
"type": "github"
}
},
"nanostatus": {
"inputs": {
"ags": "ags",
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1757371422,
"narHash": "sha256-4EEIRJE52cACFG2ik/+pU5vh8CKShwKLSSTaivGouGM=",
"owner": "larstvei",
"repo": "nanostatus",
"rev": "af0dc80af18569becbf40c77ac7380c2efc6bef6",
"type": "github"
},
"original": {
"owner": "larstvei",
"repo": "nanostatus",
"type": "github"
}
},
"nix-rosetta-builder": {
"inputs": {
"nixos-generators": "nixos-generators",
@ -259,6 +322,22 @@
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1756542300,
"narHash": "sha256-tlOn88coG5fzdyqz6R93SQL5Gpq+m/DsWpekNFhqPQk=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "d7600c775f877cd87b4f5a831c28aa94137377aa",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_4": {
"locked": {
"lastModified": 1755829505,
"narHash": "sha256-4/Jd+LkQ2ssw8luQVkqVs9spDBVE6h/u/hC/tzngsPo=",
@ -279,8 +358,9 @@
"darwin": "darwin",
"emacs-larstvei": "emacs-larstvei",
"home-manager": "home-manager",
"nanostatus": "nanostatus",
"nix-rosetta-builder": "nix-rosetta-builder",
"nixpkgs": "nixpkgs_3",
"nixpkgs": "nixpkgs_4",
"zen-browser": "zen-browser"
}
},

View File

@ -21,6 +21,7 @@
url = "github:0xc000022070/zen-browser-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
nanostatus.url = "github:larstvei/nanostatus";
emacs-larstvei.url = "github:larstvei/emacs-flake";
};
@ -30,6 +31,7 @@
nixpkgs,
home-manager,
nix-rosetta-builder,
nanostatus,
emacs-larstvei,
zen-browser,
...
@ -53,6 +55,7 @@
nixosConfigurations.thinkpad = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
inherit nanostatus;
inherit emacs-larstvei;
inherit zen-browser;
};

View File

@ -1,3 +1,4 @@
{ pkgs, nanostatus, ... }:
{
programs.kitty.enable = true;
@ -118,6 +119,8 @@
"$mod, D, exec, darkman toggle"
"$mod, space, exec, ${nanostatus.packages.${pkgs.system}.default}/bin/nanostatus-toggle"
# Text input (macOS-like way of producing Norwegian characters)
"$mod, A, exec, wtype 'å'"
"$mod, O, exec, wtype 'ø'"

View File

@ -1,5 +1,6 @@
{
pkgs,
nanostatus,
emacs-larstvei,
zen-browser,
...
@ -19,6 +20,7 @@ in
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {
inherit nanostatus;
inherit emacs-larstvei;
inherit zen-browser;
};