Compare commits

..

1 commit

Author SHA1 Message Date
da4fc60c80 flake.lock: Update
Some checks failed
/ test (push) Failing after 18m20s
Flake lock file updates:

• Updated input 'catppuccin':
    'github:catppuccin/nix/07beb389d69a52c4dd5895da9553463c3740a26a' (2025-04-04)
  → 'github:catppuccin/nix/6268e50dbb0ac9375e110560395b5dc199e4dfb8' (2025-04-22)
• Updated input 'catppuccin/nixpkgs':
    'github:NixOS/nixpkgs/2c8d3f48d33929642c1c12cd243df4cc7d2ce434' (2025-04-02)
  → 'github:NixOS/nixpkgs/2631b0b7abcea6e640ce31cd78ea58910d31e650' (2025-04-12)
• Updated input 'disko':
    'github:nix-community/disko/76c0a6dba345490508f36c1aa3c7ba5b6b460989' (2025-04-08)
  → 'github:nix-community/disko/c5140c6079ff690e85eac0b86e254de16a79a4b7' (2025-04-23)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/8aa1c071bbcb8a270bb841e4797a0d14528709d4' (2025-04-11)
  → 'github:nix-community/emacs-overlay/d8bad40da349c15b37f83159019a5e7f452cecc6' (2025-04-23)
• Updated input 'emacs-overlay/nixpkgs':
    'github:NixOS/nixpkgs/c8cd81426f45942bb2906d5ed2fe21d2f19d95b7' (2025-04-08)
  → 'github:NixOS/nixpkgs/c11863f1e964833214b767f4a369c6e6a7aba141' (2025-04-21)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/60e405b241edb6f0573f3d9f944617fe33ac4a73' (2025-04-09)
  → 'github:NixOS/nixpkgs/9684b53175fc6c09581e94cc85f05ab77464c7e3' (2025-04-21)
• Updated input 'homeManager':
    'github:nix-community/home-manager/f1ffd097e717a8d1b441577b8d23f9d2c96e0657' (2025-04-11)
  → 'github:nix-community/home-manager/6c132a098e61163fb559db986efe913acd3df4e7' (2025-04-23)
• Updated input 'lanzaboote':
    'github:nix-community/lanzaboote/d8099586d9a84308ffedac07880e7f07a0180ff4' (2025-03-08)
  → 'github:nix-community/lanzaboote/995637eb3ab78eac33f8ee6b45cc2ecd5ede12ba' (2025-04-21)
• Updated input 'lanzaboote/crane':
    'github:ipetkov/crane/75390a36cd0c2cdd5f1aafd8a9f827d7107f2e53' (2025-03-05)
  → 'github:ipetkov/crane/bb1c9567c43e4434f54e9481eb4b8e8e0d50f0b5' (2025-03-09)
• Updated input 'lanzaboote/flake-parts':
    'github:hercules-ci/flake-parts/3876f6b87db82f33775b1ef5ea343986105db764' (2025-03-01)
  → 'github:hercules-ci/flake-parts/f4330d22f1c5d2ba72d3d22df5597d123fdb60a9' (2025-03-07)
• Updated input 'lanzaboote/pre-commit-hooks-nix':
    'github:cachix/pre-commit-hooks.nix/42b1ba089d2034d910566bf6b40830af6b8ec732' (2025-03-02)
  → 'github:cachix/pre-commit-hooks.nix/b5a62751225b2f62ff3147d0a334055ebadcd5cc' (2025-03-07)
• Updated input 'lanzaboote/rust-overlay':
    'github:oxalica/rust-overlay/38e9826bc4296c9daf18bc1e6aa299f3e932a403' (2025-03-06)
  → 'github:oxalica/rust-overlay/c777dc8a1e35407b0e80ec89817fe69970f4e81a' (2025-03-10)
• Updated input 'lix':
    'git+https://git@git.lix.systems/lix-project/lix?ref=refs/heads/main&rev=81d476984901d1f00fdcac36a0a8f06cb54048f6' (2025-04-10)
  → 'git+https://git@git.lix.systems/lix-project/lix?ref=refs/heads/main&rev=7dbdd5bd0cb44b3e0c1bebc91c1f5a4d46d6b702' (2025-04-22)
• Updated input 'nixosHardware':
    'github:NixOS/nixos-hardware/de6fc5551121c59c01e2a3d45b277a6d05077bc4' (2025-03-31)
  → 'github:NixOS/nixos-hardware/8bf8a2a0822365bd8f44fd1a19d7ed0a1d629d64' (2025-04-23)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c8cd81426f45942bb2906d5ed2fe21d2f19d95b7' (2025-04-08)
  → 'github:NixOS/nixpkgs/c11863f1e964833214b767f4a369c6e6a7aba141' (2025-04-21)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/815e4121d6a5d504c0f96e5be2dd7f871e4fd99d' (2025-04-04)
  → 'github:numtide/treefmt-nix/8d404a69efe76146368885110f29a2ca3700bee6' (2025-04-18)
2025-04-23 15:02:05 +00:00
9 changed files with 46 additions and 63 deletions

44
flake.lock generated
View file

@ -83,11 +83,11 @@
]
},
"locked": {
"lastModified": 1745502102,
"narHash": "sha256-LqhRwzvIVPEjH0TaPgwzqpyhW6DtCrvz7FnUJDoUZh8=",
"lastModified": 1745369821,
"narHash": "sha256-mi6cAjuBztm9gFfpiVo6mAn81cCID6nmDXh5Kmyjwyc=",
"owner": "nix-community",
"repo": "disko",
"rev": "ca27b88c88948d96feeee9ed814cbd34f53d0d70",
"rev": "c5140c6079ff690e85eac0b86e254de16a79a4b7",
"type": "github"
},
"original": {
@ -122,11 +122,11 @@
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
"lastModified": 1745511950,
"narHash": "sha256-vO7gtC4nVqfTf1ZEg9gksds/Xesvim4qy+8ewF91ufo=",
"lastModified": 1745400268,
"narHash": "sha256-dNSzXe3GNwoBYUBGBjXTvBaWfBSDFheWyIbEu+g0Et8=",
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "2e939b25ef18fd3efbd60829fc7f87c8235cdd40",
"rev": "d8bad40da349c15b37f83159019a5e7f452cecc6",
"type": "github"
},
"original": {
@ -387,11 +387,11 @@
]
},
"locked": {
"lastModified": 1745494811,
"narHash": "sha256-YZCh2o9Ua1n9uCvrvi5pRxtuVNml8X2a03qIFfRKpFs=",
"lastModified": 1745416071,
"narHash": "sha256-L8mEeVZvS1e0XaEDsibClr4MhBzqrxhUDiiAIbDnZGM=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "abfad3d2958c9e6300a883bd443512c55dfeb1be",
"rev": "6c132a098e61163fb559db986efe913acd3df4e7",
"type": "github"
},
"original": {
@ -464,11 +464,11 @@
"lix": {
"flake": false,
"locked": {
"lastModified": 1745512428,
"narHash": "sha256-Gy2jKtVPEzxfTezBS3lFS3hI8xZ7wtEAw8HSi2w/3Nw=",
"lastModified": 1745340344,
"narHash": "sha256-FUhusarVwMBrKmsfLFWj+L67/JT4bO/FILhHqKQLnZs=",
"ref": "refs/heads/main",
"rev": "c36c83c4c6ceb6166cf4a6867354d7244a0c7984",
"revCount": 17789,
"rev": "7dbdd5bd0cb44b3e0c1bebc91c1f5a4d46d6b702",
"revCount": 17786,
"type": "git",
"url": "https://git@git.lix.systems/lix-project/lix"
},
@ -569,11 +569,11 @@
},
"nixosHardware": {
"locked": {
"lastModified": 1745503349,
"narHash": "sha256-bUGjvaPVsOfQeTz9/rLTNLDyqbzhl0CQtJJlhFPhIYw=",
"lastModified": 1745392233,
"narHash": "sha256-xmqG4MZArM1JNxPJ33s0MtuBzgnaCO9laARoU3AfP8E=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "f7bee55a5e551bd8e7b5b82c9bc559bc50d868d1",
"rev": "8bf8a2a0822365bd8f44fd1a19d7ed0a1d629d64",
"type": "github"
},
"original": {
@ -711,11 +711,11 @@
},
"nixpkgs_4": {
"locked": {
"lastModified": 1745391562,
"narHash": "sha256-sPwcCYuiEopaafePqlG826tBhctuJsLx/mhKKM5Fmjo=",
"lastModified": 1745234285,
"narHash": "sha256-GfpyMzxwkfgRVN0cTGQSkTC0OHhEkv3Jf6Tcjm//qZ0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8a2f738d9d1f1d986b5a4cd2fd2061a7127237d7",
"rev": "c11863f1e964833214b767f4a369c6e6a7aba141",
"type": "github"
},
"original": {
@ -742,11 +742,11 @@
},
"nixpkgs_6": {
"locked": {
"lastModified": 1745391562,
"narHash": "sha256-sPwcCYuiEopaafePqlG826tBhctuJsLx/mhKKM5Fmjo=",
"lastModified": 1745234285,
"narHash": "sha256-GfpyMzxwkfgRVN0cTGQSkTC0OHhEkv3Jf6Tcjm//qZ0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8a2f738d9d1f1d986b5a4cd2fd2061a7127237d7",
"rev": "c11863f1e964833214b767f4a369c6e6a7aba141",
"type": "github"
},
"original": {

View file

@ -1,4 +1,8 @@
{ pkgs, ... }:
let
in
# nixpkgs = builtins.getFlake "github:NixOS/nixpkgs/932fc16b263f26803d3960e4400bc13dde84a972";
# chirp = nixpkgs.legacyPackages.${pkgs.system}.chirp;
{
home.packages = [ pkgs.chirp ];
}

View file

@ -690,39 +690,9 @@
(defalias (car alias) (cdr alias)))
ccr/eshell-aliases)
(defun ccr/eshell-get-current-input ()
"Restituisce l'input corrente dell'utente nella riga Eshell."
(when (eq major-mode 'eshell-mode)
(let ((start (save-excursion (eshell-bol) (point)))
(end (point-at-eol)))
(buffer-substring-no-properties start end))))
(defun ccr/eshell-replace-current-input (new-input)
(when (eq major-mode 'eshell-mode)
(let ((inhibit-read-only t))
(eshell-bol)
(delete-region (point) (point-at-eol))
(insert new-input)
(end-of-line))))
(defun ccr/eshell-history ()
(interactive)
(when (eq major-mode 'eshell-mode)
(let* ((current-input (ccr/eshell-get-current-input))
(eshell-history (when (and eshell-history-file-name
(file-readable-p eshell-history-file-name))
(f-read-text eshell-history-file-name)))
(bash-history (when (file-readable-p "~/.bash_history")
(f-read-text "~/.bash_history")))
(history (split-string (concat (or eshell-history "") "\n"
(or bash-history "")) "\n" t))
(selection (completing-read "History: " history nil t current-input)))
(ccr/eshell-replace-current-input selection))))
:bind (("C-c o e" . project-eshell)
(:map eshell-mode-map
("C-r" . ccr/eshell-history)
("C-r" . eshell-atuin-history)
("C-<return>" . corfu-send)
))) ;; i.e. just C-r in semi-char-mode

View file

@ -1,8 +1,7 @@
{ pkgs, ... }:
{
home.packages = [
(builtins.getFlake "github:NixOS/nixpkgs/063dece00c5a77e4a0ea24e5e5a5bd75232806f8")
.legacyPackages.${pkgs.system}.sdrangel
pkgs.sdrangel
pkgs.kdePackages.qtlocation
];
}

View file

@ -22,4 +22,8 @@
home.packages = with pkgs; [
rofi-power-menu
];
# waybar needs the hyprctl binary in PATH when started in hyprland
# TODO still needed?
systemd.user.services.waybar.Service.Environment = "PATH=${lib.makeBinPath [ pkgs.hyprland ]}";
}

View file

@ -97,7 +97,6 @@
"ib-tws"
"zoom"
"pantalaimon"
"moonlight"
];
extraGroups = [ "plugdev" ];
backupPaths = [ ];

View file

@ -61,6 +61,7 @@
"udiskie"
"xdg"
# "spotify"
"lutris"
"wine"
"cura"
"chrome"
@ -70,6 +71,7 @@
"tor-browser"
"kicad"
"monero"
# "zulip"
"teams"
"obs-studio"
"calibre"
@ -86,6 +88,7 @@
"chirp"
"sdrangel"
"discord"
# "ib-tws"
"zoom"
"pantalaimon"
];
@ -98,12 +101,20 @@
boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci"
# "ahci"
"usbhid"
# "r8169"
"thunderbolt"
"vmd"
"usb_storage"
"sd_mod"
];
boot.kernelModules = [
# "kvm-amd"
# "ddcci"
# "ddcci-backlight"
# "i2c-dev" # needed?
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
@ -141,12 +152,6 @@
];
};
fileSystems."/mnt/shared" = {
device = "/dev/nvme0n1p2";
fsType = "ntfs";
options = [ "nofail" ];
};
services.zfs.autoScrub.enable = true;
networking.hostId = "30fc8ed7";

View file

@ -1,5 +1,7 @@
{
lib,
config,
vpn,
...
}:
{

View file

@ -9,7 +9,7 @@
networking.nat.enable = true;
networking.firewall.allowedUDPPorts = [ config.networking.wireguard.interfaces.wg0.listenPort ];
networking.firewall.allowedUDPPorts = [ config.networking.wireguard.interfaces.wg0.listenPort ]; # FIXME move this to wireguard-server
networking.wireguard.interfaces.wg0 = {
ips = [ "${vpn.${config.networking.hostName}.ip}/24" ];