nixcfg/hosts/petalburg/default.nix

74 lines
1.7 KiB
Nix
Raw Normal View History

# Lenovo Yoga 9i Convertible with Intel Core i7-1360P, 16GB RAM, 512GB SSD.
2024-04-07 22:16:33 -04:00
{
config,
self,
2024-04-07 22:16:33 -04:00
...
}: {
2024-03-24 14:06:24 -04:00
imports = [
../common
./disko.nix
2024-03-28 19:52:15 -04:00
./home.nix
2024-07-22 19:56:56 -04:00
./secrets.nix
self.inputs.nixhw.nixosModules.lenovo-yoga-9i-intel-13th
2024-03-24 14:06:24 -04:00
];
2024-03-01 19:50:36 -05:00
boot.loader = {
efi.canTouchEfiVariables = true;
systemd-boot.enable = true;
};
2024-03-12 22:10:49 -04:00
2024-07-07 22:23:19 -04:00
environment.variables.GDK_SCALE = "2";
networking.hostName = "petalburg";
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;
});
})
];
system.stateVersion = "24.05";
2024-03-01 19:50:36 -05:00
ar = {
2024-06-28 21:07:20 -04:00
apps = {
firefox.enable = true;
podman.enable = true;
steam.enable = true;
};
desktop = {
greetd = {
enable = true;
autologin = "aly";
};
2024-05-26 11:32:20 -04:00
hyprland.enable = true;
};
users.aly = {
enable = true;
password = "$y$j9T$TitXX3J690cnK41XciNMg/$APKHM/os6FKd9H9aXGxaHaQ8zP5SenO9EO94VYafl43";
syncthing = {
enable = true;
certFile = config.age.secrets.syncthingCert.path;
keyFile = config.age.secrets.syncthingKey.path;
};
};
};
2024-03-02 13:56:46 -05:00
}