~ruther/nixos-config

883d2fddca5b24cb8f7fab10628dd02168917481 — Frantisek Bohacek 1 year, 23 days ago 814171e
feat: some updates
M flake.lock => flake.lock +22 -22
@@ 166,11 166,11 @@
        ]
      },
      "locked": {
        "lastModified": 1708591310,
        "narHash": "sha256-8mQGVs8JccWTnORgoLOTh9zvf6Np+x2JzhIc+LDcJ9s=",
        "lastModified": 1710273215,
        "narHash": "sha256-AfVYEQIhOK6vaYVndgqFV4Vb5REXG9R0ylv83QInsT0=",
        "owner": "nix-community",
        "repo": "home-manager",
        "rev": "0e0e9669547e45ea6cca2de4044c1a384fd0fe55",
        "rev": "a500de54b2e3067201a40cefa5f210f719423ddf",
        "type": "github"
      },
      "original": {


@@ 234,11 234,11 @@
        ]
      },
      "locked": {
        "lastModified": 1708225687,
        "narHash": "sha256-NJBDfvknI26beOFmjO2coeJMTTUCCtw2Iu+rvJ1Zb9k=",
        "lastModified": 1710120787,
        "narHash": "sha256-tlLuB73OCOKtU2j83bQzSYFyzjJo3rjpITZE5MoofG8=",
        "owner": "nix-community",
        "repo": "nix-index-database",
        "rev": "17352eb241a8d158c4ac523b19d8d2a6c8efe127",
        "rev": "e76ff2df6bfd2abe06abd8e7b9f217df941c1b07",
        "type": "github"
      },
      "original": {


@@ 256,11 256,11 @@
        ]
      },
      "locked": {
        "lastModified": 1708737147,
        "narHash": "sha256-tPOet8cmhfnjf5LWow6V5fIY/4zUFQG3HSzShmcVaoM=",
        "lastModified": 1710206084,
        "narHash": "sha256-W6jg8xtOohOM0Mxqx/5K03y4CNOAYw7hvc5ORccMVlI=",
        "owner": "nix-community",
        "repo": "nix-vscode-extensions",
        "rev": "e7e208b84bc8fddeb08159fd05f0373875071013",
        "rev": "cfbb96201a78804e92794d6fe57466f777da74aa",
        "type": "github"
      },
      "original": {


@@ 292,11 292,11 @@
    },
    "nixos-hardware": {
      "locked": {
        "lastModified": 1708594753,
        "narHash": "sha256-c/gH7iXS/IYH9NrFOT+aJqTq+iEBkvAkpWuUHGU3+f0=",
        "lastModified": 1710123225,
        "narHash": "sha256-j3oWlxRZxB7cFsgEntpH3rosjFHRkAo/dhX9H3OfxtY=",
        "owner": "NixOS",
        "repo": "nixos-hardware",
        "rev": "3f7d0bca003eac1a1a7f4659bbab9c8f8c2a0958",
        "rev": "ad2fd7b978d5e462048729a6c635c45d3d33c9ba",
        "type": "github"
      },
      "original": {


@@ 308,11 308,11 @@
    },
    "nixpkgs": {
      "locked": {
        "lastModified": 1708655239,
        "narHash": "sha256-ZrP/yACUvDB+zbqYJsln4iwotbH6CTZiTkANJ0AgDv4=",
        "lastModified": 1709961763,
        "narHash": "sha256-6H95HGJHhEZtyYA3rIQpvamMKAGoa8Yh2rFV29QnuGw=",
        "owner": "nixos",
        "repo": "nixpkgs",
        "rev": "cbc4211f0afffe6dfd2478a62615dd5175a13f9a",
        "rev": "3030f185ba6a4bf4f18b87f345f104e6a6961f34",
        "type": "github"
      },
      "original": {


@@ 356,11 356,11 @@
    },
    "nur": {
      "locked": {
        "lastModified": 1708761275,
        "narHash": "sha256-Wua+wwcAOeoEmB8LJcP6Rp55StXOBwyPJbFc1LqS01k=",
        "lastModified": 1710275069,
        "narHash": "sha256-EGFDP1JW4XF+eYOieqw8jWNn3/LzD0S1Vmlc+97+BNk=",
        "owner": "nix-community",
        "repo": "NUR",
        "rev": "5d874529e3006e19f9928b8a988115af40631554",
        "rev": "3c03d3eabec8a6a98233ae43d4ca576e1f67c397",
        "type": "github"
      },
      "original": {


@@ 447,11 447,11 @@
        ]
      },
      "locked": {
        "lastModified": 1700220089,
        "narHash": "sha256-+PBSWEwz2KapYrrLlOtGtRQTJmp/MtPFcRmy5GoW+/k=",
        "lastModified": 1710275391,
        "narHash": "sha256-YF9Yey+QQltY+WpuI4NxhkFVlHdCfc0Ck0TVS67A7AY=",
        "ref": "refs/heads/main",
        "rev": "aff1fda2e6c85100e155590e4e1c17dd34a783e9",
        "revCount": 2,
        "rev": "a592efb2437f8a0ef332faf7e95b29a2499c0c98",
        "revCount": 4,
        "type": "git",
        "url": "ssh://git@github.com/Rutherther/nixos-semi-secrets"
      },

M hosts/configuration.nix => hosts/configuration.nix +14 -11
@@ 131,17 131,18 @@
    };
  };

  environment.etc = {
    "wireplumber/bluetooth.lua.d/51-bluez-config.lua".text = ''
      bluez_monitor.properties = {
        ["bluez5.msbc-support"] = true;
        ["bluez5.sbc-xq-support"] = true;
        ["bluez5.enable-faststream"] = true;
        ["bluez5.headset-roles"] = "[ hsp_hs hsp_ag ]";
        ["bluez5.hfphsp-backend"] = "hsphfpd";
      }
    '';
  };
  # services.pipewire.wireplumber.configPackages =
  # environment.etc = {
  #   "wireplumber/bluetooth.lua.d/51-bluez-config.lua".text = ''
  #     bluez_monitor.properties = {
  #       ["bluez5.msbc-support"] = true;
  #       ["bluez5.sbc-xq-support"] = true;
  #       ["bluez5.enable-faststream"] = true;
  #       ["bluez5.headset-roles"] = "[ hsp_hs hsp_ag ]";
  #       ["bluez5.hfphsp-backend"] = "hsphfpd";
  #     }
  #   '';
  # };

  systemd.network = {
    wait-online = {


@@ 183,6 184,8 @@
  };
  nixpkgs.config.allowUnfree = true;        # Allow proprietary software.

  boot.binfmt.emulatedSystems = [ "aarch64-linux" ];

  system = {                                # NixOS settings
    stateVersion = "23.05";
  };

M hosts/home.nix => hosts/home.nix +2 -1
@@ 46,7 46,7 @@
        pdfViewer = "org.pwmt.zathura.desktop";
        textEditor = "emacs-client.desktop";
        webBrowser = "firefox.desktop";
        fileBrowser = "nautilus.desktop";
        fileBrowser = "emacs-client.desktop"; # "nautilus.desktop";
      in {
        # see https://www.iana.org/assignments/media-types/media-types.xhtml



@@ 146,6 146,7 @@
      # Desktop
      discord           # Chat
      telegram-desktop  # Chat
      element-desktop  # Chat
      cinny-desktop     # Chat
      ffmpeg           # Video Support (dslr)


A modules/desktop/dm/greetd.nix => modules/desktop/dm/greetd.nix +17 -0
@@ 0,0 1,17 @@
{ pkgs, ... }:

{
  services.greetd = {
    enable = true;
    settings = {
      default_session = {
        user = "ruther";
        command = "${pkgs.greetd.tuigreet}/bin/tuigreet --cmd '${pkgs.qtile}/bin/qtile start'";
      };
      gnome = {
        user = "ruther";
        command = "${pkgs.greetd.tuigreet}/bin/tuigreet --cmd '${pkgs.gnome.gnome-session}/bin/gnome-session'";
      };
    };
  };
}

M modules/editors/emacs/doom.d/config.el => modules/editors/emacs/doom.d/config.el +2 -2
@@ 114,8 114,6 @@
  (lsp-ui-sideline-show-hover t)
  (lsp-ui-doc-enable nil))

(after! centaur-tabs (centaur-tabs-group-by-projectile-project))

;; imenu

(setq imenu-list-focus-after-activation t)


@@ 262,3 260,5 @@
(add-hook 'xref-backend-functions #'dumb-jump-xref-activate)

(setq avy-all-windows t)

(remove-hook 'doom-first-buffer-hook #'smartparens-global-mode)

M modules/editors/emacs/doom.d/init.el => modules/editors/emacs/doom.d/init.el +2 -2
@@ 75,8 75,8 @@

       :term
       eshell            ; the elisp shell that works everywhere
       shell             ; simple shell REPL for Emacs
       ;;term              ; basic terminal emulator for Emacs
       ;;shell             ; simple shell REPL for Emacs
       term              ; basic terminal emulator for Emacs
       ;;vterm             ; the best terminal emulation in Emacs

       :checkers

M modules/services/wireguard.nix => modules/services/wireguard.nix +1 -1
@@ 30,7 30,7 @@

      peers = [
        {
          publicKey = "Mui5wOV21QTer4NK2dUcBOgaW9UFzFzwmxOn/458ByI=";
          publicKey = "ZOVjmgUak67kLhNVgZwyb0bro3Yi4vCJbGArv+35IWQ=";
          endpoint = inputs.semi-secrets.wg.serverEndpoint;

            # The ip is not refreshed, as the kernel cannot perform DNS resolution. Use dynamicEndpointRefreshSeconds,

Do not follow this link