59 lines
1.3 KiB
Nix
Executable file
59 lines
1.3 KiB
Nix
Executable file
{
|
|
root,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [
|
|
./hardware.nix
|
|
];
|
|
|
|
networking.hostName = "lolcathost";
|
|
|
|
# ----- SERVICES -----
|
|
services = {
|
|
# dbus = {
|
|
# # NOTE: programs.uwsm.enable sets implementation to dbus-broker,
|
|
# # NOTE: however this seems to break dbus
|
|
# implementation = lib.mkForce "dbus";
|
|
# };
|
|
|
|
# Touchpad support
|
|
libinput.enable = true;
|
|
};
|
|
|
|
# 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";
|
|
# # };
|
|
# };
|
|
# };
|
|
|
|
# DO NOT MODIFY
|
|
system.stateVersion = "24.05"; # Did you read the comment?
|
|
}
|