switch to xonsh and add virtual machine configurations

This commit is contained in:
cswimr 2024-11-27 11:58:05 -05:00
parent 29a30637ca
commit 3c0916835a
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
10 changed files with 238 additions and 44 deletions

View file

@ -0,0 +1,23 @@
{ pkgs, lib, ... }:
let
gnomeExtensions = with pkgs.gnomeExtensions; [ totp ];
packages = with pkgs; [ fastfetch ];
in {
imports = [
../template.nix
#../../../nixos/shell.nix
];
services.xserver = {
enable = true;
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
};
virtualisation.vmVariant.virtualisation = {
memorySize = 8192;
cores = 6;
};
environment.systemPackages = lib.lists.unique (packages ++ gnomeExtensions);
}

View file

@ -0,0 +1,7 @@
{ pkgs, ... }: {
imports = [
../template.nix
../../../nixos/shell.nix
];
environment.systemPackages = with pkgs; [ fastfetch ];
}

View file

@ -0,0 +1,25 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "nixos";
networking.networkmanager.enable = true;
time.timeZone = "America/New_York";
users.users.cswimr = {
isNormalUser = true;
extraGroups = [ "wheel" ];
group = "cswimr";
initialPassword = "cswimr";
};
users.groups.cswimr = { };
services.qemuGuest.enable = true;
system.stateVersion = "24.11";
}