mirror of
https://github.com/thiloho/nixos-config.git
synced 2025-11-22 03:21:35 +01:00
36 lines
656 B
Nix
36 lines
656 B
Nix
{ inputs, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t480s
|
|
./hardware-configuration.nix
|
|
../shared-desktop.nix
|
|
../shared.nix
|
|
];
|
|
|
|
networking.hostName = "laptop";
|
|
|
|
boot.initrd = {
|
|
luks.devices = {
|
|
cryptroot = {
|
|
device = "/dev/disk/by-uuid/82ba475d-faa1-488f-82c4-77c1b7bb48da";
|
|
};
|
|
};
|
|
};
|
|
|
|
services.mysql = {
|
|
enable = true;
|
|
package = pkgs.mariadb;
|
|
};
|
|
|
|
home-manager.users.thiloho =
|
|
{ pkgs, ... }:
|
|
{
|
|
programs.git.signing.key = "3B62137A89493F7D";
|
|
home = {
|
|
stateVersion = "23.05";
|
|
};
|
|
};
|
|
system.stateVersion = "23.05";
|
|
}
|