mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 07:53:55 -05:00
Aly Raffauf
a844e2ff68
* hosts: mv common.nix -> common/default.nix * hosts/common: move wifi settings to wifi.nix * hosts/common: add locale.nix, nix.nix, samba.nix, and secrets.nix * hosts/common: move network and wifi settings to network.nix * hosts/common: org fixes
54 lines
1.1 KiB
Nix
54 lines
1.1 KiB
Nix
# Lenovo Thinkpad T440p with a Core i5 4210M, 16GB RAM, 512GB SSD.
|
|
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
self,
|
|
...
|
|
}: {
|
|
imports = [
|
|
../common
|
|
./disko.nix
|
|
./home.nix
|
|
self.inputs.nixhw.nixosModules.thinkpad-t440p
|
|
];
|
|
|
|
age.secrets = {
|
|
syncthingCert.file = ../../secrets/syncthing/rustboro/cert.age;
|
|
syncthingKey.file = ../../secrets/syncthing/rustboro/key.age;
|
|
};
|
|
|
|
boot.loader = {
|
|
efi.canTouchEfiVariables = true;
|
|
systemd-boot.enable = true;
|
|
};
|
|
|
|
environment.variables.GDK_SCALE = "1.25";
|
|
networking.hostName = "rustboro";
|
|
system.stateVersion = "24.05";
|
|
zramSwap.memoryPercent = 100;
|
|
|
|
ar = {
|
|
apps.firefox.enable = true;
|
|
|
|
desktop = {
|
|
greetd = {
|
|
enable = true;
|
|
autologin = "aly";
|
|
};
|
|
|
|
hyprland.enable = true;
|
|
};
|
|
|
|
users.aly = {
|
|
enable = true;
|
|
password = "$y$j9T$VdtiEyMOegHpcUwgmCVFD0$K8Ne6.zk//VJNq2zxVQ0xE0Wg3LohvAQd3Xm9aXdM15";
|
|
syncthing = {
|
|
enable = true;
|
|
certFile = config.age.secrets.syncthingCert.path;
|
|
keyFile = config.age.secrets.syncthingKey.path;
|
|
};
|
|
};
|
|
};
|
|
}
|