mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 20:39:18 -08:00
75 lines
1.4 KiB
Nix
75 lines
1.4 KiB
Nix
_: let
|
|
hostConfig = {
|
|
tree,
|
|
pkgs,
|
|
lib,
|
|
inputs,
|
|
...
|
|
}: {
|
|
imports =
|
|
(with tree.nixos.hardware; [
|
|
framework
|
|
])
|
|
++ (with tree.nixos.profiles; [
|
|
graphical
|
|
wireless
|
|
laptop
|
|
bcachefs
|
|
])
|
|
++ (with tree.nixos.environments; [
|
|
hyprland
|
|
]);
|
|
config = {
|
|
home-manager.users.kat.imports =
|
|
(with tree.home.profiles; [
|
|
graphical
|
|
devops
|
|
])
|
|
++ (with tree.home.environments; [
|
|
hyprland
|
|
]);
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
parsec-bin
|
|
];
|
|
|
|
fileSystems = {
|
|
"/" = {
|
|
device = "UUID=861e8815-9327-4e49-915b-73a3b0bdfa25";
|
|
fsType = "bcachefs";
|
|
};
|
|
"/boot" = {
|
|
device = "/dev/disk/by-uuid/DD84-303D";
|
|
fsType = "vfat";
|
|
};
|
|
};
|
|
|
|
swapDevices = [
|
|
{device = "/dev/disk/by-uuid/04bd322e-dca0-43b8-b588-cc0ef1b1488e";}
|
|
];
|
|
|
|
boot = {
|
|
supportedFilesystems = ["ntfs"];
|
|
loader = {
|
|
efi = {
|
|
canTouchEfiVariables = true;
|
|
efiSysMountPoint = "/boot";
|
|
};
|
|
systemd-boot.enable = true;
|
|
};
|
|
};
|
|
|
|
networking = {
|
|
useDHCP = false;
|
|
};
|
|
|
|
system.stateVersion = "24.05";
|
|
};
|
|
};
|
|
in {
|
|
arch = "x86_64";
|
|
type = "NixOS";
|
|
modules = [
|
|
hostConfig
|
|
];
|
|
}
|