hosts: use cosmic desktop
This commit is contained in:
parent
47e0304b6d
commit
b2a2bdbd8a
2 changed files with 22 additions and 6 deletions
|
@ -1,4 +1,9 @@
|
|||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
self,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
@ -7,8 +12,8 @@
|
|||
../../nix-os/nvidia.nix
|
||||
../../nix-os/docker.nix
|
||||
../../nix-os/razer.nix
|
||||
../../nix-os/desktopManagers/gnome.nix
|
||||
../../nix-os/displayManagers/gdm.nix
|
||||
../../nix-os/desktopManagers/cosmic.nix
|
||||
../../nix-os/displayManagers/cosmic-greeter.nix
|
||||
../../nix-os/shell.nix
|
||||
../../nix-os/virtualization.nix
|
||||
../../nix-os/polkit/disable-shutdown.nix
|
||||
|
@ -36,6 +41,10 @@
|
|||
hplip
|
||||
];
|
||||
|
||||
nixpkgs.overlays = [
|
||||
self.overlays.cosmicPackages
|
||||
];
|
||||
|
||||
# nixos-vscode-server module needs this
|
||||
programs.nix-ld.enable = true;
|
||||
services.vscode-server = {
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
self,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
@ -11,8 +14,8 @@
|
|||
../nix-os/gnupg.nix
|
||||
../nix-os/polkit/network.nix
|
||||
|
||||
../nix-os/desktopManagers/gnome.nix
|
||||
../nix-os/displayManagers/gdm.nix
|
||||
../nix-os/desktopManagers/cosmic.nix
|
||||
../../nix-os/displayManagers/cosmic-greeter.nix
|
||||
../nix-os/udev.nix
|
||||
];
|
||||
|
||||
|
@ -25,6 +28,10 @@
|
|||
networking.firewall.enable = true;
|
||||
hardware.sensor.iio.enable = true;
|
||||
|
||||
nixpkgs.overlays = [
|
||||
self.overlays.cosmicPackages
|
||||
];
|
||||
|
||||
networking.firewall.allowedTCPPortRanges = [
|
||||
# KDE Connect
|
||||
rec { from = 1714; to = from + 50; }
|
||||
|
|
Loading…
Reference in a new issue