nix/nixos/default.nix
2023-09-02 15:51:02 +02:00

60 lines
1.5 KiB
Nix

{ config, pkgs, lib, stateVersion, hostname, ... }:
{
imports =
[ # Include the results of the hardware scan.
../hosts/${hostname}/hardware-configuration.nix
./includes/hardware/bootloader.nix
./includes/system/locales.nix
./includes/system/flakes.nix
./includes/system/user.nix
./includes/system/udisks2.nix
./includes/system/lvm.nix
./includes/system/doas.nix
./includes/system/neovim.nix
./includes/desktop/swaylock.nix
./includes/desktop/pipewire.nix
./includes/desktop/xdg-portal.nix
./includes/gaming/steam.nix
];
nixpkgs.config.allowUnfree = true;
boot.kernelPackages = pkgs.linuxPackages_latest;
networking.hostName = hostname;
console = {
earlySetup = true;
font = "${pkgs.terminus_font}/share/consolefonts/ter-132n.psf.gz";
packages = with pkgs; [terminus_font];
# keyMap = "us";
useXkbConfig = true; # use xkbOptions in tty.
};
environment.systemPackages = with pkgs; [
git
zsh
];
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.ephase = {
home.stateVersion = stateVersion;
programs.home-manager.enable = true;
imports = [
../modules/home/desktop
../modules/home/webcord.nix
../modules/home/cli
../modules/home/firefox
../modules/home/foot.nix
../modules/home/lutris.nix
../modules/home/zathura.nix
];
};
};
system.stateVersion = "23.05";
}