feat: GNOME tweaks

This commit is contained in:
Nat Allan 2024-03-15 20:11:01 +11:00
parent cbebc799bd
commit c3290f4e52
5 changed files with 54 additions and 29 deletions

1
.gitignore vendored
View file

@ -0,0 +1 @@
.mozilla

View file

@ -10,7 +10,11 @@ Frustrations with other methods tend to be bitrot and config drift - very annoyi
## Getting started
TBC
To Install
```
# nixos-rebuild switch --flake github:truxnell/nix-config#HOST
```
## Goals

View file

@ -12,6 +12,7 @@
# TODO Move
nixpkgs-fmt
nil
gh
];
programs.mtr.enable = true;

View file

@ -3,10 +3,29 @@
{
# Ref: https://nixos.wiki/wiki/GNOME
# Enable GNOME with this 3 wierd tricks
services.xserver.enable = true;
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
# GNOME plz
services.xserver = {
enable = true;
desktopManager.gnome.enable = true;
displayManager = {
gdm.enable = true;
defaultSession = "gnome"; # TODO move to config overlay
autoLogin.user = "truxnell"; # TODO move to config overlay
};
layout = "us"; # `localctl` will give you
# Touchpad
libinput = {
enable = true;
touchpad = {
naturalScrolling = true;
middleEmulation = false;
tapping = true;
};
};
};
# And dconf
programs.dconf.enable = true;