Merge branch 'main' into cosmic

This commit is contained in:
Wroclaw 2024-08-08 06:05:05 +02:00
commit 24a9a407d7
5 changed files with 30 additions and 24 deletions

View file

@ -1,19 +1,21 @@
{ ... }: { lib, modulesPath, ... }:
{ {
imports = [ imports = [
../nix-os/core.nix "${modulesPath}/virtualisation/qemu-vm.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
../nix-os/account.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/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,8 +4,8 @@
sha256 = "1rq8mrlmbzpcbv9ys0x88alw30ks70jlmvnfr2j8v830yy5wvw7h"; sha256 = "1rq8mrlmbzpcbv9ys0x88alw30ks70jlmvnfr2j8v830yy5wvw7h";
}; };
nixpkgs = { nixpkgs = {
revision = "05405724efa137a0b899cce5ab4dde463b4fd30b"; revision = "883180e6550c1723395a3a342f830bfc5c371f6b";
sha256 = "06490pn22x9xl4chfx12iwdgx7nlbn14v8x05rnv2y1nancljisl"; sha256 = "01axrf25mahbxmp6vgfgx09dflbyaavr5liynkp6rpm4lkacr27f";
}; };
cosmic-modules = { cosmic-modules = {
revision = "d8b2b9aee034c10ca67848653171f576f87434a8"; revision = "d8b2b9aee034c10ca67848653171f576f87434a8";

View file

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

View file

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