added systemd initrd, setup vulkan dir to test

This commit is contained in:
Bit Borealis 2023-03-24 19:20:57 +00:00
parent 12ebab2b26
commit dac50ba616
Signed by: theotheroracle
GPG Key ID: 2D816A2DCA6E5649
1 changed files with 10 additions and 8 deletions

View File

@ -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"];