nix/hosts/deadbeef/default.nix
2024-08-27 21:59:21 +02:00

66 lines
1.7 KiB
Nix

{
config,
pkgs,
lib,
home-manager,
...
}:
{
imports = [
./hardware-configuration.nix
# home-manager.nixosModules.home-manager
];
# Don't use the systemd-boot EFI boot loader.
# Necessary for dual boot Windows
boot.loader.systemd-boot.enable = false;
boot.loader = {
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
};
grub = {
enable = true;
devices = [ "nodev" ];
efiSupport = true;
extraEntries = ''
menuentry "Windows" {
insmod part_gpt
insmod fat
insmod search_fs_uuid
insmod chain
search --fs-uuid --set=root FE74-E293
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
'';
};
};
my = {
desktop = {
desktopUser = {
enable = true;
userName = "pazpi";
hashedPassword = "$y$j9T$dA94KVg1/jYLqclQQbTDk.$cnfxBWUN8P4shr8Kkipv5bU/RCtQNoAwYFDZ0X/BYs5";
};
audio.enable = false;
};
utils.commons.enable = true;
};
# Vedi https://github.com/TLATER/dotfiles/blob/f989a86890f27f6b089e9d74b7e8356ec8e5683d/home-config/hosts/yui.nix
# home-manager.users.pazpi = import "${flake-inputs.self}/home-config/hosts/deadbeef.nix";
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It's perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "24.05"; # Did you read the comment?
}