hyprgrass

This commit is contained in:
Lilith 2025-03-17 21:04:49 +01:00
parent a22cc6450e
commit 1eb67ac0de
Signed by: lilith
GPG key ID: 8712A0F317C37175
7 changed files with 57 additions and 32 deletions

18
flake.lock generated
View file

@ -341,11 +341,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1741955947, "lastModified": 1742238842,
"narHash": "sha256-2lbURKclgKqBNm7hVRtWh0A7NrdsibD0EaWhahUVhhY=", "narHash": "sha256-Z79yUJi+UGSpRC90NbHyuvBjGLkgEtlZaJ8DtzaGkzE=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "4e12151c9e014e2449e0beca2c0e9534b96a26b4", "rev": "5a6e5a59a4d332edaa7d5d1604eb58ead27af851",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -804,11 +804,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1742209060, "lastModified": 1742239755,
"narHash": "sha256-47/1bOPBGhmAegF06nxLN15d/MClCAkk8s/+WOhJJAM=", "narHash": "sha256-ptn8dR4Uat3UUadGYNnB7CIH9SQm8mK69D2A/twBUXQ=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "b33837ae3cfa012b65810891bebbee71fa4c0658", "rev": "787afce414bcce803b605c510b60bf43c11f4b55",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -845,11 +845,11 @@
"tinted-zed": "tinted-zed" "tinted-zed": "tinted-zed"
}, },
"locked": { "locked": {
"lastModified": 1742040559, "lastModified": 1742234510,
"narHash": "sha256-Hb3aw00C1/5ORiTCASwMd8vcLAl/GNJfyjXZyl/EKpc=", "narHash": "sha256-dQoo4XivjZuJiSi8ePv9CuP0ncE64RLyz2vb46blRx0=",
"owner": "danth", "owner": "danth",
"repo": "stylix", "repo": "stylix",
"rev": "bcc674f1994396137438bac9d905971453d33b12", "rev": "fa288c0dc695b49c9af38614af8da981371fe92a",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,8 +1,9 @@
{ lib, ...}: { { lib, ... }:
{
imports = [ imports = [
./hyprpaper.nix ./hyprpaper.nix
./hyprlock.nix ./hyprlock.nix
# ./hyprgrass.nix ./hyprgrass.nix
# ./utils.nix # ./utils.nix
]; ];
@ -16,15 +17,11 @@
settings = { settings = {
"$terminal" = "alacritty"; "$terminal" = "alacritty";
env = [ env = [ "HYPRCURSOR_THEME,rose-pine-hyprcursor" ];
"HYPRCURSOR_THEME,rose-pine-hyprcursor"
];
xwayland.force_zero_scaling = true; xwayland.force_zero_scaling = true;
monitor = [ monitor = [ ",preferred,1" ];
",preferred,1"
];
exec-once = [ exec-once = [
"hyprlock" "hyprlock"

View file

@ -0,0 +1,4 @@
{ pkgs, hyprgrass, ... }:
{
wayland.windowManager.hyprland.plugins = [ hyprgrass.packages.${pkgs.system}.default ];
}

View file

@ -1,4 +1,5 @@
{...}: { { ... }:
{
nix = { nix = {
gc = { gc = {
automatic = true; automatic = true;
@ -8,8 +9,24 @@
settings = { settings = {
keep-outputs = true; keep-outputs = true;
auto-optimise-store = true; auto-optimise-store = true;
experimental-features = ["nix-command" "flakes"]; experimental-features = [
trusted-users = ["root" "@wheel"]; "nix-command"
"flakes"
];
trusted-users = [
"root"
"@wheel"
];
builders-use-substitutes = true;
}; };
distributedBuilds = true;
buildMachines = [
{
hostName = "lilith-server-builder";
system = "x86_64-linux";
}
];
}; };
} }

View file

@ -1,4 +1,11 @@
{impermanence, conf, lib, config, ...}: { {
impermanence,
conf,
lib,
config,
...
}:
{
imports = [ impermanence.nixosModule ]; imports = [ impermanence.nixosModule ];
environment.persistence."/persist/data" = { environment.persistence."/persist/data" = {
@ -14,13 +21,13 @@
".config/syncthing" ".config/syncthing"
".config/sops" ".config/sops"
".config/keepassxc" ".config/keepassxc"
".config/obsidian"
".config/vesktop" ".config/vesktop"
".gnupg" ".gnupg"
".ssh" ".ssh"
".thunderbird" ".thunderbird"
".mozilla" ".mozilla"
".zen"
"nixos" "nixos"
"sync" "sync"
@ -45,9 +52,7 @@
"/var/lib/systemd/timers" "/var/lib/systemd/timers"
"/var/log" "/var/log"
]; ];
files = [ files = [ "/etc/machine-id" ];
"/etc/machine-id"
];
users.lilith = { users.lilith = {
directories = [ directories = [
@ -55,7 +60,6 @@
".cache/keepassxc" ".cache/keepassxc"
".cargo" ".cargo"
".local/state/wireplumber" ".local/state/wireplumber"
"tmp"
]; ];
files = [ ]; files = [ ];
}; };

View file

@ -14,6 +14,9 @@
PermitRootLogin = "no"; PermitRootLogin = "no";
PasswordAuthentication = false; PasswordAuthentication = false;
}; };
};
programs.ssh = {
extraConfig = '' extraConfig = ''
Host lilith-server-builder Host lilith-server-builder
HostName 2a01:4f9:4a:1ecb::2 HostName 2a01:4f9:4a:1ecb::2

View file

@ -17,7 +17,7 @@
services.dbus.enable = true; services.dbus.enable = true;
programs.hyprland.enable = true; programs.hyprland.enable = true;
programs.hyprland.package = hyprland.packages.${pkgs.stdenv.system}.hyprland; programs.hyprland.package = hyprland.packages.${pkgs.system}.hyprland;
services.greetd = { services.greetd = {
enable = true; enable = true;