Refactoring the config
This commit is contained in:
parent
9c3fc1879c
commit
0e866b1cb0
24 changed files with 355 additions and 304 deletions
21
hosts/iso/default.nix
Normal file
21
hosts/iso/default.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ pkgs, lib, ... }:
|
||||
let
|
||||
calamares-auto-start = pkgs.makeAutostartItem { name = "io.calamares.calamares"; package = pkgs.calamares-nixos; };
|
||||
in {
|
||||
# VMs
|
||||
services.spice-vdagentd.enable = true;
|
||||
services.qemuGuest.enable = true;
|
||||
|
||||
# Calamares for graphical installation
|
||||
environment.systemPackages = with pkgs; [
|
||||
libsForQt5.kpmcore
|
||||
calamares-nixos
|
||||
calamares-auto-start
|
||||
calamares-nixos-extensions
|
||||
];
|
||||
|
||||
networking.hostName = "lyes-iso";
|
||||
networking.wireless.enable = lib.mkForce false;
|
||||
|
||||
# services.displayManager.autoLogin.user = lib.mkForce "lyes";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue