2024-06-22 12:10:36 -04:00
|
|
|
# Lenovo Yoga 9i Convertible with Intel Core i7-1360P, 16GB RAM, 512GB SSD.
|
2024-04-07 22:16:33 -04:00
|
|
|
{
|
|
|
|
config,
|
2024-08-24 15:25:41 -04:00
|
|
|
lib,
|
2024-07-09 19:17:53 -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-03-28 19:52:15 -04:00
|
|
|
./home.nix
|
2024-07-22 19:56:56 -04:00
|
|
|
./secrets.nix
|
2024-08-15 15:55:39 -04:00
|
|
|
./stylix.nix
|
2024-09-23 23:59:07 -04:00
|
|
|
(import ./../../disko/luks-btrfs-subvolumes.nix {disks = ["/dev/nvme0n1"];})
|
2024-08-22 07:46:19 -04:00
|
|
|
self.nixosModules.common-auto-upgrade
|
|
|
|
self.nixosModules.common-base
|
2024-08-22 09:09:30 -04:00
|
|
|
self.nixosModules.common-locale
|
2024-08-22 07:46:19 -04:00
|
|
|
self.nixosModules.common-mauville-share
|
|
|
|
self.nixosModules.common-nix
|
|
|
|
self.nixosModules.common-overlays
|
|
|
|
self.nixosModules.common-pkgs
|
|
|
|
self.nixosModules.common-tailscale
|
|
|
|
self.nixosModules.common-wifi-profiles
|
2024-09-27 10:21:18 -04:00
|
|
|
self.nixosModules.hw-lenovo-yoga-9i-intel-13th
|
2024-03-24 14:06:24 -04:00
|
|
|
];
|
2024-03-01 19:50:36 -05:00
|
|
|
|
2024-08-19 11:46:17 -04:00
|
|
|
boot = {
|
2024-08-24 15:25:41 -04:00
|
|
|
initrd.systemd.enable = true;
|
2024-08-19 11:46:17 -04:00
|
|
|
extraModulePackages = with config.boot.kernelPackages; [acpi_call];
|
|
|
|
|
2024-08-24 15:25:41 -04:00
|
|
|
lanzaboote = {
|
|
|
|
enable = true;
|
|
|
|
pkiBundle = "/etc/secureboot";
|
|
|
|
};
|
|
|
|
|
2024-08-19 11:46:17 -04:00
|
|
|
loader = {
|
|
|
|
efi.canTouchEfiVariables = true;
|
2024-08-24 15:25:41 -04:00
|
|
|
systemd-boot.enable = lib.mkForce false;
|
2024-08-19 11:46:17 -04:00
|
|
|
};
|
2024-03-28 16:13:46 -04:00
|
|
|
};
|
2024-03-12 22:10:49 -04:00
|
|
|
|
2024-07-07 22:23:19 -04:00
|
|
|
environment.variables.GDK_SCALE = "2";
|
2024-06-22 12:10:36 -04:00
|
|
|
networking.hostName = "petalburg";
|
2024-07-07 23:54:00 -04:00
|
|
|
|
|
|
|
nixpkgs.overlays = [
|
|
|
|
(final: prev: {
|
|
|
|
brave = prev.brave.override {commandLineArgs = "--gtk-version=4 --enable-wayland-ime";};
|
|
|
|
|
|
|
|
obsidian = prev.obsidian.overrideAttrs (old: {
|
|
|
|
installPhase =
|
|
|
|
builtins.replaceStrings ["--ozone-platform=wayland"]
|
|
|
|
["--ozone-platform=wayland --enable-wayland-ime"]
|
|
|
|
old.installPhase;
|
|
|
|
});
|
|
|
|
|
|
|
|
vscodium = prev.vscodium.override {commandLineArgs = "--enable-wayland-ime";};
|
|
|
|
|
|
|
|
webcord = prev.webcord.overrideAttrs (old: {
|
|
|
|
installPhase =
|
|
|
|
builtins.replaceStrings ["--ozone-platform-hint=auto"]
|
|
|
|
["--ozone-platform-hint=auto --enable-wayland-ime"]
|
|
|
|
old.installPhase;
|
|
|
|
});
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2024-06-22 12:10:36 -04:00
|
|
|
system.stateVersion = "24.05";
|
2024-03-01 19:50:36 -05:00
|
|
|
|
2024-06-26 22:13:02 -04:00
|
|
|
ar = {
|
2024-06-28 21:07:20 -04:00
|
|
|
apps = {
|
|
|
|
firefox.enable = true;
|
|
|
|
podman.enable = true;
|
|
|
|
steam.enable = true;
|
|
|
|
};
|
2024-06-22 12:10:36 -04:00
|
|
|
|
2024-04-18 14:21:33 -04:00
|
|
|
desktop = {
|
2024-08-24 15:25:41 -04:00
|
|
|
greetd.enable = true;
|
2024-07-23 17:04:23 -04:00
|
|
|
hyprland.enable = true;
|
2024-07-25 08:42:28 -04:00
|
|
|
sway.enable = true;
|
2024-04-18 14:21:33 -04:00
|
|
|
};
|
2024-06-22 12:10:36 -04:00
|
|
|
|
2024-08-19 21:40:31 -04:00
|
|
|
laptopMode = true;
|
|
|
|
|
2024-08-24 11:55:42 -04:00
|
|
|
services.flatpak.enable = true;
|
|
|
|
|
2024-06-22 12:10:36 -04:00
|
|
|
users.aly = {
|
|
|
|
enable = true;
|
|
|
|
password = "$y$j9T$TitXX3J690cnK41XciNMg/$APKHM/os6FKd9H9aXGxaHaQ8zP5SenO9EO94VYafl43";
|
2024-07-08 01:29:09 -04:00
|
|
|
syncthing = {
|
|
|
|
enable = true;
|
|
|
|
certFile = config.age.secrets.syncthingCert.path;
|
|
|
|
keyFile = config.age.secrets.syncthingKey.path;
|
|
|
|
};
|
2024-06-22 12:10:36 -04:00
|
|
|
};
|
|
|
|
};
|
2024-03-02 13:56:46 -05:00
|
|
|
}
|