nixos,graphical: move personal stuff to users/guanranwang/nixos

This commit is contained in:
Guanran Wang 2023-11-09 21:05:07 +08:00
parent 99d810e25b
commit 444e915566
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
7 changed files with 36 additions and 54 deletions

View file

@ -1,9 +1,7 @@
{...}: { {...}: {
imports = [ imports = [
./display-server
./gnome-keyring.nix ./gnome-keyring.nix
./graphical.nix ./display-server.nix
./polkit.nix ./polkit.nix
]; ];
} }

View file

@ -1,6 +0,0 @@
{...}: {
imports = [
./display-server.nix
./input.nix
];
}

View file

@ -1,25 +0,0 @@
{...}: {
services.xserver = {
libinput = {
enable = true;
touchpad = {
accelProfile = "flat";
naturalScrolling = true;
middleEmulation = false;
};
mouse = {
accelProfile = "flat";
naturalScrolling = true;
middleEmulation = false;
};
};
};
### Removes debounce time
# https://www.reddit.com/r/linux_gaming/comments/ku6gth
environment.etc."libinput/local-overrides.quirks".text = ''
[Never Debounce]
MatchUdevType=mouse
ModelBouncingKeys=1
'';
}

View file

@ -1,19 +0,0 @@
{pkgs, ...}: {
services = {
# GNOME applications
gvfs.enable = true; # nautilus
gnome = {
sushi.enable = true; # nautilus preview
gnome-online-accounts.enable = true;
};
};
programs = {
gnome-disks.enable = true;
kdeconnect = {
enable = true;
#package = pkgs.gnomeExtensions.gsconnect;
package = pkgs.valent;
};
};
}

View file

@ -6,7 +6,6 @@
services = { services = {
#printing.enable = true; # Printing #printing.enable = true; # Printing
ratbagd.enable = true; # Required by piper
thermald.enable = true; # Prevents overheating thermald.enable = true; # Prevents overheating
fwupd.enable = true; # Firmware update fwupd.enable = true; # Firmware update
}; };

View file

@ -16,4 +16,39 @@
wlr.enable = true; wlr.enable = true;
extraPortals = with pkgs; [xdg-desktop-portal-gtk]; extraPortals = with pkgs; [xdg-desktop-portal-gtk];
}; };
services = {
ratbagd.enable = true;
gvfs.enable = true;
gnome = {
sushi.enable = true;
gnome-online-accounts.enable = true;
};
};
programs = {
kdeconnect = {
enable = true;
#package = pkgs.gnomeExtensions.gsconnect;
package = pkgs.valent;
};
};
services.xserver.libinput = {
touchpad = {
accelProfile = "flat";
naturalScrolling = true;
middleEmulation = false;
};
mouse = {
accelProfile = "flat";
naturalScrolling = true;
middleEmulation = false;
};
};
### Removes debounce time
# https://www.reddit.com/r/linux_gaming/comments/ku6gth
environment.etc."libinput/local-overrides.quirks".text = ''
[Never Debounce]
MatchUdevType=mouse
ModelBouncingKeys=1
'';
} }