Compare commits

...

3 commits

5 changed files with 30 additions and 24 deletions

View file

@ -1,19 +1,21 @@
{ ... }:
{ lib, modulesPath, ... }:
{
imports = [
../nix-os/core.nix
../nix-os/docker.nix
../nix-os/desktopManagers/gnome.nix
../nix-os/displayManagers/gdm.nix
#../nix-os/desktop/kde-plasma.nix
../nix-os/shell.nix
../nix-os/virtualization.nix
../nix-os/polkit/disable-shutdown.nix
../nix-os/locale.nix
../nix-os/adb.nix
"${modulesPath}/virtualisation/qemu-vm.nix"
../nix-os/account.nix
../nix-os/xdg-default-apps.nix
../nix-os/core.nix
../nix-os/locale.nix
../nix-os/polkit/disable-shutdown.nix
../nix-os/shell.nix
../nix-os/udev.nix
../nix-os/xdg-default-apps.nix
];
config = {
services.syncthing.enable = lib.mkForce false;
virtualisation = {
memorySize = 4096;
};
};
}

9
hosts/vm-gnome.nix Normal file
View file

@ -0,0 +1,9 @@
{ lib, ... }:
{
imports = [
./vm-base.nix
../nix-os/desktopManagers/gnome.nix
../nix-os/displayManagers/gdm.nix
];
}

View file

@ -4,7 +4,7 @@
sha256 = "1rq8mrlmbzpcbv9ys0x88alw30ks70jlmvnfr2j8v830yy5wvw7h";
};
nixpkgs = {
revision = "05405724efa137a0b899cce5ab4dde463b4fd30b";
sha256 = "06490pn22x9xl4chfx12iwdgx7nlbn14v8x05rnv2y1nancljisl";
revision = "883180e6550c1723395a3a342f830bfc5c371f6b";
sha256 = "01axrf25mahbxmp6vgfgx09dflbyaavr5liynkp6rpm4lkacr27f";
};
}

View file

@ -1,4 +1,4 @@
{ config, pkgs, unstablePkgs, ... }:
{ config, lib, pkgs, unstablePkgs, ... }:
{
imports = [
@ -11,8 +11,7 @@
extraGroups = [
"users"
"wheel"
(if config.programs.adb.enable then "adbusers" else null)
];
] ++ lib.optional config.programs.adb.enable "adbusers";
linger = true;
initialPassword = "nixos";
packages = with pkgs; [

View file

@ -65,15 +65,11 @@
"color-picker@tuberry"
];
favorite-apps = [
(if builtins.elem pkgs.kitty config.environment.systemPackages then
"kitty.desktop"
else none)
"kitty.desktop"
"vivaldi-stable.desktop"
"code.desktop"
"org.gnome.Nautilus.desktop"
(if config.programs.steam.enable then
"steam.desktop"
else none)
"steam.desktop"
"pavucontrol.desktop"
];
};