mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 14:31:54 -05:00
Aly Raffauf
5cae43ef51
* aly: special sway and hyprland configs for mauville * add 'laptopMode' option and config * nixfmt
62 lines
1.2 KiB
Nix
62 lines
1.2 KiB
Nix
# Framework Laptop 13 with AMD Ryzen 7640U, 32GB RAM, 1TB SSD.
|
|
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
self,
|
|
...
|
|
}: {
|
|
imports = [
|
|
../common
|
|
./disko.nix
|
|
./home.nix
|
|
./secrets.nix
|
|
./stylix.nix
|
|
self.inputs.nixhw.nixosModules.framework-13-amd-7000
|
|
];
|
|
|
|
boot = {
|
|
kernelPackages = lib.mkForce pkgs.linuxPackages_6_9;
|
|
|
|
loader = {
|
|
efi.canTouchEfiVariables = true;
|
|
systemd-boot.enable = true;
|
|
};
|
|
};
|
|
|
|
environment.variables.GDK_SCALE = "1.5";
|
|
networking.hostName = "lavaridge";
|
|
system.stateVersion = "24.05";
|
|
|
|
ar = {
|
|
apps = {
|
|
firefox.enable = true;
|
|
podman.enable = true;
|
|
steam.enable = true;
|
|
virt-manager.enable = true;
|
|
};
|
|
|
|
desktop = {
|
|
greetd = {
|
|
enable = true;
|
|
autologin = "aly";
|
|
};
|
|
|
|
hyprland.enable = true;
|
|
sway.enable = true;
|
|
};
|
|
|
|
laptopMode = true;
|
|
|
|
users.aly = {
|
|
enable = true;
|
|
password = "$y$j9T$NSS7QcEtN4yiigPyofwlI/$nxdgz0lpySa0heDMjGlHe1gX3BWf48jK6Tkfg4xMEs6";
|
|
syncthing = {
|
|
enable = true;
|
|
certFile = config.age.secrets.syncthingCert.path;
|
|
keyFile = config.age.secrets.syncthingKey.path;
|
|
};
|
|
};
|
|
};
|
|
}
|