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 .
{ 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"];