diff --git a/hosts/lungmen/default.nix b/hosts/lungmen/default.nix index ef8ba4d..315a12b 100644 --- a/hosts/lungmen/default.nix +++ b/hosts/lungmen/default.nix @@ -203,6 +203,7 @@ in { }; virtualisation = { + waydroid.enable = false; podman.enable = true; libvirtd.enable = false; }; diff --git a/locale/default.nix b/locale/default.nix index 757712d..4ea90f0 100644 --- a/locale/default.nix +++ b/locale/default.nix @@ -1,7 +1,7 @@ {...}: { i18n = { - defaultLocale = "tr_TR.UTF-8"; - supportedLocales = ["tr_TR.UTF-8/UTF-8" "en_US.UTF-8/UTF-8"]; + defaultLocale = "en_US.UTF-8"; + supportedLocales = ["en_US.UTF-8/UTF-8" "tr_TR.UTF-8/UTF-8"]; }; time.timeZone = "Turkey"; services.xserver.layout = "tr"; diff --git a/modules/base/default.nix b/modules/base/default.nix index 82b9cbf..5ff9575 100644 --- a/modules/base/default.nix +++ b/modules/base/default.nix @@ -142,6 +142,6 @@ in { diff-closures /run/current-system "$systemConfig" ''; users.mutableUsers = false; - programs.command-not-found.enable = false; + programs.command-not-found.enable = true; nixpkgs.config.allowUnfree = true; } diff --git a/secrets/default.nix b/secrets/default.nix index ec51524..ce8cf47 100644 Binary files a/secrets/default.nix and b/secrets/default.nix differ diff --git a/treefmt.toml b/treefmt.toml new file mode 100644 index 0000000..560bba8 --- /dev/null +++ b/treefmt.toml @@ -0,0 +1,11 @@ +# One CLI to format the code tree - https://github.com/numtide/treefmt + +[formatter.nix] +# Formatter to run +command = "alejandra" +# Command-line arguments for the command +options = [] +# Glob pattern of files to include +includes = [ "*.nix" ] +# Glob patterns of files to exclude +excludes = [] diff --git a/users/patriot/default.nix b/users/patriot/default.nix index a81fb06..0eccc41 100644 --- a/users/patriot/default.nix +++ b/users/patriot/default.nix @@ -183,8 +183,19 @@ in { cloudflared ripcord ]; + shellAliases = + nixosConfig.environment.shellAliases + // { + harmony-ssh = '' + ${pkgBin "mosh"} root@chat.harmonyapp.io + ''; + }; + sessionVariables = { + NIX_AUTO_RUN = 1; + }; }; programs = { + command-not-found.enable = nixosConfig.programs.command-not-found.enable; firefox = { enable = true; }; @@ -192,22 +203,24 @@ in { enable = true; package = pkgs.chromium; extensions = [ - "gcbommkclmclpchllfjekcdonpmejbdp" # https everywhere - "cjpalhdlnbpafiamejdnhcphjbkeiagm" + "gcbommkclmclpchllfjekcdonpmejbdp" # ublock - "nngceckbapebfimnlniiiahkandclblb" + "cjpalhdlnbpafiamejdnhcphjbkeiagm" # bitwarden - "ldpochfccmkkmhdbclfhpagapcfdljkj" + "nngceckbapebfimnlniiiahkandclblb" # decentraleyes - "annfbnbieaamhaimclajlajpijgkdblo" + "ldpochfccmkkmhdbclfhpagapcfdljkj" # dark theme - "eimadpbcbfnmbkopoojfekhnkhdbieeh" + "annfbnbieaamhaimclajlajpijgkdblo" # dark reader - "hlepfoohegkhhmjieoechaddaejaokhf" + "eimadpbcbfnmbkopoojfekhnkhdbieeh" # github refined - "pmcmeagblkinmogikoikkdjiligflglb" + "hlepfoohegkhhmjieoechaddaejaokhf" # privacy redirect + "pmcmeagblkinmogikoikkdjiligflglb" + # pronoundb + "nblkbiljcjfemkfjnhoobnojjgjdmknf" ]; }; git = { @@ -279,13 +292,6 @@ in { eval "$(zoxide init zsh)" ''; - shellAliases = - nixosConfig.environment.shellAliases - // { - harmony-ssh = '' - ${pkgBin "mosh"} root@chat.harmonyapp.io - ''; - }; }; fzf.enable = true; vscode = {