added systemd initrd, setup vulkan dir to test
This commit is contained in:
parent
12ebab2b26
commit
dac50ba616
|
@ -1,13 +1,14 @@
|
|||
# welcome to susOS config, run nixos-help if you need it .
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
|
||||
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz";
|
||||
in{
|
||||
imports =
|
||||
[ # hardware scan
|
||||
./hardware-configuration.nix
|
||||
# <home-manager/nixos>
|
||||
let unstable = let
|
||||
nixos-unstable =
|
||||
builtins.fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz";
|
||||
in import nixos-unstable { config = { allowUnfree = true; }; };
|
||||
home-manager =
|
||||
builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz";
|
||||
in {
|
||||
imports = [
|
||||
./hosts/vulkan
|
||||
# home manager
|
||||
(import "${home-manager}/nixos")
|
||||
];
|
||||
|
@ -33,6 +34,7 @@ in{
|
|||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
||||
boot.initrd.systemd.enable = true;
|
||||
boot.plymouth.enable = true;
|
||||
boot.kernelParams = ["quiet"];
|
||||
|
||||
|
|
Loading…
Reference in New Issue