Compare commits

..

No commits in common. "0ab5043bf0ea2fced0fc579920d6b9cb37025a7e" and "56ea69ea23b79ea96f88af7b63444466a230e597" have entirely different histories.

12 changed files with 40 additions and 176 deletions

18
flake.lock generated
View file

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

View file

@ -1,16 +1,13 @@
{ hyprland, ... }: { lib, ...}: {
{
imports = [ imports = [
hyprland.homeManagerModules.default
./hyprpaper.nix ./hyprpaper.nix
./hyprlock.nix ./hyprlock.nix
./hyprgrass.nix # ./hyprgrass.nix
# ./utils.nix # ./utils.nix
]; ];
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
# package = hyprland.packages.${pkgs.system}.hyprland;
xwayland.enable = true; xwayland.enable = true;
@ -19,11 +16,15 @@
settings = { settings = {
"$terminal" = "alacritty"; "$terminal" = "alacritty";
env = [ "HYPRCURSOR_THEME,rose-pine-hyprcursor" ]; env = [
"HYPRCURSOR_THEME,rose-pine-hyprcursor"
];
xwayland.force_zero_scaling = true; xwayland.force_zero_scaling = true;
monitor = [ ",preferred,1" ]; monitor = [
",preferred,1"
];
exec-once = [ exec-once = [
"hyprlock" "hyprlock"

View file

@ -1,23 +0,0 @@
{
config,
lib,
pkgs,
hyprgrass,
...
}:
{
options.desktop.touchSupport = lib.mkEnableOption "Enables touch-related features";
config.wayland.windowManager.hyprland = lib.mkIf config.desktop.touchSupport {
plugins = [ hyprgrass.packages.${pkgs.system}.default ];
settings.plugin.touch_gestures = {
sensitivity = 2.0;
workspace_swipe_fingers = 3;
workspace_swipe_edge = "d";
long_press_delay = 500;
resize_on_border_long_press = true;
edge_margin = 20;
};
};
}

View file

@ -1,5 +1,4 @@
{ lib, ... }: { config, lib, ...}:{
{
programs.hyprlock = { programs.hyprlock = {
enable = true; enable = true;
@ -27,7 +26,7 @@
input-field = [ input-field = [
{ {
size = "30%, 5%"; size = "800, 80";
position = "0, 0"; position = "0, 0";
monitor = ""; monitor = "";
dots_center = true; dots_center = true;
@ -40,25 +39,6 @@
shadow_passes = 2; shadow_passes = 2;
} }
]; ];
label = [
{
text = "Welcome!";
position = "0, 20%";
font_size = 40;
font_family = "JetBrains Mono";
halign = "center";
valign = "center";
}
{
text = "$TIME";
position = "0, 15%";
font_size = 25;
font_family = "JetBrains Mono";
halign = "center";
valign = "center";
}
];
}; };
}; };
} }

View file

@ -1,5 +1,4 @@
{ ... }: {...}: {
{
stylix.targets = { stylix.targets = {
firefox.enable = true; firefox.enable = true;
}; };

View file

@ -6,8 +6,6 @@ in
system.stateVersion = "24.11"; system.stateVersion = "24.11";
desktop.enable = true; desktop.enable = true;
home-manager.users."lilith".desktop.touchSupport = true;
gaming.enable = false; gaming.enable = false;
nfs.client.enable = true; nfs.client.enable = true;
auto_styling.enable = true; auto_styling.enable = true;

View file

@ -1,44 +0,0 @@
ssh:
nixremote:
public: ENC[AES256_GCM,data:cpgaIleEj+S0AdPnZQ0HeOS44SZNRljSCzi2uzMfA/vb4rmXWPqE+Yh0yG+UD0UThEYmVkZnvK5JNps2lTvp3Dqo92rYLQrn14vFP8yCQMU=,iv:9R5n3yE5yx0JLESRqax2ZWuYFR2XT1Xd882BU/SnAdQ=,tag:IIykViHleEO2lgu1Tjz5pw==,type:str]
private: ENC[AES256_GCM,data:7nT/pKf9rfUDQrRgXH/trJ7jv7C+1L71ZiAWK8uKbfYyonHzq3EJZ5hjSiP+9NFa1qoisL3JH/cv5kuDR8FZFLVTv0+oLW55YPD7SOAzVAeL45cnHzgaVvz7CCikve3ZtGHKurqyUcN7MXKDOqwnuQ1tcvzhAmfDBWwbnheUylmokBq20+eivjQ7AGt1lc0e0J2tpEZDdlUOrVFQd0QdoGBGOnadh/yA6fARfZb9oOYryooV1cGhlzoJNQ9/jXEasIDN+GDaNRpvXK5bvWKBNVmNF4QLnt9wJjIVfnpG6IrJJ2yduecgwAFnKj5Gn7NAkJ9RJzE0ysHLWYnIZWm8TGaBaphQLsmd6VJ/47nAiwfAGVoaCWI45lAFwEu9eEdbZn9joQvBFGsE6TEBbjb/JDWSzHFFwFDHNsApIs0w1FN6qEea2BoI6VINgwgzzcyV7XJNPqHd9KFQSSe7eqKAl6OiCGRxrF2pLzTohX/NCDkorkfdDLJ/DlEe+8B+Qe+IGDNtnbzLGDftI+GWYsSyjrUwGXcTSq1meIBB,iv:UBQb9m85xeYioV7VDi5tr7T75MTG9yddBMXASRwvq3A=,tag:1fkwUF1ZuvxNU6ntoXGk0w==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age:
- recipient: age1mqw75xvd2gnhx2wsmkr8yctegjfym6xkypwjh82s3yws2glk4vms3cxqaz
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSA3U1h5dy8xRkc5YUY2Si91
dU81eEtjTzVDa2N2My9ycmp1aFRweHcwcTJjClJhY1laNmp5ZG9VN1UwTGdGMVZo
N1luQldHNzBYb2dpRGQrbkFwc1V4YUEKLS0tIGxzQU9QUHVzWWt5UnNLT0lYMnpJ
TnFFQXNEUDZTdVlOVkV2RVQyaWRRcEUKb/3gZ4lIfWeb6fXcUgdizdG158tpv0hm
objc1wG5HjIGiIZoJSvGmI5PnZzmKf8LFjMMfUP2m2JUVpOFKL2baQ==
-----END AGE ENCRYPTED FILE-----
- recipient: age1pyav93usza3s363g56687yxh9jmp364w32gs77le7t0cgg7jveyq4zcl6v
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSB2S0pYL1kwZ2M4VkZWQ3Bl
WHdUUDJjOVQ3TkZWRDVGMkJoTnJPWkRWQlM0Cks1SVAwV0M3K3dHRkNHd3JvSEFF
QzNCa0ZFWWRLdkhOY0UrZHJNTVFrZEkKLS0tIGtaM2QwK1V3TUxlYkRyWTM3THls
endmMkVMRjgvb05ycS9SamFOUk54QVUKB7eaUO/4Ttxjtt3/ZoryQiHeodnTcqHy
7Z4xQ21bWqDK3Bw/IaYsMEu1GJ5ZR7KcNENnuoU8wza3ymLv60Xzgw==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2025-03-17T17:44:37Z"
mac: ENC[AES256_GCM,data:ws3pqokNCWVxXgXOFI8mDZQ9XTY1G8WZEEVzk3mD/+ERynLoD4xcPHL5tu3EisPBNIe90olnQy7/FwN8ZOkUl7UWjTPfCOPBqpY8P253YHz5mSdBp3U+9x16nbQHXH2InTzQQwbj7Z2Uz6kzz7Tk8tg8x+zli8lqWwFdpqv7p2k=,iv:Eqw4Q4Yy8/Yq8avXJ3na3lnu275YLvnacjluB++ta54=,tag:FcJDDJtPLm4pCG7ZKWCK0Q==,type:str]
pgp:
- created_at: "2025-03-17T17:42:02Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hF4DCgMW7d7co2gSAQdA6aDjYqTJFftxYboMahLPLvKcqzy++N+t6iKVR0J0k2sw
HroxiisYugH8mXue6VkCprlXiNt0M61gDLK1EeiUpN3FqqTxkKiKzF/kQRTrHJGU
0l4BwaRyJyL+2Of0SwmB8rKfeVqSGW/PExZnrRrTRYxqxxaZwqNHqFxlQBC+COBg
u/h2KP2NCz5O5Pt1rjPWxlLcz0TsxPH8a4HiBQfmiwM91dowvq+6mWVcwW5NAmf5
=EnO5
-----END PGP MESSAGE-----
fp: 3586D8D6689B9C9ECD598C588712A0F317C37175
unencrypted_suffix: _unencrypted
version: 3.9.4

View file

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

View file

@ -1,12 +1,5 @@
{ {impermanence, conf, lib, config, ...}: {
impermanence, imports = [impermanence.nixosModule];
conf,
lib,
config,
...
}:
{
imports = [ impermanence.nixosModule ];
environment.persistence."/persist/data" = { environment.persistence."/persist/data" = {
hideMounts = true; hideMounts = true;
@ -14,20 +7,20 @@
"/etc/NetworkManager/system-connections" "/etc/NetworkManager/system-connections"
"/var/lib/bluetooth" "/var/lib/bluetooth"
]; ];
files = [ ]; files = [];
users.lilith = { users.lilith = {
directories = [ directories = [
".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"
@ -38,7 +31,7 @@
".local/share/lutris" ".local/share/lutris"
".local/share/games" ".local/share/games"
]; ];
files = [ ]; files = [];
}; };
}; };
@ -52,7 +45,9 @@
"/var/lib/systemd/timers" "/var/lib/systemd/timers"
"/var/log" "/var/log"
]; ];
files = [ "/etc/machine-id" ]; files = [
"/etc/machine-id"
];
users.lilith = { users.lilith = {
directories = [ directories = [
@ -60,8 +55,9 @@
".cache/keepassxc" ".cache/keepassxc"
".cargo" ".cargo"
".local/state/wireplumber" ".local/state/wireplumber"
"tmp"
]; ];
files = [ ]; files = [];
}; };
}; };
} }

View file

@ -1,27 +1,11 @@
{ ... }: {...}: {
{ networking.firewall.allowedTCPPorts = [22];
networking.firewall.allowedTCPPorts = [ 22 ];
sops.secrets."ssh/nixremote/private" = {
sopsFile = ../../secrets/default.yaml;
path = "/root/.ssh/nixremote";
};
services.openssh = { services.openssh = {
enable = true; enable = true;
ports = [ 22 ]; ports = [22];
settings = { settings = {
PermitRootLogin = "no"; PermitRootLogin = "no";
PasswordAuthentication = false; PasswordAuthentication = false;
}; };
}; };
programs.ssh = {
extraConfig = ''
Host lilith-server-builder
HostName 2a01:4f9:4a:1ecb::2
User nixremote
IdentityFile /root/.ssh/nixremote
'';
};
} }

View file

@ -1,23 +1,15 @@
{ { config, lib, ...}: {
config,
lib,
pkgs,
hyprland,
...
}:
{
options.desktop.enable = lib.mkEnableOption "Enable Wayland compositor with hyprland login"; options.desktop.enable = lib.mkEnableOption "Enable Wayland compositor with hyprland login";
config = lib.mkIf config.desktop.enable { config = lib.mkIf config.desktop.enable {
hardware.graphics.enable = true; hardware.graphics.enable = true;
security.polkit.enable = true; security.polkit.enable = true;
security.pam.services.hyprlock = { }; security.pam.services.hyprlock = {};
services.dbus.enable = true; services.dbus.enable = true;
programs.hyprland.enable = true; programs.hyprland.enable = true;
programs.hyprland.package = hyprland.packages.${pkgs.system}.hyprland;
services.greetd = { services.greetd = {
enable = true; enable = true;

View file

@ -54,7 +54,6 @@
cursor = { cursor = {
package = pkgs.rose-pine-cursor; package = pkgs.rose-pine-cursor;
name = "Rosé Pine"; name = "Rosé Pine";
size = 10;
}; };
}; };
}; };