mirror of
https://github.com/zoriya/flake.git
synced 2026-06-08 12:53:13 +00:00
Migrate to zen
This commit is contained in:
Generated
+37
-20
@@ -7,11 +7,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1732108588,
|
"lastModified": 1732293079,
|
||||||
"narHash": "sha256-14WgIZbSquzyAXWtBwYPl9SFHcaBYZCPstI0Qv1N8cE=",
|
"narHash": "sha256-e4991+N5MYtv7wuXVZouaRMi60+vFqnf66+8OM4i1MY=",
|
||||||
"owner": "aylur",
|
"owner": "aylur",
|
||||||
"repo": "astal",
|
"repo": "astal",
|
||||||
"rev": "4fcf3c9e49dfd9cc54f2669297ea6dd9c5771476",
|
"rev": "d3d95aaa52ea2433bb1a4945029238b93177f31d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -173,11 +173,11 @@
|
|||||||
"zig": "zig"
|
"zig": "zig"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1732159111,
|
"lastModified": 1732297688,
|
||||||
"narHash": "sha256-dIHQDtvPXsuv0z6DVgK6GvTh/jJn14B7Q9J0gT38Pl4=",
|
"narHash": "sha256-PnJXc3Ad9yweL/TaOUAkwGFUqPvbSWbw1l3niOhno4I=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "63bf16ff00ccac2f730519b4f0dd14cde857792d",
|
"rev": "7bae9e1d20892fc0f01906cb3227015de800a44d",
|
||||||
"revCount": 8050,
|
"revCount": 8068,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "ssh://git@github.com/mitchellh/ghostty"
|
"url": "ssh://git@github.com/mitchellh/ghostty"
|
||||||
},
|
},
|
||||||
@@ -264,11 +264,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1732178333,
|
"lastModified": 1732300290,
|
||||||
"narHash": "sha256-AtWOjD0hmJx7EmMrXgsYb8bhfG2voByXpfew9P78pjw=",
|
"narHash": "sha256-WKtcR7kK/KT9DSbA3KVKejZYyxuB7/76HLuHFeBjevk=",
|
||||||
"owner": "zoriya",
|
"owner": "zoriya",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "86d35b6fd92bdd141972a1856a9ee8ed7c98239b",
|
"rev": "9a0496a667d2c2745768afe04ecd7586910a6534",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -304,11 +304,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1732173780,
|
"lastModified": 1732234033,
|
||||||
"narHash": "sha256-pszcETwWdItBmb/Z2CqIiTfEiVl3K5TPpgFSwyQrghY=",
|
"narHash": "sha256-94yZ7eJiLvW+UknI5RZBCV6OMHtoSv1oWyOwKjTmS88=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "neovim-nightly-overlay",
|
"repo": "neovim-nightly-overlay",
|
||||||
"rev": "151fab1aa35e1cbc6f5caad1e175e3d621d67951",
|
"rev": "10e11c32a4f4f7c9d64f45413642ded11fc538b6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -320,11 +320,11 @@
|
|||||||
"neovim-src": {
|
"neovim-src": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1732143030,
|
"lastModified": 1732229552,
|
||||||
"narHash": "sha256-XKPsbjqHmwbiyzZdqNtw0tKxWLGFCkVB1+Awbi8tjQU=",
|
"narHash": "sha256-7tA7IeOjx1wgDQnY7RxIhIuwcFeSZu4Yc3WtLh+22TE=",
|
||||||
"owner": "neovim",
|
"owner": "neovim",
|
||||||
"repo": "neovim",
|
"repo": "neovim",
|
||||||
"rev": "07db909eb5ae2a559771068be64439eba394cd61",
|
"rev": "ff75f345ab5fa57c6560db021e8eb099aff90472",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -340,11 +340,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1732016537,
|
"lastModified": 1732229547,
|
||||||
"narHash": "sha256-XwXUK+meYnlhdQz2TVE4Wv+tsx1CkdGbDPt1tRzCNH4=",
|
"narHash": "sha256-vtUhSQFgDfyyNM6rgmn35A2T+L5PXBS0H89cxWK9N2A=",
|
||||||
"owner": "LnL7",
|
"owner": "LnL7",
|
||||||
"repo": "nix-darwin",
|
"repo": "nix-darwin",
|
||||||
"rev": "61cee20168a3ebb71a9efd70a55adebaadfbe4d4",
|
"rev": "edabc790a834326dcb5810e2698fa743483510d0",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -456,7 +456,8 @@
|
|||||||
"nixos-hardware": "nixos-hardware",
|
"nixos-hardware": "nixos-hardware",
|
||||||
"nixos-wsl": "nixos-wsl",
|
"nixos-wsl": "nixos-wsl",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"river-src": "river-src"
|
"river-src": "river-src",
|
||||||
|
"zen": "zen"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems": {
|
"systems": {
|
||||||
@@ -489,6 +490,22 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"zen": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1731699950,
|
||||||
|
"narHash": "sha256-xrH3kz0hhu60CS/MnSWXn6R5NnUFYthWktQ0e8ljxb0=",
|
||||||
|
"owner": "matthewpi",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "4a6be22d0d52df01d0be2346cc6504962251fea7",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "matthewpi",
|
||||||
|
"ref": "zen-browser",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"zig": {
|
"zig": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": [
|
"flake-compat": [
|
||||||
|
|||||||
@@ -42,6 +42,7 @@
|
|||||||
url = "github:LnL7/nix-darwin";
|
url = "github:LnL7/nix-darwin";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
zen.url = "github:matthewpi/nixpkgs/zen-browser";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
@@ -56,6 +57,7 @@
|
|||||||
nixos-hardware,
|
nixos-hardware,
|
||||||
nix-index-database,
|
nix-index-database,
|
||||||
nix-darwin,
|
nix-darwin,
|
||||||
|
zen,
|
||||||
...
|
...
|
||||||
} @ inputs: let
|
} @ inputs: let
|
||||||
user = "zoriya";
|
user = "zoriya";
|
||||||
@@ -116,17 +118,6 @@
|
|||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
fuhen = mkSystem "fuhen" "river" [
|
fuhen = mkSystem "fuhen" "river" [
|
||||||
nixos-hardware.nixosModules.tuxedo-infinitybook-pro14-gen7
|
nixos-hardware.nixosModules.tuxedo-infinitybook-pro14-gen7
|
||||||
({
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
hardware.keyboard.zsa.enable = true;
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
wally-cli
|
|
||||||
ghostty.packages.x86_64-linux.default
|
|
||||||
];
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
saikai = mkSystem "saikai" "server" [];
|
saikai = mkSystem "saikai" "server" [];
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
fileSystems."/tmp" = {
|
fileSystems."/tmp" = {
|
||||||
device = "none";
|
device = "none";
|
||||||
fsType = "tmpfs";
|
fsType = "tmpfs";
|
||||||
options = [ "size=8G" "mode=755" ];
|
options = [ "size=32G" "mode=755" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/nix" = {
|
fileSystems."/nix" = {
|
||||||
@@ -36,7 +36,10 @@
|
|||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [];
|
swapDevices = [{
|
||||||
|
device = "/nix/persist/var/cache/swapfile";
|
||||||
|
size = 64*1024;
|
||||||
|
}];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
|||||||
@@ -49,6 +49,7 @@
|
|||||||
".local/share/waydroid"
|
".local/share/waydroid"
|
||||||
".local/share/bottles"
|
".local/share/bottles"
|
||||||
".var"
|
".var"
|
||||||
|
".zen"
|
||||||
".cache/flatpak"
|
".cache/flatpak"
|
||||||
".local/share/atuin"
|
".local/share/atuin"
|
||||||
# Cache for sessions (keep website logged in, plugin downloaded...)
|
# Cache for sessions (keep website logged in, plugin downloaded...)
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
inputs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
# When editing this, don't forget to edit home.sessionVariables.
|
# When editing this, don't forget to edit home.sessionVariables.
|
||||||
browser = "firefox.desktop";
|
browser = "zen.desktop";
|
||||||
editor = "nvim.desktop";
|
editor = "nvim.desktop";
|
||||||
pdf = "org.pwmt.zathura.desktop";
|
pdf = "org.pwmt.zathura.desktop";
|
||||||
player = "mpv.desktop";
|
player = "mpv.desktop";
|
||||||
@@ -17,8 +18,9 @@ in {
|
|||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
google-chrome
|
google-chrome
|
||||||
vesktop
|
|
||||||
firefox
|
firefox
|
||||||
|
(import inputs.zen { system = "x86_64-linux"; }).zen-browser
|
||||||
|
vesktop
|
||||||
mpv
|
mpv
|
||||||
xdg-utils
|
xdg-utils
|
||||||
zathura
|
zathura
|
||||||
@@ -34,7 +36,7 @@ in {
|
|||||||
|
|
||||||
home.sessionVariables = rec {
|
home.sessionVariables = rec {
|
||||||
TERMINAL = "ghostty";
|
TERMINAL = "ghostty";
|
||||||
BROWSER = "firefox";
|
BROWSER = "zen";
|
||||||
DEFAULT_BROWSER = BROWSER;
|
DEFAULT_BROWSER = BROWSER;
|
||||||
# For rider
|
# For rider
|
||||||
FLATPAK_ENABLE_SDK_EXT = "*";
|
FLATPAK_ENABLE_SDK_EXT = "*";
|
||||||
|
|||||||
Reference in New Issue
Block a user