From d8d34387c2cc50c14c663e0793c62b9a35cd452a Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Wed, 3 Jan 2024 12:27:48 +0100 Subject: [PATCH] `swaync` instead of `mako` --- flake.lock | 22 ++++++++++++++++++++++ flake.nix | 6 ++++++ hmModules/hyprland/default.nix | 3 ++- hmModules/swaync/default.nix | 5 +++++ 4 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 hmModules/swaync/default.nix diff --git a/flake.lock b/flake.lock index 9ea7eea..df636b0 100644 --- a/flake.lock +++ b/flake.lock @@ -653,6 +653,27 @@ "type": "github" } }, + "homeManagerSwayNC": { + "inputs": { + "nixpkgs": [ + "nixpkgsUnstable" + ] + }, + "locked": { + "lastModified": 1693438012, + "narHash": "sha256-lna00DqThxBf8tPHK9MTvDpA1wMNwKzSKkZ2dWHEu+c=", + "owner": "rhoriguchi", + "repo": "home-manager", + "rev": "095b525475e0ef0d5d5767014dc7755ce34963d9", + "type": "github" + }, + "original": { + "owner": "rhoriguchi", + "ref": "swaync", + "repo": "home-manager", + "type": "github" + } + }, "kernel-src": { "flake": false, "locked": { @@ -1110,6 +1131,7 @@ "hercules-ci-effects": "hercules-ci-effects_2", "homeManager": "homeManager", "homeManagerGitWorkspace": "homeManagerGitWorkspace", + "homeManagerSwayNC": "homeManagerSwayNC", "nixosHardware": "nixosHardware", "nixpkgsStable": "nixpkgsStable", "nixpkgsUnstable": "nixpkgsUnstable", diff --git a/flake.nix b/flake.nix index 4380a6a..1f8a1e8 100644 --- a/flake.nix +++ b/flake.nix @@ -15,6 +15,11 @@ url = "github:aciceri/home-manager/git-workspace"; inputs.nixpkgs.follows = "nixpkgsUnstable"; }; + # TODO: remove after https://github.com/nix-community/home-manager/pull/4249 + homeManagerSwayNC = { + url = "github:rhoriguchi/home-manager/swaync"; + inputs.nixpkgs.follows = "nixpkgsUnstable"; + }; disko = { url = "github:nix-community/disko"; inputs.nixpkgs.follows = "nixpkgsUnstable"; @@ -29,6 +34,7 @@ nur.url = "github:nix-community/NUR"; agenix.url = "github:ryantm/agenix"; rock5b.url = "github:aciceri/rock5b-nixos"; + # ccrEmacs.url = "ccrEmacs"; ccrEmacs.url = "github:aciceri/emacs"; # ccrEmacs.url = "/home/ccr/.config/emacs"; treefmt-nix = { diff --git a/hmModules/hyprland/default.nix b/hmModules/hyprland/default.nix index 3fa4264..3f70270 100644 --- a/hmModules/hyprland/default.nix +++ b/hmModules/hyprland/default.nix @@ -24,7 +24,8 @@ in { ./hyprpaper.nix ../waybar ../swayidle - ../mako + # ../mako + ../swaync ../gammastep # ../kitty ../wezterm diff --git a/hmModules/swaync/default.nix b/hmModules/swaync/default.nix new file mode 100644 index 0000000..ad3b867 --- /dev/null +++ b/hmModules/swaync/default.nix @@ -0,0 +1,5 @@ +{ + services.swaync = { + enable = true; + }; +}