hosts: use cosmic desktop

This commit is contained in:
Wroclaw 2024-10-02 18:31:47 +02:00
parent 47e0304b6d
commit b2a2bdbd8a
2 changed files with 22 additions and 6 deletions

View file

@ -1,4 +1,9 @@
{ inputs, pkgs, ... }: {
inputs,
pkgs,
self,
...
}:
{ {
imports = [ imports = [
@ -7,8 +12,8 @@
../../nix-os/nvidia.nix ../../nix-os/nvidia.nix
../../nix-os/docker.nix ../../nix-os/docker.nix
../../nix-os/razer.nix ../../nix-os/razer.nix
../../nix-os/desktopManagers/gnome.nix ../../nix-os/desktopManagers/cosmic.nix
../../nix-os/displayManagers/gdm.nix ../../nix-os/displayManagers/cosmic-greeter.nix
../../nix-os/shell.nix ../../nix-os/shell.nix
../../nix-os/virtualization.nix ../../nix-os/virtualization.nix
../../nix-os/polkit/disable-shutdown.nix ../../nix-os/polkit/disable-shutdown.nix
@ -36,6 +41,10 @@
hplip hplip
]; ];
nixpkgs.overlays = [
self.overlays.cosmicPackages
];
# nixos-vscode-server module needs this # nixos-vscode-server module needs this
programs.nix-ld.enable = true; programs.nix-ld.enable = true;
services.vscode-server = { services.vscode-server = {

View file

@ -1,4 +1,7 @@
{ config, lib, pkgs, ... }: {
self,
...
}:
{ {
imports = [ imports = [
@ -11,8 +14,8 @@
../nix-os/gnupg.nix ../nix-os/gnupg.nix
../nix-os/polkit/network.nix ../nix-os/polkit/network.nix
../nix-os/desktopManagers/gnome.nix ../nix-os/desktopManagers/cosmic.nix
../nix-os/displayManagers/gdm.nix ../../nix-os/displayManagers/cosmic-greeter.nix
../nix-os/udev.nix ../nix-os/udev.nix
]; ];
@ -25,6 +28,10 @@
networking.firewall.enable = true; networking.firewall.enable = true;
hardware.sensor.iio.enable = true; hardware.sensor.iio.enable = true;
nixpkgs.overlays = [
self.overlays.cosmicPackages
];
networking.firewall.allowedTCPPortRanges = [ networking.firewall.allowedTCPPortRanges = [
# KDE Connect # KDE Connect
rec { from = 1714; to = from + 50; } rec { from = 1714; to = from + 50; }