feat: GNOME tweaks
This commit is contained in:
parent
cbebc799bd
commit
c3290f4e52
5 changed files with 54 additions and 29 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -0,0 +1 @@
|
||||||
|
.mozilla
|
|
@ -10,7 +10,11 @@ Frustrations with other methods tend to be bitrot and config drift - very annoyi
|
||||||
|
|
||||||
## Getting started
|
## Getting started
|
||||||
|
|
||||||
TBC
|
To Install
|
||||||
|
|
||||||
|
```
|
||||||
|
# nixos-rebuild switch --flake github:truxnell/nix-config#HOST
|
||||||
|
```
|
||||||
|
|
||||||
## Goals
|
## Goals
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
# TODO Move
|
# TODO Move
|
||||||
nixpkgs-fmt
|
nixpkgs-fmt
|
||||||
nil
|
nil
|
||||||
|
gh
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.mtr.enable = true;
|
programs.mtr.enable = true;
|
||||||
|
|
|
@ -1,34 +1,53 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Ref: https://nixos.wiki/wiki/GNOME
|
# Ref: https://nixos.wiki/wiki/GNOME
|
||||||
|
|
||||||
# Enable GNOME with this 3 wierd tricks
|
# GNOME plz
|
||||||
services.xserver.enable = true;
|
services.xserver = {
|
||||||
services.xserver.displayManager.gdm.enable = true;
|
enable = true;
|
||||||
services.xserver.desktopManager.gnome.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
|
||||||
|
|
||||||
# And dconf
|
|
||||||
programs.dconf.enable = true;
|
|
||||||
|
|
||||||
# Exclude default GNOME packages that dont interest me.
|
# Touchpad
|
||||||
environment.gnome.excludePackages = (with pkgs; [
|
libinput = {
|
||||||
gnome-photos
|
enable = true;
|
||||||
gnome-tour
|
touchpad = {
|
||||||
]) ++ (with pkgs.gnome; [
|
naturalScrolling = true;
|
||||||
cheese # webcam tool
|
middleEmulation = false;
|
||||||
gnome-music
|
tapping = true;
|
||||||
gnome-terminal
|
};
|
||||||
gedit # text editor
|
};
|
||||||
epiphany # web browser
|
};
|
||||||
geary # email reader
|
|
||||||
evince # document viewer
|
|
||||||
gnome-characters
|
|
||||||
totem # video player
|
|
||||||
tali # poker game
|
|
||||||
iagno # go game
|
|
||||||
hitori # sudoku game
|
|
||||||
atomix # puzzle game
|
|
||||||
]);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
# And dconf
|
||||||
|
programs.dconf.enable = true;
|
||||||
|
|
||||||
|
# Exclude default GNOME packages that dont interest me.
|
||||||
|
environment.gnome.excludePackages = (with pkgs; [
|
||||||
|
gnome-photos
|
||||||
|
gnome-tour
|
||||||
|
]) ++ (with pkgs.gnome; [
|
||||||
|
cheese # webcam tool
|
||||||
|
gnome-music
|
||||||
|
gnome-terminal
|
||||||
|
gedit # text editor
|
||||||
|
epiphany # web browser
|
||||||
|
geary # email reader
|
||||||
|
evince # document viewer
|
||||||
|
gnome-characters
|
||||||
|
totem # video player
|
||||||
|
tali # poker game
|
||||||
|
iagno # go game
|
||||||
|
hitori # sudoku game
|
||||||
|
atomix # puzzle game
|
||||||
|
]);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
{ device = "/dev/disk/by-uuid/5572-019E";
|
{ device = "/dev/disk/by-uuid/5572-019E";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices =
|
swapDevices =
|
||||||
[ { device = "/dev/disk/by-uuid/34d04571-5752-426a-b4bc-48c88a1a4def"; }
|
[ { device = "/dev/disk/by-uuid/34d04571-5752-426a-b4bc-48c88a1a4def"; }
|
||||||
];
|
];
|
||||||
|
|
Reference in a new issue