mirror of
https://github.com/larstvei/nix-config.git
synced 2025-09-15 11:30:13 +00:00
Add nanostatus
This commit is contained in:
parent
39ee783dfb
commit
557e12aa34
82
flake.lock
82
flake.lock
@ -1,5 +1,49 @@
|
|||||||
{
|
{
|
||||||
"nodes": {
|
"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": {
|
"darwin": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@ -152,6 +196,25 @@
|
|||||||
"type": "github"
|
"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": {
|
"nix-rosetta-builder": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixos-generators": "nixos-generators",
|
"nixos-generators": "nixos-generators",
|
||||||
@ -259,6 +322,22 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"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": {
|
"locked": {
|
||||||
"lastModified": 1755829505,
|
"lastModified": 1755829505,
|
||||||
"narHash": "sha256-4/Jd+LkQ2ssw8luQVkqVs9spDBVE6h/u/hC/tzngsPo=",
|
"narHash": "sha256-4/Jd+LkQ2ssw8luQVkqVs9spDBVE6h/u/hC/tzngsPo=",
|
||||||
@ -279,8 +358,9 @@
|
|||||||
"darwin": "darwin",
|
"darwin": "darwin",
|
||||||
"emacs-larstvei": "emacs-larstvei",
|
"emacs-larstvei": "emacs-larstvei",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
|
"nanostatus": "nanostatus",
|
||||||
"nix-rosetta-builder": "nix-rosetta-builder",
|
"nix-rosetta-builder": "nix-rosetta-builder",
|
||||||
"nixpkgs": "nixpkgs_3",
|
"nixpkgs": "nixpkgs_4",
|
||||||
"zen-browser": "zen-browser"
|
"zen-browser": "zen-browser"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
url = "github:0xc000022070/zen-browser-flake";
|
url = "github:0xc000022070/zen-browser-flake";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
nanostatus.url = "github:larstvei/nanostatus";
|
||||||
emacs-larstvei.url = "github:larstvei/emacs-flake";
|
emacs-larstvei.url = "github:larstvei/emacs-flake";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -30,6 +31,7 @@
|
|||||||
nixpkgs,
|
nixpkgs,
|
||||||
home-manager,
|
home-manager,
|
||||||
nix-rosetta-builder,
|
nix-rosetta-builder,
|
||||||
|
nanostatus,
|
||||||
emacs-larstvei,
|
emacs-larstvei,
|
||||||
zen-browser,
|
zen-browser,
|
||||||
...
|
...
|
||||||
@ -53,6 +55,7 @@
|
|||||||
nixosConfigurations.thinkpad = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.thinkpad = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
|
inherit nanostatus;
|
||||||
inherit emacs-larstvei;
|
inherit emacs-larstvei;
|
||||||
inherit zen-browser;
|
inherit zen-browser;
|
||||||
};
|
};
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
{ pkgs, nanostatus, ... }:
|
||||||
{
|
{
|
||||||
programs.kitty.enable = true;
|
programs.kitty.enable = true;
|
||||||
|
|
||||||
@ -118,6 +119,8 @@
|
|||||||
|
|
||||||
"$mod, D, exec, darkman toggle"
|
"$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)
|
# Text input (macOS-like way of producing Norwegian characters)
|
||||||
"$mod, A, exec, wtype 'å'"
|
"$mod, A, exec, wtype 'å'"
|
||||||
"$mod, O, exec, wtype 'ø'"
|
"$mod, O, exec, wtype 'ø'"
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
|
nanostatus,
|
||||||
emacs-larstvei,
|
emacs-larstvei,
|
||||||
zen-browser,
|
zen-browser,
|
||||||
...
|
...
|
||||||
@ -19,6 +20,7 @@ in
|
|||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
|
inherit nanostatus;
|
||||||
inherit emacs-larstvei;
|
inherit emacs-larstvei;
|
||||||
inherit zen-browser;
|
inherit zen-browser;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user