Testing VM
This commit is contained in:
+297
-303
File diff suppressed because it is too large
Load Diff
+7
-13
@@ -442,20 +442,14 @@ mkShell {
|
||||
** =assets/flake/machines/traveldroid/top.nix=
|
||||
This code defines the machine to build. Just search and replace traveldroid to provision another machine.
|
||||
#+BEGIN_SRC nix :tangle assets/flake/machines/traveldroid/top.nix :noweb tangle :mkdirp yes :eval never-html
|
||||
{ config, pkgs, lib, user, inputs, ... }:
|
||||
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
user,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
# Import all other configurations
|
||||
imports = [
|
||||
./boot.nix
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
options = {
|
||||
wm = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
@@ -463,15 +457,15 @@ This code defines the machine to build. Just search and replace traveldroid to p
|
||||
description = "Type of window manager to use";
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
# Minimal settings that must be defined here
|
||||
networking.hostName = "traveldroid";
|
||||
wm.type = "hyprland"; # Define the window manager type here, mangowc will be made possible in the near future.
|
||||
};
|
||||
wm.type = "hyprland";
|
||||
|
||||
# User configuration
|
||||
users.users.${user.username} = {
|
||||
isNormalUser = true;
|
||||
#description = "Henro Veijer";
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
hashedPassword = user.hashedPassword;
|
||||
home = user.homeDirectory;
|
||||
@@ -479,7 +473,7 @@ This code defines the machine to build. Just search and replace traveldroid to p
|
||||
|
||||
# Optional: Enable auto-login for testing
|
||||
services.getty.autologinUser = user.username;
|
||||
|
||||
};
|
||||
}
|
||||
#+END_SRC
|
||||
|
||||
|
||||
@@ -1,17 +1,11 @@
|
||||
{ config, pkgs, lib, user, inputs, ... }:
|
||||
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
user,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
# Import all other configurations
|
||||
imports = [
|
||||
./boot.nix
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
options = {
|
||||
wm = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
@@ -19,15 +13,15 @@
|
||||
description = "Type of window manager to use";
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
# Minimal settings that must be defined here
|
||||
networking.hostName = "traveldroid";
|
||||
wm.type = "hyprland"; # Define the window manager type here, mangowc will be made possible in the near future.
|
||||
};
|
||||
wm.type = "hyprland";
|
||||
|
||||
# User configuration
|
||||
users.users.${user.username} = {
|
||||
isNormalUser = true;
|
||||
#description = "Henro Veijer";
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
hashedPassword = user.hashedPassword;
|
||||
home = user.homeDirectory;
|
||||
@@ -35,5 +29,5 @@
|
||||
|
||||
# Optional: Enable auto-login for testing
|
||||
services.getty.autologinUser = user.username;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user