test: dn-lap test build
This commit is contained in:
parent
36b9f4e2b0
commit
04ce8d76ba
25 changed files with 245 additions and 160 deletions
12
system/dev/dn-lap/boot.nix
Normal file
12
system/dev/dn-lap/boot.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.extraModprobeConfig = ''
|
||||
options hid_apple fnmode=2
|
||||
'';
|
||||
|
||||
boot.initrd.systemd.enable = true;
|
||||
boot.initrd.kernelModules = [ "i915" ];
|
||||
boot.swraid.enable = true;
|
||||
}
|
||||
44
system/dev/dn-lap/default.nix
Normal file
44
system/dev/dn-lap/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ lib, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
inputs.home-manager.nixosModules.default
|
||||
|
||||
# Modules
|
||||
./boot.nix
|
||||
../../modules/dn-ca.nix
|
||||
../../modules/fonts.nix
|
||||
../../modules/hardware.nix
|
||||
../../modules/hyprland.nix
|
||||
../../modules/internationalisation.nix
|
||||
../../modules/misc.nix
|
||||
../../modules/networking.nix
|
||||
../../modules/nixsettings.nix
|
||||
../../modules/packages.nix
|
||||
../../modules/plymouth.nix
|
||||
../../modules/polkit.nix
|
||||
../../modules/programs.nix
|
||||
../../modules/sddm-theme.nix
|
||||
../../modules/security.nix
|
||||
../../modules/services.nix
|
||||
../../modules/sound.nix
|
||||
../../modules/theme.nix
|
||||
../../modules/time.nix
|
||||
../../modules/users.nix
|
||||
../../modules/virtualization.nix
|
||||
../../modules/wireguard.nix
|
||||
];
|
||||
|
||||
# Overrides
|
||||
networking.hostName = "dn-lap";
|
||||
programs.steam.enable = false;
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
home-manager = {
|
||||
backupFileExtension = "backup";
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
users = { "danny" = import ../home; };
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue