Compare commits

...

2 commits

Author SHA1 Message Date
98ad99a867
hm/gui: switch to foot 2025-01-01 13:15:37 +08:00
36d25d2be9
flake.lock: update
• Updated input 'catppuccin':
    'github:catppuccin/nix/a2e641bc6b17129d81d54019e14c9956784c69c6?narHash=sha256-vU7SkHINr%2BNqmZeFLA11plsaUfazKKpdEhI/oTJbK3Q%3D' (2024-12-27)
  → 'github:catppuccin/nix/63290ea1d2a28e65195017ed78a81cfc242ef0df?narHash=sha256-DTcB/kBZULyJztXXnH3OVF5LHLl%2BO670DuLZZNUMnNo%3D' (2024-12-31)
• Updated input 'disko':
    'github:nix-community/disko/3a4de9fa3a78ba7b7170dda6bd8b4cdab87c0b21?narHash=sha256-Tc35Y8H%2BkrA6rZeOIczsaGAtobSSBPqR32AfNTeHDRc%3D' (2024-12-24)
  → 'github:nix-community/disko/84a5b93637cc16cbfcc61b6e1684d626df61eb21?narHash=sha256-2dt1nOe9zf9pDkf5Kn7FUFyPRo581s0n90jxYXJ94l0%3D' (2024-12-29)
• Updated input 'home-manager':
    'github:nix-community/home-manager/b7a7cd5dd1a74a9fe86ed4e016f91c78483b527a?narHash=sha256-p7IJP/97zJda/wwCn1T2LJBz4olF5LjNf4uwhuyvARo%3D' (2024-12-27)
  → 'github:nix-community/home-manager/10e99c43cdf4a0713b4e81d90691d22c6a58bdf2?narHash=sha256-CyCZFhMUkuYbSD6bxB/r43EdmDE7hYeZZPTCv0GudO4%3D' (2024-12-28)
• Updated input 'nix-index-database':
    'github:Mic92/nix-index-database/7e3246f6ad43b44bc1c16d580d7bf6467f971530?narHash=sha256-kWNi45/mRjQMG%2BUpaZQ7KyPavYrKfle3WgLn9YeBBVg%3D' (2024-12-26)
  → 'github:Mic92/nix-index-database/55ab1e1df5daf2476e6b826b69a82862dcbd7544?narHash=sha256-AydPpRBh8%2BNOkrLylG7vTsHrGO2b5L7XkMEL5HlzcA8%3D' (2024-12-29)
• Updated input 'nix-vscode-extensions':
    'github:nix-community/nix-vscode-extensions/57719f14beefb91c5b58da26bb9cffbdb4f70bfa?narHash=sha256-rNhcGVh6Xnc0DKWR5RTTD9OxucfAotd41LEuMCGz228%3D' (2024-12-28)
  → 'github:nix-community/nix-vscode-extensions/347788291ac0c12ca94985b0d56ab1a8d0ff8963?narHash=sha256-ujnG10iww5jUevENbBEpJBI2emTlLq%2BudZ/oSMEJ3Hs%3D' (2025-01-01)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/def1d472c832d77885f174089b0d34854b007198?narHash=sha256-QIhd8/0x30gEv8XEE1iAnrdMlKuQ0EzthfDR7Hwl%2Bfk%3D' (2024-12-23)
  → 'github:NixOS/nixos-hardware/7c674c6734f61157e321db595dbfcd8523e04e19?narHash=sha256-e5IOgjQf0SZcFCEV/gMGrsI0gCJyqOKShBQU0iiM3Kg%3D' (2024-12-28)
• Updated input 'nixos-sbc':
    'github:nakato/nixos-sbc/0f6fe1d77b3fc2198aabf76453f0a5159c9835c5?narHash=sha256-XIIf8bU1khErw%2Bdm66CdtHKQUGTMXuARWx08FtGNjqo%3D' (2024-12-26)
  → 'github:nakato/nixos-sbc/2bdf5ca7326861a23edcbea46647ec5e3725daed?narHash=sha256-NxyRlZl/Io0lT5kaSsnlm0KpTVac4sElIbi6V3qL3bk%3D' (2024-12-30)
• Updated input 'nixpkgs':
    'github:xinyangli/nixpkgs/81d86565f2130d14bc36bf2c4e8fab1c4f85e505?narHash=sha256-zcF09G4SuoY/obD0B5PeEcVKM/n9cQnxjFHZZhAchao%3D' (2024-12-28)
  → 'github:xinyangli/nixpkgs/51e90df62b8fcd53e80761cbfa568e183a2c3a42?narHash=sha256-2QcaFAbsTS3doNHCvF48WEd1YiOzJKoXnXDMNjzAL4Q%3D' (2025-01-01)
• Updated input 'nixpkgs-stable':
    'github:nixos/nixpkgs/31ac92f9628682b294026f0860e14587a09ffb4b?narHash=sha256-JMRV2RI58nV1UqLXqm%2Blcea1/dr92fYjWU5S%2BRz3fmE%3D' (2024-12-27)
  → 'github:nixos/nixpkgs/b134951a4c9f3c995fd7be05f3243f8ecd65d798?narHash=sha256-OnSAY7XDSx7CtDoqNh8jwVwh4xNL/2HaJxGjryLWzX8%3D' (2024-12-30)
• Updated input 'nur':
    'github:nix-community/NUR/538f624930cdfb852e4e3dd055f79e932d5b3c16?narHash=sha256-B%2BPNIYtTmgnTV/wdA/qrYohmeBHaYrDwVAueODdvtlo%3D' (2024-12-27)
  → 'github:nix-community/NUR/21096db6c9ba41cd300a22ee42b86851366bd94f?narHash=sha256-b7iPAqFGwY1rRv0xdT/vsZjo8UnbJFPf9U9PC2OuU4U%3D' (2025-01-01)
• Updated input 'nur/nixpkgs':
    'github:nixos/nixpkgs/634fd46801442d760e09493a794c4f15db2d0cbb?narHash=sha256-NYVcA06%2BblsLG6wpAbSPTCyLvxD/92Hy4vlY9WxFI1M%3D' (2024-12-27)
  → 'github:nixos/nixpkgs/88195a94f390381c6afcdaa933c2f6ff93959cb4?narHash=sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs%3D' (2024-12-29)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/ed091321f4dd88afc28b5b4456e0a15bd8374b4d?narHash=sha256-6OvJbqQ6qPpNw3CA%2BW8Myo5aaLhIJY/nNFDk3zMXLfM%3D' (2024-12-18)
  → 'github:Mic92/sops-nix/bcb8b65aa596866eb7e5c3e1a6cccbf5d1560b27?narHash=sha256-ZjUjbvS06jf4fElOF4ve8EHjbpbRVHHypStoY8HGzk8%3D' (2024-12-29)
2025-01-01 13:14:21 +08:00
4 changed files with 53 additions and 42 deletions

72
flake.lock generated
View file

@ -15,11 +15,11 @@
"nuscht-search": "nuscht-search"
},
"locked": {
"lastModified": 1735263930,
"narHash": "sha256-vU7SkHINr+NqmZeFLA11plsaUfazKKpdEhI/oTJbK3Q=",
"lastModified": 1735634086,
"narHash": "sha256-DTcB/kBZULyJztXXnH3OVF5LHLl+O670DuLZZNUMnNo=",
"owner": "catppuccin",
"repo": "nix",
"rev": "a2e641bc6b17129d81d54019e14c9956784c69c6",
"rev": "63290ea1d2a28e65195017ed78a81cfc242ef0df",
"type": "github"
},
"original": {
@ -129,11 +129,11 @@
]
},
"locked": {
"lastModified": 1735048446,
"narHash": "sha256-Tc35Y8H+krA6rZeOIczsaGAtobSSBPqR32AfNTeHDRc=",
"lastModified": 1735468753,
"narHash": "sha256-2dt1nOe9zf9pDkf5Kn7FUFyPRo581s0n90jxYXJ94l0=",
"owner": "nix-community",
"repo": "disko",
"rev": "3a4de9fa3a78ba7b7170dda6bd8b4cdab87c0b21",
"rev": "84a5b93637cc16cbfcc61b6e1684d626df61eb21",
"type": "github"
},
"original": {
@ -381,11 +381,11 @@
]
},
"locked": {
"lastModified": 1735343815,
"narHash": "sha256-p7IJP/97zJda/wwCn1T2LJBz4olF5LjNf4uwhuyvARo=",
"lastModified": 1735381016,
"narHash": "sha256-CyCZFhMUkuYbSD6bxB/r43EdmDE7hYeZZPTCv0GudO4=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "b7a7cd5dd1a74a9fe86ed4e016f91c78483b527a",
"rev": "10e99c43cdf4a0713b4e81d90691d22c6a58bdf2",
"type": "github"
},
"original": {
@ -568,11 +568,11 @@
]
},
"locked": {
"lastModified": 1735222882,
"narHash": "sha256-kWNi45/mRjQMG+UpaZQ7KyPavYrKfle3WgLn9YeBBVg=",
"lastModified": 1735443188,
"narHash": "sha256-AydPpRBh8+NOkrLylG7vTsHrGO2b5L7XkMEL5HlzcA8=",
"owner": "Mic92",
"repo": "nix-index-database",
"rev": "7e3246f6ad43b44bc1c16d580d7bf6467f971530",
"rev": "55ab1e1df5daf2476e6b826b69a82862dcbd7544",
"type": "github"
},
"original": {
@ -592,11 +592,11 @@
]
},
"locked": {
"lastModified": 1735350281,
"narHash": "sha256-rNhcGVh6Xnc0DKWR5RTTD9OxucfAotd41LEuMCGz228=",
"lastModified": 1735696423,
"narHash": "sha256-ujnG10iww5jUevENbBEpJBI2emTlLq+udZ/oSMEJ3Hs=",
"owner": "nix-community",
"repo": "nix-vscode-extensions",
"rev": "57719f14beefb91c5b58da26bb9cffbdb4f70bfa",
"rev": "347788291ac0c12ca94985b0d56ab1a8d0ff8963",
"type": "github"
},
"original": {
@ -607,11 +607,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1734954597,
"narHash": "sha256-QIhd8/0x30gEv8XEE1iAnrdMlKuQ0EzthfDR7Hwl+fk=",
"lastModified": 1735388221,
"narHash": "sha256-e5IOgjQf0SZcFCEV/gMGrsI0gCJyqOKShBQU0iiM3Kg=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "def1d472c832d77885f174089b0d34854b007198",
"rev": "7c674c6734f61157e321db595dbfcd8523e04e19",
"type": "github"
},
"original": {
@ -628,11 +628,11 @@
]
},
"locked": {
"lastModified": 1735186792,
"narHash": "sha256-XIIf8bU1khErw+dm66CdtHKQUGTMXuARWx08FtGNjqo=",
"lastModified": 1735576041,
"narHash": "sha256-NxyRlZl/Io0lT5kaSsnlm0KpTVac4sElIbi6V3qL3bk=",
"owner": "nakato",
"repo": "nixos-sbc",
"rev": "0f6fe1d77b3fc2198aabf76453f0a5159c9835c5",
"rev": "2bdf5ca7326861a23edcbea46647ec5e3725daed",
"type": "github"
},
"original": {
@ -688,11 +688,11 @@
},
"nixpkgs-stable_2": {
"locked": {
"lastModified": 1735286948,
"narHash": "sha256-JMRV2RI58nV1UqLXqm+lcea1/dr92fYjWU5S+Rz3fmE=",
"lastModified": 1735563628,
"narHash": "sha256-OnSAY7XDSx7CtDoqNh8jwVwh4xNL/2HaJxGjryLWzX8=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "31ac92f9628682b294026f0860e14587a09ffb4b",
"rev": "b134951a4c9f3c995fd7be05f3243f8ecd65d798",
"type": "github"
},
"original": {
@ -704,11 +704,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1735350617,
"narHash": "sha256-zcF09G4SuoY/obD0B5PeEcVKM/n9cQnxjFHZZhAchao=",
"lastModified": 1735708230,
"narHash": "sha256-2QcaFAbsTS3doNHCvF48WEd1YiOzJKoXnXDMNjzAL4Q=",
"owner": "xinyangli",
"repo": "nixpkgs",
"rev": "81d86565f2130d14bc36bf2c4e8fab1c4f85e505",
"rev": "51e90df62b8fcd53e80761cbfa568e183a2c3a42",
"type": "github"
},
"original": {
@ -720,11 +720,11 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1735291276,
"narHash": "sha256-NYVcA06+blsLG6wpAbSPTCyLvxD/92Hy4vlY9WxFI1M=",
"lastModified": 1735471104,
"narHash": "sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "634fd46801442d760e09493a794c4f15db2d0cbb",
"rev": "88195a94f390381c6afcdaa933c2f6ff93959cb4",
"type": "github"
},
"original": {
@ -767,11 +767,11 @@
"treefmt-nix": "treefmt-nix_2"
},
"locked": {
"lastModified": 1735337462,
"narHash": "sha256-B+PNIYtTmgnTV/wdA/qrYohmeBHaYrDwVAueODdvtlo=",
"lastModified": 1735705238,
"narHash": "sha256-b7iPAqFGwY1rRv0xdT/vsZjo8UnbJFPf9U9PC2OuU4U=",
"owner": "nix-community",
"repo": "NUR",
"rev": "538f624930cdfb852e4e3dd055f79e932d5b3c16",
"rev": "21096db6c9ba41cd300a22ee42b86851366bd94f",
"type": "github"
},
"original": {
@ -853,11 +853,11 @@
]
},
"locked": {
"lastModified": 1734546875,
"narHash": "sha256-6OvJbqQ6qPpNw3CA+W8Myo5aaLhIJY/nNFDk3zMXLfM=",
"lastModified": 1735468296,
"narHash": "sha256-ZjUjbvS06jf4fElOF4ve8EHjbpbRVHHypStoY8HGzk8=",
"owner": "Mic92",
"repo": "sops-nix",
"rev": "ed091321f4dd88afc28b5b4456e0a15bd8374b4d",
"rev": "bcb8b65aa596866eb7e5c3e1a6cccbf5d1560b27",
"type": "github"
},
"original": {

View file

@ -5,6 +5,7 @@ in
{
imports = [
./common
./common/gui/foot.nix
];
programs.nix-index-database.comma.enable = true;
@ -58,12 +59,6 @@ in
xdg.enable = true;
custom-hm = {
alacritty = {
enable = true;
};
cosmic-term = {
enable = true;
};
direnv = {
enable = true;
};

View file

@ -0,0 +1,15 @@
{ pkgs, lib, ... }:
{
programs.foot = {
enable = true;
settings = {
main = {
font = "monospace:size=14";
};
desktop-notifications = {
command = "${lib.getExe pkgs.libnotify} --wait --app-name \${app-id} --icon \${app-id} --category \${category} --urgency \${urgency} --expire-time \${expire-time} --hint STRING:image-path:\${icon} --hint BOOLEAN:suppress-sound:\${muted} --hint STRING:sound-name:\${sound-name} --replace-id \${replace-id} \${action-argument} --print-id -- \${title} \${body}";
inhibit-when-focused = "yes";
};
};
};
}

View file

@ -164,6 +164,7 @@ in
ids = [ "0b05:1866" ];
settings = {
main = {
capslock = "overload(control, esc)";
leftcontrol = "capslock";
};
};