2024-03-12 22:14:08 -04:00
|
|
|
# Lenovo Yoga 9i Convertible with Intel Core i7-1360P, 15GB RAM, 512GB SSD.
|
2024-04-07 22:16:33 -04:00
|
|
|
{
|
|
|
|
config,
|
2024-05-24 09:37:37 -04:00
|
|
|
inputs,
|
2024-05-18 08:34:36 -04:00
|
|
|
lib,
|
2024-04-07 22:16:33 -04:00
|
|
|
pkgs,
|
2024-05-24 09:37:37 -04:00
|
|
|
self,
|
2024-04-07 22:16:33 -04:00
|
|
|
...
|
2024-05-23 23:21:23 -04:00
|
|
|
}: {
|
2024-03-24 14:06:24 -04:00
|
|
|
imports = [
|
2024-04-06 11:53:25 -04:00
|
|
|
./disko.nix
|
2024-05-27 21:39:30 -04:00
|
|
|
./hardware.nix
|
2024-03-28 19:52:15 -04:00
|
|
|
./home.nix
|
2024-05-24 09:37:37 -04:00
|
|
|
self.nixosModules.default
|
2024-03-24 14:06:24 -04:00
|
|
|
];
|
2024-03-01 19:50:36 -05:00
|
|
|
|
2024-03-28 16:13:46 -04:00
|
|
|
boot = {
|
|
|
|
# Bootloader.
|
|
|
|
loader.systemd-boot.enable = true;
|
|
|
|
loader.efi.canTouchEfiVariables = true;
|
2024-03-01 19:50:36 -05:00
|
|
|
|
2024-03-28 16:13:46 -04:00
|
|
|
# Use latest Linux kernel.
|
|
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
};
|
2024-03-12 22:10:49 -04:00
|
|
|
|
2024-03-01 21:23:22 -05:00
|
|
|
networking.hostName = "petalburg"; # Define your hostname.
|
2024-03-01 19:50:36 -05:00
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
|
|
|
services.syncthing = {
|
|
|
|
cert = config.age.secrets.syncthingCert.path;
|
|
|
|
key = config.age.secrets.syncthingKey.path;
|
|
|
|
};
|
|
|
|
|
2024-04-18 14:21:33 -04:00
|
|
|
alyraffauf = {
|
|
|
|
system = {
|
|
|
|
plymouth.enable = true;
|
|
|
|
zramSwap = {enable = true;};
|
|
|
|
};
|
|
|
|
user = {
|
2024-04-26 22:55:43 -04:00
|
|
|
aly = {
|
|
|
|
enable = true;
|
2024-05-03 07:18:42 -04:00
|
|
|
password = "$y$j9T$TitXX3J690cnK41XciNMg/$APKHM/os6FKd9H9aXGxaHaQ8zP5SenO9EO94VYafl43";
|
2024-04-26 22:55:43 -04:00
|
|
|
};
|
2024-04-23 18:42:31 -04:00
|
|
|
dustin.enable = false;
|
2024-04-18 14:21:33 -04:00
|
|
|
};
|
|
|
|
desktop = {
|
|
|
|
enable = true;
|
2024-04-26 21:58:52 -04:00
|
|
|
greetd = {
|
|
|
|
enable = true;
|
2024-05-27 21:42:51 -04:00
|
|
|
session = lib.getExe config.programs.hyprland.package;
|
2024-05-03 07:18:42 -04:00
|
|
|
autologin = {
|
|
|
|
enable = true;
|
|
|
|
user = "aly";
|
|
|
|
};
|
2024-04-26 21:58:52 -04:00
|
|
|
};
|
2024-05-26 11:32:20 -04:00
|
|
|
hyprland.enable = true;
|
2024-04-26 21:58:52 -04:00
|
|
|
sway.enable = true;
|
2024-04-18 14:21:33 -04:00
|
|
|
};
|
|
|
|
apps = {
|
|
|
|
steam.enable = true;
|
|
|
|
};
|
2024-05-02 09:08:35 -04:00
|
|
|
scripts = {
|
|
|
|
hoenn.enable = true;
|
|
|
|
};
|
2024-04-26 22:38:29 -04:00
|
|
|
services = {
|
|
|
|
syncthing.enable = true;
|
2024-04-30 14:53:17 -04:00
|
|
|
tailscale.enable = true;
|
2024-04-26 22:38:29 -04:00
|
|
|
};
|
2024-03-28 16:13:46 -04:00
|
|
|
};
|
|
|
|
|
2024-05-03 11:03:50 -04:00
|
|
|
system.stateVersion = "24.05";
|
2024-03-02 13:56:46 -05:00
|
|
|
}
|