Skip to content

Commit

Permalink
enrich
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Oct 4, 2024
1 parent a82529f commit a3b3cf5
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions configurations/nixos/example/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ in
{
imports = [
self.nixosModules.default
self.nixosModules.gui
./configuration.nix
];

Expand Down
3 changes: 3 additions & 0 deletions modules/nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@ let
inherit (inputs) self;
in
{
# These users can add Nix caches.
nix.settings.trusted-users = [ "root" "runner" ];

services.openssh.enable = true;
}
6 changes: 6 additions & 0 deletions modules/nixos/gui/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
imports = [
./gnome.nix
];
services.xserver.enable = true;
}
11 changes: 11 additions & 0 deletions modules/nixos/gui/gnome.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{ pkgs, ... }:
{
services.xserver = {
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
};

environment.systemPackages = with pkgs; [
gnome.gnome-tweaks
];
}

0 comments on commit a3b3cf5

Please sign in to comment.