Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2025-07-16 19:25:32 +02:00
parent f74e15288b
commit 18c8afb616
18 changed files with 150 additions and 147 deletions

View File

@@ -1,5 +1,8 @@
{ pkgs, config, inputs, ... }:
let
{
pkgs,
config,
...
}: let
hostname = config.var.hostname;
keyboardLayout = config.var.keyboardLayout;
configDir = config.var.configDirectory;
@@ -17,11 +20,11 @@ in {
enable = autoUpgrade;
dates = "04:00";
flake = "${configDir}";
flags = [ "--update-input" "nixpkgs" "--commit-lock-file" ];
flags = ["--update-input" "nixpkgs" "--commit-lock-file"];
allowReboot = false;
};
time = { timeZone = timeZone; };
time = {timeZone = timeZone;};
i18n.defaultLocale = defaultLocale;
i18n.extraLocaleSettings = {
LC_ADDRESS = extraLocale;
@@ -64,7 +67,7 @@ in {
dbus = {
enable = true;
implementation = "broker";
packages = with pkgs; [ gcr gnome-settings-daemon ];
packages = with pkgs; [gcr gnome-settings-daemon];
};
gvfs.enable = true;
upower.enable = true;
@@ -73,7 +76,7 @@ in {
};
# enable zsh autocompletion for system packages (systemd, etc)
environment.pathsToLink = [ "/share/zsh" ];
environment.pathsToLink = ["/share/zsh"];
# Faster rebuilding
documentation = {
@@ -101,11 +104,11 @@ in {
enable = true;
xdgOpenUsePortal = true;
config = {
common.default = [ "gtk" ];
hyprland.default = [ "gtk" "hyprland" ];
common.default = ["gtk"];
hyprland.default = ["gtk" "hyprland"];
};
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
extraPortals = [pkgs.xdg-desktop-portal-gtk];
};
security = {