simplify cosmic vm
This commit is contained in:
parent
6b5c01fc15
commit
9faed50e03
2 changed files with 37 additions and 40 deletions
|
@ -1,39 +0,0 @@
|
||||||
{
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
let
|
|
||||||
packages = with pkgs; [
|
|
||||||
fastfetch
|
|
||||||
cosmic-wallpapers
|
|
||||||
];
|
|
||||||
in
|
|
||||||
{
|
|
||||||
programs = {
|
|
||||||
firefox.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
services = {
|
|
||||||
desktopManager.cosmic.enable = true;
|
|
||||||
displayManager.cosmic-greeter.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
virtualisation.vmVariant.virtualisation = {
|
|
||||||
memorySize = 8192;
|
|
||||||
cores = 6;
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = lib.lists.unique (packages);
|
|
||||||
|
|
||||||
nix = {
|
|
||||||
settings = {
|
|
||||||
substituters = [
|
|
||||||
"https://cosmic.cachix.org"
|
|
||||||
];
|
|
||||||
trusted-public-keys = [
|
|
||||||
"cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -28,8 +28,44 @@
|
||||||
modules = [
|
modules = [
|
||||||
# imports
|
# imports
|
||||||
../common.nix
|
../common.nix
|
||||||
./default.nix
|
|
||||||
cosmic.nixosModules.default
|
cosmic.nixosModules.default
|
||||||
|
(
|
||||||
|
{ pkgs, lib, ... }:
|
||||||
|
let
|
||||||
|
packages = with pkgs; [
|
||||||
|
fastfetch
|
||||||
|
cosmic-wallpapers
|
||||||
|
];
|
||||||
|
in
|
||||||
|
{
|
||||||
|
programs = {
|
||||||
|
firefox.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
services = {
|
||||||
|
desktopManager.cosmic.enable = true;
|
||||||
|
displayManager.cosmic-greeter.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
virtualisation.vmVariant.virtualisation = {
|
||||||
|
memorySize = 8192;
|
||||||
|
cores = 6;
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = lib.lists.unique (packages);
|
||||||
|
|
||||||
|
nix = {
|
||||||
|
settings = {
|
||||||
|
substituters = [
|
||||||
|
"https://cosmic.cachix.org"
|
||||||
|
];
|
||||||
|
trusted-public-keys = [
|
||||||
|
"cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
)
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue