mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
57 lines
1.2 KiB
Nix
57 lines
1.2 KiB
Nix
{ self, inputs, outputs, pkgs, lib, ... }:
|
|
let
|
|
profilesPath = "${self}/profiles";
|
|
in
|
|
{
|
|
|
|
imports = outputs.nixModules ++ [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
"${profilesPath}/nixos/optional/autologin.nix"
|
|
|
|
inputs.home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.users.swarsel.imports = outputs.mixedModules ++ (builtins.attrValues outputs.homeManagerModules);
|
|
}
|
|
] ++ (builtins.attrValues outputs.nixosModules);
|
|
|
|
|
|
nixpkgs = {
|
|
overlays = [ outputs.overlays.default ];
|
|
config = {
|
|
allowUnfree = true;
|
|
};
|
|
};
|
|
|
|
environment.variables = {
|
|
WLR_RENDERER_ALLOW_SOFTWARE = 1;
|
|
};
|
|
|
|
services.qemuGuest.enable = true;
|
|
|
|
boot = {
|
|
loader.systemd-boot.enable = lib.mkForce true;
|
|
loader.efi.canTouchEfiVariables = true;
|
|
kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
|
|
};
|
|
|
|
networking = {
|
|
hostName = "chaostheatre";
|
|
firewall.enable = true;
|
|
};
|
|
|
|
|
|
swarselsystems = {
|
|
wallpaper = self + /wallpaper/lenovowp.png;
|
|
initialSetup = true;
|
|
isPublic = true;
|
|
isLinux = true;
|
|
};
|
|
|
|
home-manager.users.swarsel.swarselsystems = {
|
|
isNixos = true;
|
|
isPublic = true;
|
|
flakePath = "/home/swarsel/.dotfiles";
|
|
};
|
|
}
|