fix gnome stuffs

This commit is contained in:
dusk 2022-05-21 14:17:48 +03:00
parent 9fec72c22d
commit 9a13efdb0c
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA
6 changed files with 46 additions and 20 deletions

View File

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1651415224, "lastModified": 1652452043,
"narHash": "sha256-O/EzwxUMa1OawWEwhS10Xki7RX3+hSgaJJziHeI4d7c=", "narHash": "sha256-nh3mdVB/Kk5ag1uRMAlKo8r+ssN3HNxwbLsqRG4xZkw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "26858fc0dbed71fa0609490fc2f2643e0d175328", "rev": "273598f53e04f0111dca5724b37640e3907edaaf",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -53,11 +53,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1651007983, "lastModified": 1652231724,
"narHash": "sha256-GNay7yDPtLcRcKCNHldug85AhAvBpTtPEJWSSDYBw8U=", "narHash": "sha256-MjalcXFZgcgchp4QqnF05JTkFBBGad5hbksA1EKoP98=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e10da1c7f542515b609f8dfbcf788f3d85b14936", "rev": "41ff747f882914c1f8c233207ce280ac9d0c867f",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -97,11 +97,13 @@ in {
fsType = "btrfs"; fsType = "btrfs";
options = ["subvol=home"] ++ btrfsOptions; options = ["subvol=home"] ++ btrfsOptions;
}; };
#fileSystems."/media/archive" = { /*
# device = "/dev/disk/by-uuid/f9b5f7f3-51e8-4357-8518-986b16311c71"; fileSystems."/media/archive" = {
# fsType = "btrfs"; device = "/dev/disk/by-uuid/f9b5f7f3-51e8-4357-8518-986b16311c71";
# options = btrfsOptions; fsType = "btrfs";
#}; options = btrfsOptions;
};
*/
fileSystems."/nix" = { fileSystems."/nix" = {
device = btrfsPartPath; device = btrfsPartPath;
fsType = "btrfs"; fsType = "btrfs";
@ -185,15 +187,18 @@ in {
}; };
}; };
networking.firewall.checkReversePath = "loose";
networking.interfaces.enp6s0.useDHCP = true; networking.interfaces.enp6s0.useDHCP = true;
services = { services = {
haveged.enable = true;
tailscale.enable = true;
earlyoom.enable = true; earlyoom.enable = true;
ipfs = { ipfs = {
enable = false; enable = false;
enableGC = true; enableGC = true;
autoMount = true; autoMount = true;
}; };
flatpak.enable = true; flatpak.enable = false;
xserver.videoDrivers = ["amdgpu"]; xserver.videoDrivers = ["amdgpu"];
}; };

View File

@ -1,7 +1,7 @@
{...}: { {...}: {
i18n = { i18n = {
defaultLocale = "en_US.UTF-8"; defaultLocale = "tr_TR.UTF-8";
supportedLocales = ["en_US.UTF-8/UTF-8"]; supportedLocales = ["tr_TR.UTF-8/UTF-8" "en_US.UTF-8/UTF-8"];
}; };
time.timeZone = "Turkey"; time.timeZone = "Turkey";
services.xserver.layout = "tr"; services.xserver.layout = "tr";

View File

@ -1,5 +1,5 @@
{pkgs, ...}: { {pkgs, ...}: {
imports = [./helix.nix]; imports = [./helix.nix];
environment.systemPackages = with pkgs; [alejandra]; environment.systemPackages = with pkgs; [alejandra treefmt];
environment.shellAliases = {nixf-all = "alejandra **/**.nix";}; environment.shellAliases = {nixf-all = "alejandra **/**.nix";};
} }

View File

@ -97,6 +97,8 @@ let
# <spa-0.2/spa/utils/defs.h> included by libspa-sys requires <stdbool.h> # <spa-0.2/spa/utils/defs.h> included by libspa-sys requires <stdbool.h>
BINDGEN_EXTRA_CLANG_ARGS = "-I${llvmPackages.libclang.lib}/lib/clang/${lib.getVersion llvmPackages.clang}/include -I${glibc.dev}/include"; BINDGEN_EXTRA_CLANG_ARGS = "-I${llvmPackages.libclang.lib}/lib/clang/${lib.getVersion llvmPackages.clang}/include -I${glibc.dev}/include";
doCheck = false;
postPatch = '' postPatch = ''
patchShebangs build-aux/meson_post_install.py patchShebangs build-aux/meson_post_install.py
''; '';

View File

@ -28,12 +28,20 @@ in {
}; };
xdg.portal = { xdg.portal = {
enable = true; enable = true;
gtkUsePortal = true; wlr.enable = true;
extraPortals = with pkgs; [xdg-desktop-portal xdg-desktop-portal-wlr]; gtkUsePortal = false;
extraPortals = with pkgs; [xdg-desktop-portal-wlr];
}; };
programs = { programs = {
adb.enable = true; adb.enable = true;
steam.enable = true; steam.enable = true;
kdeconnect = {
enable = true;
package = pkgs.gnomeExtensions.gsconnect;
};
gnome-disks.enable = true;
file-roller.enable = true;
seahorse.enable = true;
}; };
security = { security = {
pam.services.patriot = { pam.services.patriot = {
@ -55,7 +63,16 @@ in {
services = { services = {
psd.enable = true; psd.enable = true;
gnome = { gnome = {
gnome-settings-daemon.enable = true;
sushi.enable = true;
gnome-keyring.enable = true; gnome-keyring.enable = true;
core-shell.enable = true;
core-os-services.enable = true;
chrome-gnome-shell.enable = true;
at-spi2-core.enable = true;
gnome-online-accounts.enable = false;
gnome-online-miners.enable = lib.mkForce false;
gnome-remote-desktop.enable = false;
core-utilities.enable = false; core-utilities.enable = false;
tracker-miners.enable = false; tracker-miners.enable = false;
tracker.enable = false; tracker.enable = false;
@ -68,7 +85,7 @@ in {
}; };
displayManager = { displayManager = {
autoLogin = { autoLogin = {
enable = false; enable = true;
user = "patriot"; user = "patriot";
}; };
gdm = { gdm = {
@ -82,6 +99,8 @@ in {
systemd = { systemd = {
targets.network-online.enable = false; targets.network-online.enable = false;
services = { services = {
"getty@tty1".enable = false;
"autovt@tty1".enable = false;
systemd-networkd-wait-online.enable = false; systemd-networkd-wait-online.enable = false;
NetworkManager-wait-online.enable = false; NetworkManager-wait-online.enable = false;
}; };
@ -131,7 +150,7 @@ in {
cargo-udeps cargo-udeps
vulkan-tools vulkan-tools
krita krita
gnome3.seahorse gnome.nautilus
cachix cachix
appimage-run appimage-run
pfetch pfetch
@ -145,7 +164,6 @@ in {
lutris lutris
xdg_utils xdg_utils
tagref tagref
hydrus
papirus-icon-theme papirus-icon-theme
wl-clipboard wl-clipboard
rust-analyzer rust-analyzer
@ -164,6 +182,7 @@ in {
gh gh
cloudflared cloudflared
ripcord ripcord
fractal-next
]; ];
}; };
programs = { programs = {