nixos/system/Monarch.nix

32 lines
797 B
Nix
Raw Normal View History

{ pkgs, username, ... }:
2024-07-30 15:06:34 +01:00
{
imports = [
./laptop.nix
./work.nix
];
home-manager.users.${username} = {
home.stateVersion = "23.05";
2024-10-30 14:56:22 +00:00
wayland.windowManager.hyprland.settings.monitor = [
"eDP-1,preferred,auto,1.25"
2024-10-30 16:32:47 +00:00
"desc:Dell Inc. DELL P3223QE CCG8YN3,preferred,auto-left,1.5"
2024-10-30 14:56:22 +00:00
];
};
boot.initrd = {
2024-07-30 15:06:34 +01:00
secrets = {
"/crypto_keyfile.bin" = null;
};
luks.devices."luks-761eeb11-3091-4142-9232-4fb33165eccd" = {
device = "/dev/disk/by-uuid/761eeb11-3091-4142-9232-4fb33165eccd";
keyFile = "/crypto_keyfile.bin";
};
};
system.stateVersion = "23.05";
environment = {
etc."ppp/options".text = ''
ipcp-accept-remote
'';
2024-07-30 15:06:34 +01:00
systemPackages = with pkgs; [ openfortivpn ];
};
2024-10-18 16:15:16 +01:00
services.hardware.bolt.enable = true;
}