nixcfg/hosts/fallarbor/default.nix
Aly Raffauf 5cae43ef51
add 'laptopMode' option and user config (#92)
* aly: special sway and hyprland configs for mauville

* add 'laptopMode' option and config

* nixfmt
2024-08-19 21:40:31 -04:00

68 lines
1.3 KiB
Nix

# Framework 13 with 11th gen Intel Core i5, 16GB RAM, 512GB SSD.
{
config,
lib,
self,
...
}: {
imports = [
../common
./disko.nix
./home.nix
./secrets.nix
./stylix.nix
self.inputs.nixhw.nixosModules.framework-13-intel-11th
];
boot.loader = {
efi.canTouchEfiVariables = true;
systemd-boot.enable = true;
};
environment.variables = {
FLAKE = "https://flakehub.com/f/alyraffauf/nixcfg/*.tar.gz";
GDK_SCALE = "1.5";
};
networking.hostName = "fallarbor";
system.stateVersion = "24.05";
ar = {
apps = {
firefox.enable = true;
steam.enable = true;
};
desktop = {
greetd = {
enable = true;
session = lib.getExe config.programs.sway.package;
};
sway.enable = true;
};
laptopMode = true;
services.flatpak.enable = true;
users = {
aly = {
enable = true;
password = "$y$j9T$0p6rc4p5sn0LJ/6XyAGP7.$.wmTafwMMscdW1o8kqqoHJP7U8kF.4WBmzzcPYielR3";
syncthing = {
enable = true;
certFile = config.age.secrets.syncthingCert.path;
keyFile = config.age.secrets.syncthingKey.path;
syncMusic = false;
};
};
dustin = {
enable = true;
password = "$y$j9T$OXQYhj4IWjRJWWYsSwcqf.$lCcdq9S7m0EAdej9KMHWj9flH8K2pUb2gitNhLTlLG/";
};
};
};
}