This repository has been archived on 2023-07-23. You can view files and clone it, but cannot push or open issues or pull requests.
gpd-configurations/global/software-configuration.nix

116 lines
2.1 KiB
Nix
Raw Normal View History

2023-07-04 08:53:01 +00:00
{ pkgs, ... }: {
xdg.portal = {
enable = true;
#wlr.enable = true;
xdgOpenUsePortal = true;
extraPortals = with pkgs; [
xdg-desktop-portal-hyprland
xdg-desktop-portal-gtk
];
};
# Enable automatic login for the user.
services = {
# flatpak dev.deedles.Trayscale
# sudo tailscale up --operator=$USER
# use https://hs.wetofu.me
tailscale.enable = true;
blueman.enable = true;
logrotate.checkConfig = false;
flatpak.enable = true;
2023-07-17 06:31:27 +00:00
gvfs.enable = true;
2023-07-04 08:53:01 +00:00
ntp = {
enable = true;
servers = [
"ntp.ntsc.ac.cn" # China
];
2023-06-25 22:18:07 +00:00
};
2023-06-29 04:42:38 +00:00
2023-07-04 08:53:01 +00:00
greetd = {
enable = true;
settings = rec {
initial_session = {
user = "user";
command = "${pkgs.greetd.greetd}/bin/agreety --cmd Hyprland";
};
2023-07-04 08:53:01 +00:00
default_session = initial_session;
};
};
2023-07-04 08:53:01 +00:00
xserver = {
layout = "cn";
xkbVariant = "";
libinput = {
mouse = {
accelProfile = "flat";
};
2023-07-04 08:53:01 +00:00
};
};
2023-06-21 08:11:21 +00:00
2023-07-04 08:53:01 +00:00
pipewire = {
enable = true;
alsa.enable = true;
pulse.enable = true;
};
2023-07-14 08:06:12 +00:00
keyd = {
2023-07-14 08:21:38 +00:00
enable = false;
2023-07-14 08:06:12 +00:00
settings = {
main = {
capslock = "C-space";
};
};
};
2023-07-14 08:51:12 +00:00
upower = {
enable = true;
criticalPowerAction = "Hibernate";
};
2023-07-04 08:53:01 +00:00
};
2023-07-04 08:53:01 +00:00
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
hyprpaper
hyprland-protocols
hyprland-share-picker
];
2023-06-25 12:38:21 +00:00
2023-07-04 08:53:01 +00:00
programs = {
2023-07-17 06:31:27 +00:00
thunar = {
enable = true;
plugins = with pkgs.xfce; [
thunar-archive-plugin
thunar-volman
];
};
2023-07-04 08:53:01 +00:00
hyprland = {
enable = true;
xwayland = {
enable = true;
hidpi = true;
};
};
2023-06-29 00:39:38 +00:00
2023-07-04 08:53:01 +00:00
proxychains = {
enable = true;
quietMode = true;
proxies = {
default = {
type = "socks5";
port = 1089;
host = "127.0.0.1";
enable = true;
};
};
};
2023-06-28 01:30:10 +00:00
2023-07-17 06:37:35 +00:00
#git.enable = true;
2023-07-04 08:53:01 +00:00
zsh.enable = true;
light.enable = true;
dconf.enable = true;
};
}