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

View file

@ -1,9 +1,10 @@
{ lib, ...}: {
{ lib, ... }:
{
imports = [
./hyprpaper.nix
./hyprlock.nix
# ./hyprgrass.nix
# ./utils.nix
./hyprgrass.nix
# ./utils.nix
];
wayland.windowManager.hyprland = {
@ -16,15 +17,11 @@
settings = {
"$terminal" = "alacritty";
env = [
"HYPRCURSOR_THEME,rose-pine-hyprcursor"
];
env = [ "HYPRCURSOR_THEME,rose-pine-hyprcursor" ];
xwayland.force_zero_scaling = true;
monitor = [
",preferred,1"
];
monitor = [ ",preferred,1" ];
exec-once = [
"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 = {
gc = {
automatic = true;
@ -8,8 +9,24 @@
settings = {
keep-outputs = true;
auto-optimise-store = true;
experimental-features = ["nix-command" "flakes"];
trusted-users = ["root" "@wheel"];
experimental-features = [
"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,5 +1,12 @@
{impermanence, conf, lib, config, ...}: {
imports = [impermanence.nixosModule];
{
impermanence,
conf,
lib,
config,
...
}:
{
imports = [ impermanence.nixosModule ];
environment.persistence."/persist/data" = {
hideMounts = true;
@ -7,20 +14,20 @@
"/etc/NetworkManager/system-connections"
"/var/lib/bluetooth"
];
files = [];
files = [ ];
users.lilith = {
directories = [
".config/syncthing"
".config/sops"
".config/keepassxc"
".config/obsidian"
".config/vesktop"
".gnupg"
".ssh"
".thunderbird"
".mozilla"
".zen"
"nixos"
"sync"
@ -31,7 +38,7 @@
".local/share/lutris"
".local/share/games"
];
files = [];
files = [ ];
};
};
@ -45,9 +52,7 @@
"/var/lib/systemd/timers"
"/var/log"
];
files = [
"/etc/machine-id"
];
files = [ "/etc/machine-id" ];
users.lilith = {
directories = [
@ -55,9 +60,8 @@
".cache/keepassxc"
".cargo"
".local/state/wireplumber"
"tmp"
];
files = [];
files = [ ];
};
};
}

View file

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

View file

@ -17,7 +17,7 @@
services.dbus.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 = {
enable = true;