2024-04-18 14:21:33 -04:00
|
|
|
# Framework 13 with 11th gen Intel Core i5, 16GB RAM, 512GB SSD.
|
|
|
|
{
|
|
|
|
config,
|
2024-05-24 09:37:37 -04:00
|
|
|
inputs,
|
|
|
|
lib,
|
2024-04-18 14:21:33 -04:00
|
|
|
pkgs,
|
2024-05-24 09:37:37 -04:00
|
|
|
self,
|
2024-04-18 14:21:33 -04:00
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [
|
|
|
|
./disko.nix
|
2024-05-27 21:39:30 -04:00
|
|
|
./hardware.nix
|
2024-04-18 14:21:33 -04:00
|
|
|
./home.nix
|
2024-05-24 09:37:37 -04:00
|
|
|
self.nixosModules.default
|
2024-04-18 14:21:33 -04:00
|
|
|
];
|
|
|
|
|
|
|
|
boot = {
|
|
|
|
# Bootloader.
|
|
|
|
loader.systemd-boot.enable = true;
|
|
|
|
loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
|
|
|
# Use latest Linux kernel.
|
|
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
};
|
|
|
|
|
|
|
|
networking.hostName = "fallarbor"; # Define your hostname.
|
|
|
|
|
2024-06-09 19:25:55 -04:00
|
|
|
age.secrets = {
|
|
|
|
syncthingCert.file = ../../secrets/hosts + "/${config.networking.hostName}/syncthing/cert.age";
|
|
|
|
syncthingKey.file = ../../secrets/hosts + "/${config.networking.hostName}/syncthing/key.age";
|
|
|
|
};
|
|
|
|
|
2024-04-18 14:21:33 -04:00
|
|
|
services = {
|
|
|
|
fwupd.enable = true;
|
2024-06-09 19:25:55 -04:00
|
|
|
syncthing = {
|
|
|
|
cert = config.age.secrets.syncthingCert.path;
|
|
|
|
key = config.age.secrets.syncthingKey.path;
|
|
|
|
};
|
2024-04-18 14:21:33 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
alyraffauf = {
|
2024-04-21 22:21:20 -04:00
|
|
|
services = {
|
|
|
|
flatpak.enable = true;
|
2024-04-28 13:55:00 -04:00
|
|
|
syncthing = {
|
|
|
|
enable = true;
|
|
|
|
syncMusic = false;
|
|
|
|
};
|
2024-06-09 09:31:17 -04:00
|
|
|
tailscale.enable = true;
|
2024-04-21 22:21:20 -04:00
|
|
|
};
|
2024-04-18 14:21:33 -04:00
|
|
|
system = {
|
|
|
|
plymouth.enable = true;
|
|
|
|
zramSwap = {enable = true;};
|
|
|
|
};
|
|
|
|
user = {
|
2024-04-26 22:55:43 -04:00
|
|
|
aly = {
|
2024-04-28 13:52:02 -04:00
|
|
|
enable = true;
|
2024-05-12 14:31:17 -04:00
|
|
|
password = "$y$j9T$0p6rc4p5sn0LJ/6XyAGP7.$.wmTafwMMscdW1o8kqqoHJP7U8kF.4WBmzzcPYielR3";
|
2024-04-26 22:55:43 -04:00
|
|
|
};
|
|
|
|
dustin = {
|
|
|
|
enable = true;
|
|
|
|
password = "$y$j9T$OXQYhj4IWjRJWWYsSwcqf.$lCcdq9S7m0EAdej9KMHWj9flH8K2pUb2gitNhLTlLG/";
|
|
|
|
};
|
2024-04-18 14:21:33 -04:00
|
|
|
};
|
|
|
|
desktop = {
|
|
|
|
enable = true;
|
2024-04-22 23:14:28 -04:00
|
|
|
greetd.enable = true;
|
2024-04-18 14:21:33 -04:00
|
|
|
hyprland.enable = true;
|
|
|
|
};
|
|
|
|
apps = {
|
|
|
|
steam.enable = true;
|
|
|
|
};
|
2024-05-02 09:08:35 -04:00
|
|
|
scripts = {
|
|
|
|
hoenn.enable = true;
|
|
|
|
};
|
2024-04-18 14:21:33 -04:00
|
|
|
};
|
|
|
|
|
2024-05-03 11:03:50 -04:00
|
|
|
system.stateVersion = "24.05";
|
2024-04-18 14:21:33 -04:00
|
|
|
}
|