flake/hosts/lolcathost/default.nix

60 lines
1.3 KiB
Nix
Raw Normal View History

2026-03-22 23:40:27 +10:00
{
root,
config,
pkgs,
...
}: {
2024-10-30 13:51:36 +10:00
imports = [
2026-02-20 02:18:03 +10:00
./hardware.nix
2025-08-01 13:17:12 +10:00
];
2026-02-09 01:51:30 +10:00
networking.hostName = "lolcathost";
2024-10-30 13:51:36 +10:00
2024-11-07 17:37:15 +10:00
# ----- SERVICES -----
services = {
2025-09-03 00:24:41 +10:00
# dbus = {
# # NOTE: programs.uwsm.enable sets implementation to dbus-broker,
# # NOTE: however this seems to break dbus
# implementation = lib.mkForce "dbus";
# };
2025-08-31 15:11:28 +10:00
2025-08-01 12:32:52 +10:00
# Touchpad support
2024-11-07 17:37:15 +10:00
libinput.enable = true;
};
2024-10-30 13:51:36 +10:00
2026-03-22 23:40:27 +10:00
# users = {
# users = {
# # literally me fr (personal account)
# ilovecry = {
# isNormalUser = true;
# extraGroups = ["wheel"];
# shell = pkgs.bash;
# # hashedPasswordFile = config.sops.secrets.ilovecryPassword.path;
# };
# };
# };
# sops = {
# defaultSopsFile = /${root}/secrets/user.yaml;
# # age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
# secrets = {
# "hashedPassword" = {
# neededForUsers = true;
# };
# "ilovecryPassword" = {
# neededForUsers = true;
# };
# # "gitlab/oauth_token" = {};
# # "tailscale/authkey" = {};
# # "guest_accounts.json" = {};
# # "npmrc" = {
# # owner = "youruser";
# # path = "/home/youruser/.npmrc";
# # };
# };
# };
2024-11-07 17:37:15 +10:00
# DO NOT MODIFY
2024-10-30 13:51:36 +10:00
system.stateVersion = "24.05"; # Did you read the comment?
}