From 76e3d1569b85c947e18027c5cb20fd2c1aec364f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20Ol=C3=A1h?= Date: Tue, 10 Sep 2024 21:04:51 +0200 Subject: [PATCH 1/7] Update. --- flake.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/flake.lock b/flake.lock index 51f5e86..d00bcdb 100644 --- a/flake.lock +++ b/flake.lock @@ -40,11 +40,11 @@ ] }, "locked": { - "lastModified": 1725694918, - "narHash": "sha256-+HsjshXpqNiJHLaJaK0JnIicJ/a1NquKcfn4YZ3ILgg=", + "lastModified": 1725948275, + "narHash": "sha256-4QOPemDQ9VRLQaAdWuvdDBhh+lEUOAnSMHhdr4nS1mk=", "owner": "nix-community", "repo": "home-manager", - "rev": "aaebdea769a5c10f1c6e50ebdf5924c1a13f0cda", + "rev": "e5fa72bad0c6f533e8d558182529ee2acc9454fe", "type": "github" }, "original": { @@ -167,11 +167,11 @@ }, "nixos-unstable": { "locked": { - "lastModified": 1725432240, - "narHash": "sha256-+yj+xgsfZaErbfYM3T+QvEE2hU7UuE+Jf0fJCJ8uPS0=", + "lastModified": 1725634671, + "narHash": "sha256-v3rIhsJBOMLR8e/RNWxr828tB+WywYIoajrZKFM+0Gg=", "owner": "nixos", "repo": "nixpkgs", - "rev": "ad416d066ca1222956472ab7d0555a6946746a80", + "rev": "574d1eac1c200690e27b8eb4e24887f8df7ac27c", "type": "github" }, "original": { @@ -183,11 +183,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1725432240, - "narHash": "sha256-+yj+xgsfZaErbfYM3T+QvEE2hU7UuE+Jf0fJCJ8uPS0=", + "lastModified": 1725634671, + "narHash": "sha256-v3rIhsJBOMLR8e/RNWxr828tB+WywYIoajrZKFM+0Gg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "ad416d066ca1222956472ab7d0555a6946746a80", + "rev": "574d1eac1c200690e27b8eb4e24887f8df7ac27c", "type": "github" }, "original": { From cfa4a49d5afd52b11327022ca8b752ae558a2790 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20Ol=C3=A1h?= Date: Wed, 11 Sep 2024 18:50:27 +0200 Subject: [PATCH 2/7] Update. --- flake.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/flake.lock b/flake.lock index d00bcdb..cb5d64b 100644 --- a/flake.lock +++ b/flake.lock @@ -40,11 +40,11 @@ ] }, "locked": { - "lastModified": 1725948275, - "narHash": "sha256-4QOPemDQ9VRLQaAdWuvdDBhh+lEUOAnSMHhdr4nS1mk=", + "lastModified": 1726036828, + "narHash": "sha256-ZQHbpyti0jcAKnwQY1lwmooecLmSG6wX1JakQ/eZNeM=", "owner": "nix-community", "repo": "home-manager", - "rev": "e5fa72bad0c6f533e8d558182529ee2acc9454fe", + "rev": "8a1671642826633586d12ac3158e463c7a50a112", "type": "github" }, "original": { @@ -167,11 +167,11 @@ }, "nixos-unstable": { "locked": { - "lastModified": 1725634671, - "narHash": "sha256-v3rIhsJBOMLR8e/RNWxr828tB+WywYIoajrZKFM+0Gg=", + "lastModified": 1725983898, + "narHash": "sha256-4b3A9zPpxAxLnkF9MawJNHDtOOl6ruL0r6Og1TEDGCE=", "owner": "nixos", "repo": "nixpkgs", - "rev": "574d1eac1c200690e27b8eb4e24887f8df7ac27c", + "rev": "1355a0cbfeac61d785b7183c0caaec1f97361b43", "type": "github" }, "original": { @@ -183,11 +183,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1725634671, - "narHash": "sha256-v3rIhsJBOMLR8e/RNWxr828tB+WywYIoajrZKFM+0Gg=", + "lastModified": 1725983898, + "narHash": "sha256-4b3A9zPpxAxLnkF9MawJNHDtOOl6ruL0r6Og1TEDGCE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "574d1eac1c200690e27b8eb4e24887f8df7ac27c", + "rev": "1355a0cbfeac61d785b7183c0caaec1f97361b43", "type": "github" }, "original": { From 00f1e6abb3090b17b5f9c26fc774788aa9ffe912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20Ol=C3=A1h?= Date: Wed, 11 Sep 2024 20:42:59 +0200 Subject: [PATCH 3/7] Tailscale: Enable --shields-up on home. --- hosts/home/services/tailscale.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/home/services/tailscale.nix b/hosts/home/services/tailscale.nix index 6f15268..04f5720 100644 --- a/hosts/home/services/tailscale.nix +++ b/hosts/home/services/tailscale.nix @@ -1,6 +1,6 @@ { services.tailscale = { enable = true; - extraUpFlags = "--accept-routes"; + extraUpFlags = "--accept-routes --shields-up"; }; } From 574aea36c300fa549e41329065765676670262f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20Ol=C3=A1h?= Date: Fri, 13 Sep 2024 22:50:14 +0200 Subject: [PATCH 4/7] Add MS font packages (non-free). --- hosts/home/fonts.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/home/fonts.nix b/hosts/home/fonts.nix index 648107d..d3c6fb5 100644 --- a/hosts/home/fonts.nix +++ b/hosts/home/fonts.nix @@ -13,6 +13,7 @@ }; packages = with pkgs; [ + corefonts hack-font inter nerdfonts @@ -23,6 +24,7 @@ roboto-mono roboto-serif roboto-slab + vistafonts ]; }; } From 62c8610d7a2e5573a174c4d5cbca03b8def221ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20Ol=C3=A1h?= Date: Sat, 14 Sep 2024 10:50:15 +0200 Subject: [PATCH 5/7] Install pwgen. --- home-manager/home/packages.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/home-manager/home/packages.nix b/home-manager/home/packages.nix index 524ba9e..056b0e9 100644 --- a/home-manager/home/packages.nix +++ b/home-manager/home/packages.nix @@ -30,6 +30,7 @@ in { p7zip pciutils pinentry + pwgen rar ripgrep rsync From 34a89f7ccc6b3269d74ca06cf778322e91912b67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20Ol=C3=A1h?= Date: Sun, 15 Sep 2024 11:54:21 +0200 Subject: [PATCH 6/7] Update Lix. --- flake.lock | 26 +++++++++++++------------- flake.nix | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/flake.lock b/flake.lock index cb5d64b..24e848d 100644 --- a/flake.lock +++ b/flake.lock @@ -40,11 +40,11 @@ ] }, "locked": { - "lastModified": 1726036828, - "narHash": "sha256-ZQHbpyti0jcAKnwQY1lwmooecLmSG6wX1JakQ/eZNeM=", + "lastModified": 1726357542, + "narHash": "sha256-p4OrJL2weh0TRtaeu1fmNYP6+TOp/W2qdaIJxxQay4c=", "owner": "nix-community", "repo": "home-manager", - "rev": "8a1671642826633586d12ac3158e463c7a50a112", + "rev": "e524c57b1fa55d6ca9d8354c6ce1e538d2a1f47f", "type": "github" }, "original": { @@ -133,15 +133,15 @@ "lix": { "flake": false, "locked": { - "lastModified": 1718419213, - "narHash": "sha256-WY7BGnu5PnbK4O8cKKv9kvxwzZIGbIQUQLGPHFXitI0=", - "rev": "253546d5fbf8a5aa60ac8164c1b4f5794dc4e9d1", + "lastModified": 1723503926, + "narHash": "sha256-Rosl9iA9MybF5Bud4BTAQ9adbY81aGmPfV8dDBGl34s=", + "rev": "bcaeb6388b8916ac6d1736e3aa2b13313e6a6bd2", "type": "tarball", - "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/253546d5fbf8a5aa60ac8164c1b4f5794dc4e9d1.tar.gz" + "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/bcaeb6388b8916ac6d1736e3aa2b13313e6a6bd2.tar.gz?rev=bcaeb6388b8916ac6d1736e3aa2b13313e6a6bd2" }, "original": { "type": "tarball", - "url": "https://git.lix.systems/lix-project/lix/archive/2.90.0-rc1.tar.gz" + "url": "https://git.lix.systems/lix-project/lix/archive/2.91.0.tar.gz" } }, "lix-module": { @@ -154,15 +154,15 @@ ] }, "locked": { - "lastModified": 1718778548, - "narHash": "sha256-64lB/NO6AQ6z6EDCemPSYZWX/Qc6Rt04cPia5T5v01g=", - "rev": "29ed1bb67751e5b107d08df35d18dda6d45324e9", + "lastModified": 1723510904, + "narHash": "sha256-zNW/rqNJwhq2lYmQf19wJerRuNimjhxHKmzrWWFJYts=", + "rev": "622a2253a071a1fb97a4d3c8103a91114acc1140", "type": "tarball", - "url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/29ed1bb67751e5b107d08df35d18dda6d45324e9.tar.gz" + "url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/622a2253a071a1fb97a4d3c8103a91114acc1140.tar.gz" }, "original": { "type": "tarball", - "url": "https://git.lix.systems/lix-project/nixos-module/archive/2.90.0-rc1.tar.gz" + "url": "https://git.lix.systems/lix-project/nixos-module/archive/2.91.0.tar.gz" } }, "nixos-unstable": { diff --git a/flake.nix b/flake.nix index 132fc37..390996b 100644 --- a/flake.nix +++ b/flake.nix @@ -15,7 +15,7 @@ # https://lix.systems lix-module = { - url = "https://git.lix.systems/lix-project/nixos-module/archive/2.90.0-rc1.tar.gz"; + url = "https://git.lix.systems/lix-project/nixos-module/archive/2.91.0.tar.gz"; inputs.nixpkgs.follows = "nixpkgs"; }; }; From acc151605ce2caac8694533d5c43c48fb056696c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20Ol=C3=A1h?= Date: Sun, 15 Sep 2024 12:15:36 +0200 Subject: [PATCH 7/7] Enable network printer discovery. --- hosts/home/configuration.nix | 2 ++ hosts/home/services/avahi.nix | 7 +++++++ hosts/home/services/printing.nix | 3 +++ 3 files changed, 12 insertions(+) create mode 100644 hosts/home/services/avahi.nix create mode 100644 hosts/home/services/printing.nix diff --git a/hosts/home/configuration.nix b/hosts/home/configuration.nix index 25fffcd..186149d 100644 --- a/hosts/home/configuration.nix +++ b/hosts/home/configuration.nix @@ -7,12 +7,14 @@ ./networking.nix ./programs.nix ./services/autofs.nix + ./services/avahi.nix ./services/blueman.nix ./services/davfs2.nix ./services/dbus.nix ./services/gvfs.nix ./services/openssh.nix ./services/pipewire.nix + ./services/printing.nix ./services/tailscale.nix ./services/teleport.nix ./services/xserver/xkb.nix diff --git a/hosts/home/services/avahi.nix b/hosts/home/services/avahi.nix new file mode 100644 index 0000000..cc3560e --- /dev/null +++ b/hosts/home/services/avahi.nix @@ -0,0 +1,7 @@ +{ + services.avahi = { + enable = true; + nssmdns4 = true; + openFirewall = true; + }; +} diff --git a/hosts/home/services/printing.nix b/hosts/home/services/printing.nix new file mode 100644 index 0000000..dc591ea --- /dev/null +++ b/hosts/home/services/printing.nix @@ -0,0 +1,3 @@ +{ + services.printing.enable = true; +}