nixy/home_packages: add swaysw

This commit is contained in:
Asmir A 2023-10-26 22:48:08 +02:00
parent a0ba9ec680
commit d8e200de3a
4 changed files with 110 additions and 78 deletions

21
flake.lock generated
View File

@ -215,6 +215,7 @@
"peerix": "peerix", "peerix": "peerix",
"simple-nixos-mailserver": "simple-nixos-mailserver", "simple-nixos-mailserver": "simple-nixos-mailserver",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",
"swaysw": "swaysw",
"zremap": "zremap" "zremap": "zremap"
} }
}, },
@ -264,6 +265,26 @@
"type": "github" "type": "github"
} }
}, },
"swaysw": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1698350641,
"narHash": "sha256-Eh0tgCg7sMIp3Q0q8WH+lI03Ilw8ljyzDc74k16GiVQ=",
"ref": "refs/heads/master",
"rev": "ced545f644d2be67877b3b7a5798b11722a95cfd",
"revCount": 1,
"type": "git",
"url": "https://git.project-cloud.net/asmir/swaysw"
},
"original": {
"type": "git",
"url": "https://git.project-cloud.net/asmir/swaysw"
}
},
"systems": { "systems": {
"locked": { "locked": {
"lastModified": 1681028828, "lastModified": 1681028828,

View File

@ -19,6 +19,11 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
swaysw = {
url = "git+https://git.project-cloud.net/asmir/swaysw";
inputs.nixpkgs.follows = "nixpkgs";
};
sops-nix = { sops-nix = {
url = "github:Mic92/sops-nix"; url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -42,6 +47,7 @@
peerix, peerix,
simple-nixos-mailserver, simple-nixos-mailserver,
sops-nix, sops-nix,
swaysw,
zremap, zremap,
... ...
}: let }: let
@ -61,6 +67,7 @@
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.users.akill = import ./home/home.nix; home-manager.users.akill = import ./home/home.nix;
home-manager.extraSpecialArgs = {inherit inputs;};
} }
peerix.nixosModules.peerix peerix.nixosModules.peerix
{ {

View File

@ -2,6 +2,7 @@
pkgs, pkgs,
config, config,
lib, lib,
inputs,
... ...
}: }:
with lib; let with lib; let

View File

@ -1,9 +1,11 @@
{ {
config, config,
pkgs, pkgs,
inputs,
... ...
}: { }: {
home.packages = with pkgs; [ home.packages = with pkgs;
[
alejandra alejandra
appimage-run appimage-run
arp-scan arp-scan
@ -80,5 +82,6 @@
zeal-qt6 zeal-qt6
zig zig
zls zls
]; ]
++ [inputs.swaysw.packages.x86_64-linux.swaysw];
} }