This commit is contained in:
2025-10-27 04:17:16 +09:00
parent 9029fb4d9f
commit 03eaebefce
6 changed files with 101 additions and 4 deletions
Generated
+70 -1
View File
@@ -1,5 +1,23 @@
{
"nodes": {
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
@@ -100,6 +118,22 @@
"type": "github"
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1759036355,
"narHash": "sha256-0m27AKv6ka+q270dw48KflE0LwQYrO7Fm4/2//KCVWg=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "e9f00bd893984bc8ce46c895c3bf7cac95331127",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"home-manager": "home-manager",
@@ -107,7 +141,8 @@
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable",
"sops-nix": "sops-nix"
"sops-nix": "sops-nix",
"vicinae": "vicinae"
}
},
"sops-nix": {
@@ -127,6 +162,40 @@
"repo": "sops-nix",
"type": "github"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"vicinae": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1761455154,
"narHash": "sha256-cUsZjD4YIFaqW68yTEJ1SY2LBmFRsIiER0MrP1n1U9M=",
"owner": "vicinaehq",
"repo": "vicinae",
"rev": "92a572d68406d41f6cfca6ddb8cc59fc85a38227",
"type": "github"
},
"original": {
"owner": "vicinaehq",
"repo": "vicinae",
"type": "github"
}
}
},
"root": "root",
+3 -1
View File
@@ -10,9 +10,11 @@
sops-nix.url = "github:Mic92/sops-nix";
impermanence.url = "github:nix-community/impermanence";
vicinae.url = "github:vicinaehq/vicinae";
};
outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, nixos-hardware, home-manager, sops-nix, impermanence, ...}:
outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, nixos-hardware, home-manager, sops-nix, impermanence, vicinae, ...}:
let
mkSystem = { host, system, extraModules ? [ ] }:
let
+3 -1
View File
@@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, lib, ... }:
{ config, pkgs, lib, inputs, ... }:
{
imports =
@@ -23,6 +23,8 @@
../../home-manager/moons/default.nix
../../modules/hm/gui.nix
../../home-manager/hosts/x1g9.nix
inputs.vicinae.homeManagerModules.default
../../modules/hm/vicinae.nix
];
};
}
+1 -1
View File
@@ -366,7 +366,7 @@ binds {
// Suggested binds for running programs: terminal, app launcher, screen locker.
Mod+T hotkey-overlay-title="Open a Terminal: alacritty" { spawn "alacritty"; }
Mod+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; }
Mod+D hotkey-overlay-title="Run an Application: vicinae" { spawn "vicinae"; }
Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; }
// Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc.
+19
View File
@@ -0,0 +1,19 @@
{ pkgs, ... }:
{
services.vicinae = {
enable = true;
autoStart = true;
settings = {
faviconService = "twenty";
font.size = 11;
popToRootOnClose = false;
rootSearch.searchFiles = false;
theme.name = "vicinae-dark";
window = {
csd = true;
opacity = 0.95;
rounding = 10;
};
};
};
}
+5
View File
@@ -20,4 +20,9 @@
# basic network setting
networking.networkmanager.enable = true;
nix.settings = {
extra-substituters = [ "https://vicinae.cachix.org" ];
extra-trusted-public-keys = [ "vicinae.cachix.org-1:1kDrfienkGHPYbkpNj1mWTr7Fm1+zcenzgTizIcI3oc=" ];
};
}