minor tweaks, update, format

This commit is contained in:
atagen 2023-06-30 13:54:35 +10:00
parent 3e5b3303c3
commit 3b592d37d0
9 changed files with 96 additions and 69 deletions

View file

@ -8,7 +8,6 @@
modulesPath,
...
}: {
imports = [
./configuration.nix
];
@ -67,7 +66,6 @@
};
};
services.xserver.videoDrivers = ["i915"];
programs.xwayland.enable = true;
@ -94,23 +92,23 @@
"system76-scheduler".source = "${pkgs.linuxPackages.system76-scheduler}/etc/system76-scheduler";
};
xdg.portal = {
enable = true;
wlr = {
enable = true;
# settings = {
# screencast = {
# output_name = "DP-1";
# max_fps = 60;
# chooser_type = "simple";
# chooser_nvidia = "${pkgs.slurp}/bin/slurp -f %o -or";
# };
# };
};
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
];
};
# xdg.portal = {
# enable = true;
# wlr = {
# enable = true;
# # settings = {
# # screencast = {
# # output_name = "DP-1";
# # max_fps = 60;
# # chooser_type = "simple";
# # chooser_nvidia = "${pkgs.slurp}/bin/slurp -f %o -or";
# # };
# # };
# };
# extraPortals = with pkgs; [
# xdg-desktop-portal-gtk
# ];
# };
environment.systemPackages = with pkgs; [
openrgb

View file

@ -12,7 +12,8 @@
overlays = [
inputs.nur.overlay
outputs.overlays.additions
outputs.overlays.unstable-pkgs
outputs.overlays.pkg-sets
outputs.overlays.podman-stable
inputs.nix-rice.overlays.default
outputs.overlays.rice
];
@ -108,6 +109,7 @@
bind=,Escape,exec,wlogout
bind=SUPER_SHIFT,e,exec,wlogout
env = GTK_THEME,nix-rice
exec = swaybg -i ${bg.image} -m fill
exec = ${pkgs.dbus}/bin/dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY
exec = gsettings set org.gnome.desktop.interface gtk-theme '${gtk-theme.name}'
exec = gsettings set org.gnome.desktop.interface font-name '${fonts.sans.name}'
@ -128,7 +130,6 @@
};
};
security.polkit.enable = true;
programs.dconf.enable = true;
@ -136,9 +137,6 @@
xdg.autostart.enable = true;
xdg.portal = {
enable = true;
wlr = {
enable = true;
};
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
];
@ -198,7 +196,7 @@
curl
exa
uutils-coreutils
swaybg
git
@ -209,7 +207,6 @@
cachix
alejandra
];
documentation.dev.enable = true;

View file

@ -56,6 +56,7 @@
virtualisation = {
podman = {
# package = pkgs.podman-stable;
enable = true;
dockerCompat = true;
defaultNetwork.settings.dns_enabled = true;