add desktop and laptop config option
This commit is contained in:
parent
04e4aa6164
commit
ff99a6803a
8 changed files with 63 additions and 45 deletions
|
|
@ -1,29 +1,16 @@
|
|||
{ inputs, nixpkgs, self, username, ...}:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
lib = nixpkgs.lib;
|
||||
in
|
||||
{ inputs, nixpkgs, self, username, host, ...}:
|
||||
{
|
||||
nixos = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit self inputs username; };
|
||||
modules =
|
||||
[ (import ./bootloader.nix) ]
|
||||
++ [ (import ./hardware.nix) ]
|
||||
++ [ (import ./xserver.nix) ]
|
||||
++ [ (import ./network.nix) ]
|
||||
++ [ (import ./pipewire.nix) ]
|
||||
++ [ (import ./program.nix) ]
|
||||
++ [ (import ./security.nix) ]
|
||||
++ [ (import ./services.nix) ]
|
||||
++ [ (import ./system.nix) ]
|
||||
++ [ (import ./user.nix) ]
|
||||
++ [ (import ./wayland.nix) ]
|
||||
++ [ (import ./virtualization.nix) ]
|
||||
++ [ (import ./../../hosts/desktop/hardware-configuration.nix) ]
|
||||
;
|
||||
};
|
||||
imports =
|
||||
[ (import ./bootloader.nix) ]
|
||||
++ [ (import ./hardware.nix) ]
|
||||
++ [ (import ./xserver.nix) ]
|
||||
++ [ (import ./network.nix) ]
|
||||
++ [ (import ./pipewire.nix) ]
|
||||
++ [ (import ./program.nix) ]
|
||||
++ [ (import ./security.nix) ]
|
||||
++ [ (import ./services.nix) ]
|
||||
++ [ (import ./system.nix) ]
|
||||
++ [ (import ./user.nix) ]
|
||||
++ [ (import ./wayland.nix) ]
|
||||
++ [ (import ./virtualization.nix) ];
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue