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

View File

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

View File

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

View File

@ -1,5 +1,5 @@
{pkgs, ...}: {
imports = [./helix.nix];
environment.systemPackages = with pkgs; [alejandra];
environment.systemPackages = with pkgs; [alejandra treefmt];
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>
BINDGEN_EXTRA_CLANG_ARGS = "-I${llvmPackages.libclang.lib}/lib/clang/${lib.getVersion llvmPackages.clang}/include -I${glibc.dev}/include";
doCheck = false;
postPatch = ''
patchShebangs build-aux/meson_post_install.py
'';

View File

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