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