Compare commits
No commits in common. "ce59b6ed9cf11cb300cbdde6bc2aeb7f833c8893" and "db3b60a846891234f2967d1f9e7f6ab0aa50dc66" have entirely different histories.
ce59b6ed9c
...
db3b60a846
186 changed files with 1995 additions and 3921 deletions
|
|
@ -9,6 +9,7 @@ _: {
|
||||||
"usb_storage"
|
"usb_storage"
|
||||||
"sd_mod"
|
"sd_mod"
|
||||||
"btrfs"
|
"btrfs"
|
||||||
|
"amneziawg"
|
||||||
"cryptd"
|
"cryptd"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
@ -21,7 +22,7 @@ _: {
|
||||||
kernelModules = [
|
kernelModules = [
|
||||||
"amdgpu"
|
"amdgpu"
|
||||||
"zenpower"
|
"zenpower"
|
||||||
"i2c-dev"
|
"amneziawg"
|
||||||
];
|
];
|
||||||
|
|
||||||
luks = {
|
luks = {
|
||||||
|
|
|
||||||
|
|
@ -20,13 +20,14 @@
|
||||||
extraModulePackages = with config.boot.kernelPackages; [
|
extraModulePackages = with config.boot.kernelPackages; [
|
||||||
zenpower
|
zenpower
|
||||||
v4l2loopback
|
v4l2loopback
|
||||||
|
amneziawg
|
||||||
];
|
];
|
||||||
|
|
||||||
kernelModules = [
|
kernelModules = [
|
||||||
"amdgpu"
|
"amdgpu"
|
||||||
"zenpower"
|
"zenpower"
|
||||||
"v4l2loopback"
|
"v4l2loopback"
|
||||||
"i2c_dev"
|
"amneziawg"
|
||||||
];
|
];
|
||||||
|
|
||||||
kernelParams = [
|
kernelParams = [
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
{self, ...}: {
|
{self, ...}: {
|
||||||
imports = [
|
imports = [
|
||||||
"${self}/ada/age/rekey.nix"
|
|
||||||
|
|
||||||
"${self}/ada/boot/initrd.nix"
|
"${self}/ada/boot/initrd.nix"
|
||||||
"${self}/ada/boot/kernel.nix"
|
"${self}/ada/boot/kernel.nix"
|
||||||
"${self}/ada/boot/lanzaboote.nix"
|
"${self}/ada/boot/lanzaboote.nix"
|
||||||
|
|
@ -41,6 +39,7 @@
|
||||||
"${self}/ada/nix/package.nix"
|
"${self}/ada/nix/package.nix"
|
||||||
"${self}/ada/nix/settings/allowed-users.nix"
|
"${self}/ada/nix/settings/allowed-users.nix"
|
||||||
"${self}/ada/nix/settings/experimental-features.nix"
|
"${self}/ada/nix/settings/experimental-features.nix"
|
||||||
|
"${self}/ada/nix/settings/substituters.nix"
|
||||||
"${self}/ada/nix/settings/trusted-public-keys.nix"
|
"${self}/ada/nix/settings/trusted-public-keys.nix"
|
||||||
"${self}/ada/nix/settings/trusted-substituters.nix"
|
"${self}/ada/nix/settings/trusted-substituters.nix"
|
||||||
"${self}/ada/nix/settings/trusted-users.nix"
|
"${self}/ada/nix/settings/trusted-users.nix"
|
||||||
|
|
@ -71,14 +70,12 @@
|
||||||
"${self}/ada/services/qmk.nix"
|
"${self}/ada/services/qmk.nix"
|
||||||
"${self}/ada/services/scx.nix"
|
"${self}/ada/services/scx.nix"
|
||||||
"${self}/ada/services/xserver.nix"
|
"${self}/ada/services/xserver.nix"
|
||||||
"${self}/ada/services/yggdrasil.nix"
|
|
||||||
"${self}/ada/services/sunshine.nix"
|
"${self}/ada/services/sunshine.nix"
|
||||||
"${self}/ada/services/usbmuxd.nix"
|
"${self}/ada/services/usbmuxd.nix"
|
||||||
"${self}/ada/services/irqbalance.nix"
|
"${self}/ada/services/irqbalance.nix"
|
||||||
"${self}/ada/services/yubikey-agent.nix"
|
"${self}/ada/services/yubikey-agent.nix"
|
||||||
"${self}/ada/services/resolved.nix"
|
"${self}/ada/services/resolved.nix"
|
||||||
"${self}/ada/services/firewalld.nix"
|
"${self}/ada/services/firewalld.nix"
|
||||||
"${self}/ada/services/zerotier.nix"
|
|
||||||
|
|
||||||
"${self}/ada/sops/defaults.nix"
|
"${self}/ada/sops/defaults.nix"
|
||||||
"${self}/ada/sops/secrets.nix"
|
"${self}/ada/sops/secrets.nix"
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
disko = {
|
disko = {
|
||||||
devices = {
|
devices = {
|
||||||
disk = {
|
disk = {
|
||||||
"main" = {
|
main = {
|
||||||
device = "/dev/disk/by-id/nvme-KINGSTON_SKC3000S_1024G_AA000000000000000013";
|
device = "/dev/disk/by-id/nvme-KINGSTON_SKC3000S_1024G_AA000000000000000013";
|
||||||
type = "disk";
|
type = "disk";
|
||||||
content = {
|
content = {
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,16 @@
|
||||||
{
|
{config, ...}: {
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
environment = {
|
environment = {
|
||||||
variables = {
|
variables = {
|
||||||
|
AMD_VULKAN_ICD = "AMDVLK";
|
||||||
HOSTNAME = config.networking.hostName;
|
HOSTNAME = config.networking.hostName;
|
||||||
QT_QPA_PLATFORMTHEME = lib.mkForce "xdgdesktopportal";
|
QT_QPA_PLATFORM = "wayland";
|
||||||
TDESKTOP_USE_GTK_FILE_DIALOG = 1;
|
|
||||||
SDL_VIDEODRIVER = "wayland";
|
SDL_VIDEODRIVER = "wayland";
|
||||||
CLUTTER_BACKEND = "wayland";
|
CLUTTER_BACKEND = "wayland";
|
||||||
GDK_BACKEND = "wayland";
|
GDK_BACKEND = "wayland";
|
||||||
NIXPKGS_ALLOW_UNFREE = 1;
|
NIXPKGS_ALLOW_UNFREE = "1";
|
||||||
NIXPKGS_ALLOW_INSECURE = 1;
|
NIXPKGS_ALLOW_INSECURE = "1";
|
||||||
NIXOS_OZONE_WL = 1;
|
NIXOS_OZONE_WL = "1";
|
||||||
GRIMBLAST_HIDE_CURSOR = 1;
|
GRIMBLAST_HIDE_CURSOR = "0";
|
||||||
TERM = "xterm-256color";
|
TERM = "xterm-256color";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -4,10 +4,12 @@
|
||||||
"hand7s" = {
|
"hand7s" = {
|
||||||
imports = [
|
imports = [
|
||||||
"${self}/hand7s/"
|
"${self}/hand7s/"
|
||||||
|
self.inputs.agenix.homeManagerModules.default
|
||||||
self.inputs.spicetify-nix.homeManagerModules.default
|
self.inputs.spicetify-nix.homeManagerModules.default
|
||||||
self.inputs.hyprland.homeManagerModules.default
|
self.inputs.hyprland.homeManagerModules.default
|
||||||
self.inputs.chaotic.homeManagerModules.default
|
self.inputs.chaotic.homeManagerModules.default
|
||||||
self.inputs.sops-nix.homeManagerModules.sops
|
self.inputs.sops-nix.homeManagerModules.sops
|
||||||
|
|
||||||
self.inputs.nix-index-database.homeModules.nix-index
|
self.inputs.nix-index-database.homeModules.nix-index
|
||||||
self.inputs.noctalia.homeModules.default
|
self.inputs.noctalia.homeModules.default
|
||||||
];
|
];
|
||||||
|
|
|
||||||
7
ada/networking/hosts.nix
Normal file
7
ada/networking/hosts.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
_: {
|
||||||
|
networking = {
|
||||||
|
hosts = {
|
||||||
|
# nope
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1,9 +1,10 @@
|
||||||
_: {
|
_: {
|
||||||
networking = {
|
networking = {
|
||||||
timeServers = [
|
timeServers = [
|
||||||
"time.cloudflare.com"
|
"0.nixos.pool.ntp.org"
|
||||||
"time.google.com"
|
"1.nixos.pool.ntp.org"
|
||||||
"ru.pool.ntp.org"
|
"2.nixos.pool.ntp.org"
|
||||||
|
"3.nixos.pool.ntp.org"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
19
ada/nix/settings/substituters.nix
Normal file
19
ada/nix/settings/substituters.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
_: {
|
||||||
|
nix = {
|
||||||
|
settings = {
|
||||||
|
substituters = [
|
||||||
|
# cache.nixos.org
|
||||||
|
"https://cache.nixos.org"
|
||||||
|
# cache.garnix.org
|
||||||
|
"https://cache.garnix.io"
|
||||||
|
# cachix
|
||||||
|
"https://nix-community.cachix.org/"
|
||||||
|
"https://chaotic-nyx.cachix.org/"
|
||||||
|
"https://hyprland.cachix.org"
|
||||||
|
"https://chaotic-nyx.cachix.org/"
|
||||||
|
# nix-community
|
||||||
|
"https://hydra.nix-community.org/"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -7,11 +7,12 @@ _: {
|
||||||
# cache.garnix.io
|
# cache.garnix.io
|
||||||
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
||||||
# cachix.org
|
# cachix.org
|
||||||
"devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw="
|
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
"chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
|
"chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
|
||||||
|
"ags.cachix.org-1:naAvMrz0CuYqeyGNyLgE010iUiuf/qx6kYrUv3NwAJ8="
|
||||||
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||||||
"chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
|
"chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
|
||||||
|
"colmena.cachix.org-1:7BzpDnjjH8ki2CT3f6GdOk7QAzPOl+1t3LvTLXqYcSg="
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ _: {
|
||||||
mode = "challenge-response";
|
mode = "challenge-response";
|
||||||
control = "sufficient";
|
control = "sufficient";
|
||||||
id = [
|
id = [
|
||||||
"funnyID"
|
"1873055870"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,18 +1,14 @@
|
||||||
_: {
|
{...}: {
|
||||||
services = {
|
services = {
|
||||||
firewalld = {
|
firewalld = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
zones = {
|
settings = {
|
||||||
"eno1" = {
|
# nope
|
||||||
interfaces = [
|
|
||||||
"ens1"
|
|
||||||
];
|
|
||||||
|
|
||||||
services = [
|
|
||||||
"sunshine"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
zones = {
|
||||||
|
# nope
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
allowSFTP = true;
|
allowSFTP = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
ports = [
|
ports = [
|
||||||
6969
|
53864
|
||||||
];
|
];
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
|
|
|
||||||
11
ada/services/yggdrasil.nix
Normal file
11
ada/services/yggdrasil.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
_: {
|
||||||
|
services = {
|
||||||
|
yggdrasil = {
|
||||||
|
enable = false;
|
||||||
|
persistentKeys = false;
|
||||||
|
settings = {
|
||||||
|
# nope
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
10
ada/services/zerotier.nix
Normal file
10
ada/services/zerotier.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
_: {
|
||||||
|
services = {
|
||||||
|
zerotierone = {
|
||||||
|
enable = true;
|
||||||
|
joinNetworks = [
|
||||||
|
# nope
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
_: {
|
_: {
|
||||||
time = {
|
time = {
|
||||||
timeZone = "Europe/Moscow";
|
timeZone = "Europe/Moscow";
|
||||||
hardwareClockInLocalTime = false;
|
hardwareClockInLocalTime = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,18 +5,10 @@ _: {
|
||||||
description = "me";
|
description = "me";
|
||||||
isSystemUser = false;
|
isSystemUser = false;
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
initialHashedPassword = lib.hashString "sha512" "hand7s";
|
initialHashedPassword = "$6$ckgRhNWmJgSwOUpJ$kfeAdokd5fa76HWbTmWN2YXx4M/PQVOTJku1ODbqbBhEkUFiLftdaJFRnNXfIM3Jtz0ShoRMSVCB7mDkxDrdi/";
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"wheel"
|
"wheel"
|
||||||
];
|
];
|
||||||
|
|
||||||
openssh = {
|
|
||||||
authorizedKeys = {
|
|
||||||
keys = [
|
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDp2IIdR5jV1HyG4aiRX7SfTNrXDhCx5rTiFU40qkOKq litvinovb0@gmail.com"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
{lib, ...}: {
|
_: {
|
||||||
users = {
|
users = {
|
||||||
users = {
|
users = {
|
||||||
"root" = {
|
"root" = {
|
||||||
initialHashedPassword = lib.hashString "sha512" "root";
|
initialHashedPassword = "$6$n4OLMvYHHStHvtmr$6OL0NV1dEM2b6oJRewkhuoFxM80lI67tfbJ6QkCg8WAA1gbeKrcwDAuJjm8zvpY4zcDR3Z5Zbo8uebfOi6XXF0";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
104
doc/flake-tree.canvas
Normal file
104
doc/flake-tree.canvas
Normal file
|
|
@ -0,0 +1,104 @@
|
||||||
|
{
|
||||||
|
"nodes":[
|
||||||
|
{"id":"2e0f697730e2619e","type":"text","text":"nixpkgs","x":-380,"y":240,"width":250,"height":60},
|
||||||
|
{"id":"d23c9d730a76b4da","type":"text","text":"nixos-harware","x":-380,"y":300,"width":250,"height":60},
|
||||||
|
{"id":"0387e0bebaecd2c1","type":"text","text":"nixgl","x":-380,"y":360,"width":250,"height":60},
|
||||||
|
{"id":"8d542b4f6da1a433","type":"text","text":"nur","x":-380,"y":420,"width":250,"height":60},
|
||||||
|
{"id":"0fa8d015874c9fd6","type":"text","text":"nixos-generator","x":-380,"y":480,"width":250,"height":60},
|
||||||
|
{"id":"1d22c5b5fc58c6aa","type":"text","text":"nixos-anywhere","x":-380,"y":540,"width":250,"height":60},
|
||||||
|
{"id":"5057c539e6b7bafd","type":"text","text":"impermanence ","x":-380,"y":600,"width":250,"height":60},
|
||||||
|
{"id":"2183745b1c5ce269","type":"text","text":"home-manager","x":-380,"y":660,"width":250,"height":60},
|
||||||
|
{"id":"93fb370c180eaeb4","type":"text","text":"disko","x":-380,"y":720,"width":250,"height":60},
|
||||||
|
{"id":"8ebb54f97002b2ff","type":"text","text":"lanzaboote","x":-380,"y":780,"width":250,"height":60},
|
||||||
|
{"id":"cfa0732596d24a19","type":"text","text":"vscodeserver","x":-380,"y":840,"width":250,"height":60},
|
||||||
|
{"id":"71e717dc368710cb","type":"text","text":"nix-on-droid","x":-380,"y":900,"width":250,"height":60},
|
||||||
|
{"id":"bb6dd845b1c0b50d","type":"text","text":"freesm","x":-380,"y":960,"width":250,"height":60},
|
||||||
|
{"id":"6d6c9faee88a194d","type":"text","text":"agenix","x":-380,"y":1020,"width":250,"height":60},
|
||||||
|
{"id":"5023b8a10dfa74f3","type":"text","text":"chaotic","x":-380,"y":1080,"width":250,"height":60},
|
||||||
|
{"id":"0e41786babac8426","type":"text","text":"nix-homebrew","x":-380,"y":1140,"width":250,"height":60},
|
||||||
|
{"id":"7fa86bf455f32e1e","type":"text","text":"homebrew-cask","x":-320,"y":1280,"width":250,"height":60},
|
||||||
|
{"id":"412593ea3f394221","type":"text","text":"homebrew-bundle","x":-320,"y":1340,"width":250,"height":60},
|
||||||
|
{"id":"f7b5a940a04300d9","type":"text","text":"homebrew-core","x":-320,"y":1220,"width":250,"height":60},
|
||||||
|
{"id":"ddf0875c03bc6a7d","type":"text","text":"sops-nix","x":-380,"y":1420,"width":250,"height":60},
|
||||||
|
{"id":"db2cc385a2d4fe4a","type":"text","text":"stylix","x":-380,"y":1480,"width":250,"height":60},
|
||||||
|
{"id":"8ce9b94fa9c3dbc3","type":"text","text":"ayugram-desktop","x":-380,"y":1540,"width":250,"height":60},
|
||||||
|
{"id":"7804c9935f33249b","type":"text","text":"hyprland","x":-380,"y":1600,"width":250,"height":60},
|
||||||
|
{"id":"417b94b46101411d","type":"text","text":"hyprland-plugins","x":-380,"y":1660,"width":250,"height":60},
|
||||||
|
{"id":"b63e2557fb721db2","type":"text","text":"hyprpanel","x":-380,"y":1720,"width":250,"height":60},
|
||||||
|
{"id":"f2939ae2d4065467","type":"text","text":"spicetify-nix","x":-380,"y":1780,"width":250,"height":60},
|
||||||
|
{"id":"5bcee2b96bd8f463","type":"text","text":"zen-browser","x":-380,"y":1840,"width":250,"height":60},
|
||||||
|
{"id":"5c2f0aa731fa3834","type":"text","text":"inputs","x":-980,"y":1025,"width":125,"height":50},
|
||||||
|
{"id":"e57fb6514f7cfacb","type":"text","text":"outputs","x":160,"y":1020,"width":140,"height":60},
|
||||||
|
{"id":"0f7dafd0f244f528","type":"text","text":"self","x":160,"y":1140,"width":140,"height":60},
|
||||||
|
{"id":"fd45c7cb969458c8","type":"text","text":"[[s0mePC-tree.canvas|s0mePC]]","x":835,"y":1080,"width":250,"height":60},
|
||||||
|
{"id":"78627bb71578ceae","type":"text","text":"nixosConfigurations","x":480,"y":1160,"width":250,"height":60},
|
||||||
|
{"id":"cf45cc727edde7ce","type":"text","text":"homeConfigurations","x":500,"y":900,"width":250,"height":60},
|
||||||
|
{"id":"f3f3f84c33e79188","type":"text","text":"[[hand7s-tree.canvas|hand7s-tree]]","x":840,"y":900,"width":245,"height":60},
|
||||||
|
{"id":"cbf70b360b7cfced","type":"text","text":"[[s0melapt0p-tree.canvas|s0melapt0p-nix]]","x":835,"y":1240,"width":250,"height":60}
|
||||||
|
],
|
||||||
|
"edges":[
|
||||||
|
{"id":"70e70085e4d2b6c5","fromNode":"0fa8d015874c9fd6","fromSide":"right","toNode":"2e0f697730e2619e","toSide":"right"},
|
||||||
|
{"id":"92b387632167e8cd","fromNode":"2183745b1c5ce269","fromSide":"right","toNode":"2e0f697730e2619e","toSide":"right"},
|
||||||
|
{"id":"9276e3b627e969cd","fromNode":"93fb370c180eaeb4","fromSide":"right","toNode":"2e0f697730e2619e","toSide":"right"},
|
||||||
|
{"id":"04a6a301b61f0669","fromNode":"8ebb54f97002b2ff","fromSide":"right","toNode":"2e0f697730e2619e","toSide":"right"},
|
||||||
|
{"id":"fa5adda740f95804","fromNode":"71e717dc368710cb","fromSide":"right","toNode":"2e0f697730e2619e","toSide":"right"},
|
||||||
|
{"id":"79638d1638fc055b","fromNode":"71e717dc368710cb","fromSide":"right","toNode":"2183745b1c5ce269","toSide":"right"},
|
||||||
|
{"id":"409a221869f5eae6","fromNode":"0e41786babac8426","fromSide":"bottom","toNode":"f7b5a940a04300d9","toSide":"top"},
|
||||||
|
{"id":"d9815f6c2e5f060b","fromNode":"7804c9935f33249b","fromSide":"right","toNode":"2e0f697730e2619e","toSide":"right"},
|
||||||
|
{"id":"f59d921bc2efc072","fromNode":"417b94b46101411d","fromSide":"right","toNode":"7804c9935f33249b","toSide":"right"},
|
||||||
|
{"id":"a12a057beed06fe6","fromNode":"b63e2557fb721db2","fromSide":"right","toNode":"2e0f697730e2619e","toSide":"right"},
|
||||||
|
{"id":"94a006ae6b3eb631","fromNode":"f2939ae2d4065467","fromSide":"right","toNode":"2e0f697730e2619e","toSide":"right"},
|
||||||
|
{"id":"1e083e4b0e867f6c","fromNode":"5bcee2b96bd8f463","fromSide":"right","toNode":"2e0f697730e2619e","toSide":"right"},
|
||||||
|
{"id":"f7c96f262dc3c46c","fromNode":"5c2f0aa731fa3834","fromSide":"right","toNode":"2e0f697730e2619e","toSide":"left"},
|
||||||
|
{"id":"034d59b5311aa3fc","fromNode":"5c2f0aa731fa3834","fromSide":"right","toNode":"d23c9d730a76b4da","toSide":"left"},
|
||||||
|
{"id":"4daefbc4ba7eed3e","fromNode":"5c2f0aa731fa3834","fromSide":"right","toNode":"0387e0bebaecd2c1","toSide":"left"},
|
||||||
|
{"id":"73efdb690d8324be","fromNode":"5c2f0aa731fa3834","fromSide":"right","toNode":"8d542b4f6da1a433","toSide":"left"},
|
||||||
|
{"id":"4aa419e5129ae060","fromNode":"5c2f0aa731fa3834","fromSide":"right","toNode":"0fa8d015874c9fd6","toSide":"left"},
|
||||||
|
{"id":"43458f9da955f5fd","fromNode":"5c2f0aa731fa3834","fromSide":"right","toNode":"1d22c5b5fc58c6aa","toSide":"left"},
|
||||||
|
{"id":"a59d76d319843936","fromNode":"5c2f0aa731fa3834","fromSide":"right","toNode":"5057c539e6b7bafd","toSide":"left"},
|
||||||
|
{"id":"52b2670e5609a721","fromNode":"5c2f0aa731fa3834","fromSide":"right","toNode":"2183745b1c5ce269","toSide":"left"},
|
||||||
|
{"id":"1e8a37dc0f373531","fromNode":"5c2f0aa731fa3834","fromSide":"right","toNode":"93fb370c180eaeb4","toSide":"left"},
|
||||||
|
{"id":"27ca008c53c7b578","fromNode":"5c2f0aa731fa3834","fromSide":"right","toNode":"8ebb54f97002b2ff","toSide":"left"},
|
||||||
|
{"id":"fcba43865282441f","fromNode":"5c2f0aa731fa3834","fromSide":"right","toNode":"cfa0732596d24a19","toSide":"left"},
|
||||||
|
{"id":"dbca5ce1ea606beb","fromNode":"5c2f0aa731fa3834","fromSide":"right","toNode":"71e717dc368710cb","toSide":"left"},
|
||||||
|
{"id":"4c74ed1ca6f5fdb8","fromNode":"5c2f0aa731fa3834","fromSide":"right","toNode":"bb6dd845b1c0b50d","toSide":"left"},
|
||||||
|
{"id":"d7ace2b8b3726213","fromNode":"5c2f0aa731fa3834","fromSide":"right","toNode":"6d6c9faee88a194d","toSide":"left"},
|
||||||
|
{"id":"0d35286e9f54e677","fromNode":"5c2f0aa731fa3834","fromSide":"right","toNode":"5023b8a10dfa74f3","toSide":"left"},
|
||||||
|
{"id":"fbd45a9f59479acf","fromNode":"5c2f0aa731fa3834","fromSide":"right","toNode":"0e41786babac8426","toSide":"left"},
|
||||||
|
{"id":"e2ffea1413ce0dff","fromNode":"5c2f0aa731fa3834","fromSide":"right","toNode":"f7b5a940a04300d9","toSide":"left"},
|
||||||
|
{"id":"1ab265aa41091996","fromNode":"5c2f0aa731fa3834","fromSide":"right","toNode":"7fa86bf455f32e1e","toSide":"left","label":"flake \n= false;"},
|
||||||
|
{"id":"ddfbcf4e635221a3","fromNode":"5c2f0aa731fa3834","fromSide":"right","toNode":"412593ea3f394221","toSide":"left"},
|
||||||
|
{"id":"e4fcb6496fe6f2cb","fromNode":"5c2f0aa731fa3834","fromSide":"right","toNode":"db2cc385a2d4fe4a","toSide":"left"},
|
||||||
|
{"id":"19b40c794af7a4c0","fromNode":"5c2f0aa731fa3834","fromSide":"right","toNode":"ddf0875c03bc6a7d","toSide":"left"},
|
||||||
|
{"id":"32bbb751f7a82ac9","fromNode":"5c2f0aa731fa3834","fromSide":"right","toNode":"8ce9b94fa9c3dbc3","toSide":"left"},
|
||||||
|
{"id":"ccc70845fe2798b4","fromNode":"5c2f0aa731fa3834","fromSide":"right","toNode":"7804c9935f33249b","toSide":"left"},
|
||||||
|
{"id":"abc24ddd45469787","fromNode":"5c2f0aa731fa3834","fromSide":"right","toNode":"417b94b46101411d","toSide":"left"},
|
||||||
|
{"id":"6a06cd4c618afc28","fromNode":"5c2f0aa731fa3834","fromSide":"right","toNode":"b63e2557fb721db2","toSide":"left"},
|
||||||
|
{"id":"8ae4a543eca051b1","fromNode":"5c2f0aa731fa3834","fromSide":"right","toNode":"f2939ae2d4065467","toSide":"left"},
|
||||||
|
{"id":"c0665ac7bd526cdf","fromNode":"5c2f0aa731fa3834","fromSide":"right","toNode":"5bcee2b96bd8f463","toSide":"left"},
|
||||||
|
{"id":"d02633d09736a559","fromNode":"2e0f697730e2619e","fromSide":"right","toNode":"e57fb6514f7cfacb","toSide":"top"},
|
||||||
|
{"id":"dfea38e0ab142ef6","fromNode":"2183745b1c5ce269","fromSide":"right","toNode":"e57fb6514f7cfacb","toSide":"top"},
|
||||||
|
{"id":"70b641d576f5dcfc","fromNode":"e57fb6514f7cfacb","fromSide":"bottom","toNode":"0f7dafd0f244f528","toSide":"top","fromEnd":"arrow"},
|
||||||
|
{"id":"fe4b65ad9fdb0f45","fromNode":"e57fb6514f7cfacb","fromSide":"right","toNode":"cf45cc727edde7ce","toSide":"left"},
|
||||||
|
{"id":"331f59d890ef043a","fromNode":"e57fb6514f7cfacb","fromSide":"right","toNode":"78627bb71578ceae","toSide":"left"},
|
||||||
|
{"id":"e6a5ddd80fc9d413","fromNode":"cf45cc727edde7ce","fromSide":"right","toNode":"f3f3f84c33e79188","toSide":"left"},
|
||||||
|
{"id":"846ba90021efc1c9","fromNode":"db2cc385a2d4fe4a","fromSide":"right","toNode":"f3f3f84c33e79188","toSide":"left"},
|
||||||
|
{"id":"25b976815340aac3","fromNode":"5023b8a10dfa74f3","fromSide":"right","toNode":"f3f3f84c33e79188","toSide":"left"},
|
||||||
|
{"id":"91e162c9594490f6","fromNode":"ddf0875c03bc6a7d","fromSide":"right","toNode":"f3f3f84c33e79188","toSide":"left"},
|
||||||
|
{"id":"3b5256b2162968ed","fromNode":"93fb370c180eaeb4","fromSide":"right","toNode":"78627bb71578ceae","toSide":"left"},
|
||||||
|
{"id":"66793eecb03a70a4","fromNode":"b63e2557fb721db2","fromSide":"right","toNode":"f3f3f84c33e79188","toSide":"left"},
|
||||||
|
{"id":"3fc2d4bbae15d101","fromNode":"f2939ae2d4065467","fromSide":"right","toNode":"f3f3f84c33e79188","toSide":"left","label":"homeManagerModules"},
|
||||||
|
{"id":"12e833368aafd1e9","fromNode":"7804c9935f33249b","fromSide":"right","toNode":"f3f3f84c33e79188","toSide":"left"},
|
||||||
|
{"id":"b18c4c642a0ca6e4","fromNode":"78627bb71578ceae","fromSide":"right","toNode":"fd45c7cb969458c8","toSide":"left"},
|
||||||
|
{"id":"93a7f7adabe88748","fromNode":"78627bb71578ceae","fromSide":"right","toNode":"cbf70b360b7cfced","toSide":"left"},
|
||||||
|
{"id":"fafb3515ba73a919","fromNode":"5023b8a10dfa74f3","fromSide":"right","toNode":"fd45c7cb969458c8","toSide":"left","label":"nixosModules"},
|
||||||
|
{"id":"97ae652bb18ef96d","fromNode":"db2cc385a2d4fe4a","fromSide":"right","toNode":"fd45c7cb969458c8","toSide":"left"},
|
||||||
|
{"id":"91c1a91b4ee3e106","fromNode":"ddf0875c03bc6a7d","fromSide":"right","toNode":"fd45c7cb969458c8","toSide":"left"},
|
||||||
|
{"id":"7a059c4eb7b1872f","fromNode":"2183745b1c5ce269","fromSide":"right","toNode":"fd45c7cb969458c8","toSide":"left"},
|
||||||
|
{"id":"c96faa14fa94236c","fromNode":"db2cc385a2d4fe4a","fromSide":"right","toNode":"cbf70b360b7cfced","toSide":"left"},
|
||||||
|
{"id":"0d12efecb603dbb3","fromNode":"ddf0875c03bc6a7d","fromSide":"right","toNode":"cbf70b360b7cfced","toSide":"left"},
|
||||||
|
{"id":"a05f4e5560f31997","fromNode":"5023b8a10dfa74f3","fromSide":"right","toNode":"cbf70b360b7cfced","toSide":"left"},
|
||||||
|
{"id":"26e844af79b11d3b","fromNode":"93fb370c180eaeb4","fromSide":"right","toNode":"cbf70b360b7cfced","toSide":"left"},
|
||||||
|
{"id":"f91126b555e1427c","fromNode":"2183745b1c5ce269","fromSide":"right","toNode":"cbf70b360b7cfced","toSide":"left"}
|
||||||
|
]
|
||||||
|
}
|
||||||
52
doc/hand7s-tree.canvas
Normal file
52
doc/hand7s-tree.canvas
Normal file
|
|
@ -0,0 +1,52 @@
|
||||||
|
{
|
||||||
|
"nodes":[
|
||||||
|
{"id":"8b913a2d080b9765","type":"text","text":"default.nix","x":-622,"y":-140,"width":250,"height":60},
|
||||||
|
{"id":"9c241fea3014bc1b","type":"text","text":"standalone.nix","x":-622,"y":-240,"width":250,"height":60},
|
||||||
|
{"id":"2207049065e4fe70","type":"text","text":"options/","x":-120,"y":-240,"width":250,"height":60},
|
||||||
|
{"id":"3e0c3f65bfc654f7","type":"text","text":"programs/","x":-120,"y":-140,"width":250,"height":60},
|
||||||
|
{"id":"b52312243341f867","type":"text","text":"nixpkgs/","x":-120,"y":-340,"width":250,"height":60},
|
||||||
|
{"id":"5f9292a9f706b6e2","type":"text","text":"qt/","x":-120,"y":-40,"width":250,"height":60},
|
||||||
|
{"id":"70d6c502448f74e4","type":"text","text":"nix/","x":-120,"y":-440,"width":250,"height":60},
|
||||||
|
{"id":"773f4b0553cf1bfc","type":"text","text":"services/","x":-120,"y":60,"width":250,"height":60},
|
||||||
|
{"id":"8d6914af7faf9540","type":"text","text":"home/","x":-120,"y":-540,"width":250,"height":60},
|
||||||
|
{"id":"310abb33ae703607","type":"text","text":"stylix/","x":-120,"y":160,"width":250,"height":60},
|
||||||
|
{"id":"c1282eb91194e07b","type":"text","text":"systemd/","x":-120,"y":260,"width":250,"height":60},
|
||||||
|
{"id":"d4009703e71bcde9","type":"text","text":"gtk/","x":-120,"y":-640,"width":250,"height":60},
|
||||||
|
{"id":"3429bb37044f88e1","type":"text","text":"wayland/","x":-120,"y":360,"width":250,"height":60},
|
||||||
|
{"id":"564cf2e6e156599d","type":"text","text":"fonts/","x":-120,"y":-740,"width":250,"height":60},
|
||||||
|
{"id":"99d6d895a3fef9bd","type":"text","text":"[[flake-tree.canvas|flake.nix]]/hand7s","x":-834,"y":-439,"width":212,"height":59},
|
||||||
|
{"id":"4b51874d4cb8c512","type":"text","text":"[[s0mePC-tree.canvas|s0mePC-nix]]","x":-834,"y":0,"width":212,"height":60},
|
||||||
|
{"id":"b2840e8af6e98e99","type":"text","text":"[[s0melapt0p-tree.canvas|s0melapt0p-nix]]","x":-834,"y":120,"width":212,"height":60}
|
||||||
|
],
|
||||||
|
"edges":[
|
||||||
|
{"id":"d804153a40eca89a","fromNode":"4b51874d4cb8c512","fromSide":"right","toNode":"8b913a2d080b9765","toSide":"bottom"},
|
||||||
|
{"id":"f314999f47e16026","fromNode":"99d6d895a3fef9bd","fromSide":"right","toNode":"9c241fea3014bc1b","toSide":"top"},
|
||||||
|
{"id":"4eb2e7db8cc19c80","fromNode":"b2840e8af6e98e99","fromSide":"right","toNode":"8b913a2d080b9765","toSide":"bottom"},
|
||||||
|
{"id":"cf5246390b75b266","fromNode":"9c241fea3014bc1b","fromSide":"right","toNode":"564cf2e6e156599d","toSide":"left"},
|
||||||
|
{"id":"592f487af0b6f7dd","fromNode":"9c241fea3014bc1b","fromSide":"right","toNode":"d4009703e71bcde9","toSide":"left"},
|
||||||
|
{"id":"99d2c67366e5225e","fromNode":"9c241fea3014bc1b","fromSide":"right","toNode":"8d6914af7faf9540","toSide":"left"},
|
||||||
|
{"id":"e4a1c79669d1133e","fromNode":"9c241fea3014bc1b","fromSide":"right","toNode":"70d6c502448f74e4","toSide":"left"},
|
||||||
|
{"id":"6efcabccdae1baf1","fromNode":"9c241fea3014bc1b","fromSide":"right","toNode":"b52312243341f867","toSide":"left"},
|
||||||
|
{"id":"f1934806d61119b6","fromNode":"9c241fea3014bc1b","fromSide":"right","toNode":"2207049065e4fe70","toSide":"left"},
|
||||||
|
{"id":"ef398e7ac4815af8","fromNode":"9c241fea3014bc1b","fromSide":"right","toNode":"3e0c3f65bfc654f7","toSide":"left"},
|
||||||
|
{"id":"cc58b91953b6c766","fromNode":"9c241fea3014bc1b","fromSide":"right","toNode":"5f9292a9f706b6e2","toSide":"left"},
|
||||||
|
{"id":"902272466e9d843d","fromNode":"9c241fea3014bc1b","fromSide":"right","toNode":"773f4b0553cf1bfc","toSide":"left"},
|
||||||
|
{"id":"041fae76354acdd9","fromNode":"9c241fea3014bc1b","fromSide":"right","toNode":"310abb33ae703607","toSide":"left"},
|
||||||
|
{"id":"95796dedf0456a0c","fromNode":"9c241fea3014bc1b","fromSide":"right","toNode":"c1282eb91194e07b","toSide":"left"},
|
||||||
|
{"id":"42ac954ade28a370","fromNode":"9c241fea3014bc1b","fromSide":"right","toNode":"3429bb37044f88e1","toSide":"left"},
|
||||||
|
{"id":"e8b8cacf3d4c37be","fromNode":"8b913a2d080b9765","fromSide":"right","toNode":"564cf2e6e156599d","toSide":"left"},
|
||||||
|
{"id":"cb737fc0d7af5b18","fromNode":"8b913a2d080b9765","fromSide":"right","toNode":"d4009703e71bcde9","toSide":"left"},
|
||||||
|
{"id":"35708988ff820190","fromNode":"8b913a2d080b9765","fromSide":"right","toNode":"8d6914af7faf9540","toSide":"left"},
|
||||||
|
{"id":"3cdf6601cc95f6c8","fromNode":"8b913a2d080b9765","fromSide":"right","toNode":"2207049065e4fe70","toSide":"left"},
|
||||||
|
{"id":"e0830b61ade3375d","fromNode":"8b913a2d080b9765","fromSide":"right","toNode":"3e0c3f65bfc654f7","toSide":"left"},
|
||||||
|
{"id":"d820a59fd2e3552e","fromNode":"8b913a2d080b9765","fromSide":"right","toNode":"5f9292a9f706b6e2","toSide":"left"},
|
||||||
|
{"id":"b551b9e00abaf7af","fromNode":"8b913a2d080b9765","fromSide":"right","toNode":"2207049065e4fe70","toSide":"left"},
|
||||||
|
{"id":"453617935378d7db","fromNode":"8b913a2d080b9765","fromSide":"right","toNode":"773f4b0553cf1bfc","toSide":"left"},
|
||||||
|
{"id":"9ff520f23512db9e","fromNode":"8b913a2d080b9765","fromSide":"right","toNode":"c1282eb91194e07b","toSide":"left"},
|
||||||
|
{"id":"d70cbf4741c01ad2","fromNode":"8b913a2d080b9765","fromSide":"right","toNode":"3429bb37044f88e1","toSide":"left"},
|
||||||
|
{"id":"66fbefd742e9482a","fromNode":"99d6d895a3fef9bd","fromSide":"right","toNode":"2207049065e4fe70","toSide":"left"},
|
||||||
|
{"id":"9e0eccd752c4120a","fromNode":"99d6d895a3fef9bd","fromSide":"bottom","toNode":"2207049065e4fe70","toSide":"left"},
|
||||||
|
{"id":"8c18cf6c6fde94b0","fromNode":"99d6d895a3fef9bd","fromSide":"bottom","toNode":"3e0c3f65bfc654f7","toSide":"left"},
|
||||||
|
{"id":"724e4419030882c9","fromNode":"99d6d895a3fef9bd","fromSide":"bottom","toNode":"310abb33ae703607","toSide":"left","label":"inputs"}
|
||||||
|
]
|
||||||
|
}
|
||||||
51
doc/s0mePC-tree.canvas
Normal file
51
doc/s0mePC-tree.canvas
Normal file
|
|
@ -0,0 +1,51 @@
|
||||||
|
{
|
||||||
|
"nodes":[
|
||||||
|
{"id":"52477f25cd9313f9","type":"text","text":"[[flake-tree.canvas|flake.nix]]/s0melapt0p-nix","x":-500,"y":-320,"width":273,"height":60},
|
||||||
|
{"id":"656ae4fe3c2ecd24","type":"text","text":"security","x":140,"y":-120,"width":250,"height":60},
|
||||||
|
{"id":"89219c2aca202139","type":"text","text":"progams","x":140,"y":-200,"width":250,"height":60},
|
||||||
|
{"id":"09050a2729925990","type":"text","text":"services/","x":140,"y":-40,"width":250,"height":60},
|
||||||
|
{"id":"9c54796e439b0f5b","type":"text","text":"~~sops/~~ (not included)","x":140,"y":40,"width":250,"height":60},
|
||||||
|
{"id":"e8779b73e199bcf6","type":"text","text":"stylix/","x":140,"y":120,"width":250,"height":60},
|
||||||
|
{"id":"c820b80f2803db97","type":"text","text":"system/","x":140,"y":200,"width":250,"height":60},
|
||||||
|
{"id":"ff454e151245e473","type":"text","text":"time/","x":140,"y":280,"width":250,"height":60},
|
||||||
|
{"id":"a12b9d85a8d9aaf0","type":"text","text":"users/","x":140,"y":360,"width":250,"height":60},
|
||||||
|
{"id":"b682f26e0c5772ab","type":"text","text":"virtualisation/","x":140,"y":440,"width":250,"height":60},
|
||||||
|
{"id":"39a33c5c1b57cfbc","type":"text","text":"nix/","x":140,"y":-290,"width":250,"height":60},
|
||||||
|
{"id":"91dd5508b7be6a58","type":"text","text":"networking/","x":140,"y":-380,"width":250,"height":60},
|
||||||
|
{"id":"aa258b60522c12a1","type":"text","text":"i18n/","x":140,"y":-460,"width":250,"height":60},
|
||||||
|
{"id":"d1607fb2e7e67782","type":"text","text":"home-manager/","x":140,"y":-540,"width":250,"height":60},
|
||||||
|
{"id":"7a3e84bfb5bf0a77","type":"text","text":"hardware","x":140,"y":-620,"width":250,"height":60},
|
||||||
|
{"id":"3a525cf3bb5749d2","type":"text","text":"environment","x":140,"y":-700,"width":250,"height":60},
|
||||||
|
{"id":"299e10060c92dc79","type":"text","text":"xdg/","x":140,"y":520,"width":250,"height":60},
|
||||||
|
{"id":"31d735f24354a46a","type":"text","text":"console/","x":140,"y":-780,"width":250,"height":60},
|
||||||
|
{"id":"ff41445ee9f66727","type":"text","text":"boot/","x":140,"y":-860,"width":250,"height":60},
|
||||||
|
{"id":"89667c76b1cff4b4","type":"text","text":"[[hand7s-tree.canvas|hand7s]]/default.nix","x":540,"y":-540,"width":250,"height":60},
|
||||||
|
{"id":"b5a77770636904fe","type":"text","text":"default.nix","x":-160,"y":-200,"width":147,"height":60}
|
||||||
|
],
|
||||||
|
"edges":[
|
||||||
|
{"id":"8ae81d676613fbb3","fromNode":"52477f25cd9313f9","fromSide":"right","toNode":"b5a77770636904fe","toSide":"top"},
|
||||||
|
{"id":"b8a089af90c22ce5","fromNode":"d1607fb2e7e67782","fromSide":"right","toNode":"89667c76b1cff4b4","toSide":"top"},
|
||||||
|
{"id":"cb12e6d7f284d814","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"ff41445ee9f66727","toSide":"left"},
|
||||||
|
{"id":"d9025f0c300d7c11","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"31d735f24354a46a","toSide":"left"},
|
||||||
|
{"id":"3b3973e125f1f46a","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"3a525cf3bb5749d2","toSide":"left"},
|
||||||
|
{"id":"b6ec7e0d7f09c72e","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"7a3e84bfb5bf0a77","toSide":"left"},
|
||||||
|
{"id":"ae4c58dbacb97aa6","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"d1607fb2e7e67782","toSide":"left"},
|
||||||
|
{"id":"d4a26cb113cbd3d7","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"aa258b60522c12a1","toSide":"left"},
|
||||||
|
{"id":"dc06709d01cc417d","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"91dd5508b7be6a58","toSide":"left"},
|
||||||
|
{"id":"96ff134a2746065d","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"39a33c5c1b57cfbc","toSide":"left"},
|
||||||
|
{"id":"4e76a33396965cc2","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"89219c2aca202139","toSide":"left"},
|
||||||
|
{"id":"5a90c383825629af","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"656ae4fe3c2ecd24","toSide":"left"},
|
||||||
|
{"id":"758f54d1607c0fb6","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"09050a2729925990","toSide":"left"},
|
||||||
|
{"id":"9166a494ff2ad45c","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"9c54796e439b0f5b","toSide":"left"},
|
||||||
|
{"id":"f1257707e5801b96","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"e8779b73e199bcf6","toSide":"left"},
|
||||||
|
{"id":"e5db44e099326823","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"c820b80f2803db97","toSide":"left"},
|
||||||
|
{"id":"d11c62f447ee4733","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"ff454e151245e473","toSide":"left"},
|
||||||
|
{"id":"927b694304548bee","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"a12b9d85a8d9aaf0","toSide":"left"},
|
||||||
|
{"id":"83b838f79175c4be","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"b682f26e0c5772ab","toSide":"left"},
|
||||||
|
{"id":"29ea4d67235b5bcd","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"299e10060c92dc79","toSide":"left"},
|
||||||
|
{"id":"165c9098d8f8595a","fromNode":"52477f25cd9313f9","fromSide":"top","toNode":"ff41445ee9f66727","toSide":"left","label":"inputs"},
|
||||||
|
{"id":"b27ff33fb53c9675","fromNode":"52477f25cd9313f9","fromSide":"top","toNode":"d1607fb2e7e67782","toSide":"left"},
|
||||||
|
{"id":"c9dab9a88e555ac4","fromNode":"52477f25cd9313f9","fromSide":"bottom","toNode":"9c54796e439b0f5b","toSide":"left"},
|
||||||
|
{"id":"8368dfdcfc2ecafd","fromNode":"52477f25cd9313f9","fromSide":"bottom","toNode":"e8779b73e199bcf6","toSide":"left"}
|
||||||
|
]
|
||||||
|
}
|
||||||
51
doc/s0melapt0p-tree.canvas
Normal file
51
doc/s0melapt0p-tree.canvas
Normal file
|
|
@ -0,0 +1,51 @@
|
||||||
|
{
|
||||||
|
"nodes":[
|
||||||
|
{"id":"52477f25cd9313f9","type":"text","text":"[[flake-tree.canvas|flake.nix]]/s0mePC-nix","x":-477,"y":-320,"width":250,"height":60},
|
||||||
|
{"id":"656ae4fe3c2ecd24","type":"text","text":"security","x":140,"y":-120,"width":250,"height":60},
|
||||||
|
{"id":"89219c2aca202139","type":"text","text":"progams","x":140,"y":-200,"width":250,"height":60},
|
||||||
|
{"id":"09050a2729925990","type":"text","text":"services/","x":140,"y":-40,"width":250,"height":60},
|
||||||
|
{"id":"9c54796e439b0f5b","type":"text","text":"~~sops/~~ (not included)","x":140,"y":40,"width":250,"height":60},
|
||||||
|
{"id":"e8779b73e199bcf6","type":"text","text":"stylix/","x":140,"y":120,"width":250,"height":60},
|
||||||
|
{"id":"c820b80f2803db97","type":"text","text":"system/","x":140,"y":200,"width":250,"height":60},
|
||||||
|
{"id":"ff454e151245e473","type":"text","text":"time/","x":140,"y":280,"width":250,"height":60},
|
||||||
|
{"id":"a12b9d85a8d9aaf0","type":"text","text":"users/","x":140,"y":360,"width":250,"height":60},
|
||||||
|
{"id":"b682f26e0c5772ab","type":"text","text":"virtualisation/","x":140,"y":440,"width":250,"height":60},
|
||||||
|
{"id":"39a33c5c1b57cfbc","type":"text","text":"nix/","x":140,"y":-290,"width":250,"height":60},
|
||||||
|
{"id":"91dd5508b7be6a58","type":"text","text":"networking/","x":140,"y":-380,"width":250,"height":60},
|
||||||
|
{"id":"aa258b60522c12a1","type":"text","text":"i18n/","x":140,"y":-460,"width":250,"height":60},
|
||||||
|
{"id":"d1607fb2e7e67782","type":"text","text":"home-manager/","x":140,"y":-540,"width":250,"height":60},
|
||||||
|
{"id":"7a3e84bfb5bf0a77","type":"text","text":"hardware","x":140,"y":-620,"width":250,"height":60},
|
||||||
|
{"id":"3a525cf3bb5749d2","type":"text","text":"environment","x":140,"y":-700,"width":250,"height":60},
|
||||||
|
{"id":"299e10060c92dc79","type":"text","text":"xdg/","x":140,"y":520,"width":250,"height":60},
|
||||||
|
{"id":"31d735f24354a46a","type":"text","text":"console/","x":140,"y":-780,"width":250,"height":60},
|
||||||
|
{"id":"ff41445ee9f66727","type":"text","text":"boot/","x":140,"y":-860,"width":250,"height":60},
|
||||||
|
{"id":"89667c76b1cff4b4","type":"text","text":"[[hand7s-tree.canvas|hand7s]]/default.nix","x":540,"y":-540,"width":250,"height":60},
|
||||||
|
{"id":"b5a77770636904fe","type":"text","text":"default.nix","x":-160,"y":-200,"width":147,"height":60}
|
||||||
|
],
|
||||||
|
"edges":[
|
||||||
|
{"id":"8ae81d676613fbb3","fromNode":"52477f25cd9313f9","fromSide":"right","toNode":"b5a77770636904fe","toSide":"top"},
|
||||||
|
{"id":"b8a089af90c22ce5","fromNode":"d1607fb2e7e67782","fromSide":"right","toNode":"89667c76b1cff4b4","toSide":"top"},
|
||||||
|
{"id":"cb12e6d7f284d814","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"ff41445ee9f66727","toSide":"left"},
|
||||||
|
{"id":"d9025f0c300d7c11","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"31d735f24354a46a","toSide":"left"},
|
||||||
|
{"id":"3b3973e125f1f46a","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"3a525cf3bb5749d2","toSide":"left"},
|
||||||
|
{"id":"b6ec7e0d7f09c72e","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"7a3e84bfb5bf0a77","toSide":"left"},
|
||||||
|
{"id":"ae4c58dbacb97aa6","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"d1607fb2e7e67782","toSide":"left"},
|
||||||
|
{"id":"d4a26cb113cbd3d7","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"aa258b60522c12a1","toSide":"left"},
|
||||||
|
{"id":"dc06709d01cc417d","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"91dd5508b7be6a58","toSide":"left"},
|
||||||
|
{"id":"96ff134a2746065d","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"39a33c5c1b57cfbc","toSide":"left"},
|
||||||
|
{"id":"4e76a33396965cc2","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"89219c2aca202139","toSide":"left"},
|
||||||
|
{"id":"5a90c383825629af","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"656ae4fe3c2ecd24","toSide":"left"},
|
||||||
|
{"id":"758f54d1607c0fb6","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"09050a2729925990","toSide":"left"},
|
||||||
|
{"id":"9166a494ff2ad45c","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"9c54796e439b0f5b","toSide":"left"},
|
||||||
|
{"id":"f1257707e5801b96","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"e8779b73e199bcf6","toSide":"left"},
|
||||||
|
{"id":"e5db44e099326823","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"c820b80f2803db97","toSide":"left"},
|
||||||
|
{"id":"d11c62f447ee4733","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"ff454e151245e473","toSide":"left"},
|
||||||
|
{"id":"927b694304548bee","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"a12b9d85a8d9aaf0","toSide":"left"},
|
||||||
|
{"id":"83b838f79175c4be","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"b682f26e0c5772ab","toSide":"left"},
|
||||||
|
{"id":"29ea4d67235b5bcd","fromNode":"b5a77770636904fe","fromSide":"right","toNode":"299e10060c92dc79","toSide":"left"},
|
||||||
|
{"id":"165c9098d8f8595a","fromNode":"52477f25cd9313f9","fromSide":"top","toNode":"ff41445ee9f66727","toSide":"left","label":"inputs"},
|
||||||
|
{"id":"b27ff33fb53c9675","fromNode":"52477f25cd9313f9","fromSide":"top","toNode":"d1607fb2e7e67782","toSide":"left"},
|
||||||
|
{"id":"c9dab9a88e555ac4","fromNode":"52477f25cd9313f9","fromSide":"bottom","toNode":"9c54796e439b0f5b","toSide":"left"},
|
||||||
|
{"id":"8368dfdcfc2ecafd","fromNode":"52477f25cd9313f9","fromSide":"bottom","toNode":"e8779b73e199bcf6","toSide":"left"}
|
||||||
|
]
|
||||||
|
}
|
||||||
BIN
doc/screen.png
Normal file
BIN
doc/screen.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 506 KiB |
777
flake.lock
generated
777
flake.lock
generated
File diff suppressed because it is too large
Load diff
331
flake.nix
331
flake.nix
|
|
@ -29,13 +29,6 @@
|
||||||
repo = "ayugram-desktop";
|
repo = "ayugram-desktop";
|
||||||
};
|
};
|
||||||
|
|
||||||
"cachix" = {
|
|
||||||
flake = true;
|
|
||||||
type = "github";
|
|
||||||
owner = "cachix";
|
|
||||||
repo = "cachix";
|
|
||||||
};
|
|
||||||
|
|
||||||
"chaotic" = {
|
"chaotic" = {
|
||||||
flake = true;
|
flake = true;
|
||||||
type = "github";
|
type = "github";
|
||||||
|
|
@ -58,6 +51,13 @@
|
||||||
repo = "devenv";
|
repo = "devenv";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"devshell" = {
|
||||||
|
flake = true;
|
||||||
|
type = "github";
|
||||||
|
owner = "numtide";
|
||||||
|
repo = "devshell";
|
||||||
|
};
|
||||||
|
|
||||||
"disko" = {
|
"disko" = {
|
||||||
flake = true;
|
flake = true;
|
||||||
type = "github";
|
type = "github";
|
||||||
|
|
@ -85,13 +85,6 @@
|
||||||
repo = "freesmlauncher";
|
repo = "freesmlauncher";
|
||||||
};
|
};
|
||||||
|
|
||||||
"fenix" = {
|
|
||||||
flake = true;
|
|
||||||
type = "github";
|
|
||||||
owner = "nix-community";
|
|
||||||
repo = "fenix";
|
|
||||||
};
|
|
||||||
|
|
||||||
"github-actions-nix" = {
|
"github-actions-nix" = {
|
||||||
flake = true;
|
flake = true;
|
||||||
type = "github";
|
type = "github";
|
||||||
|
|
@ -374,7 +367,7 @@
|
||||||
self
|
self
|
||||||
;
|
;
|
||||||
} {
|
} {
|
||||||
debug = true;
|
debug = false;
|
||||||
|
|
||||||
systems = [
|
systems = [
|
||||||
"x86_64-linux"
|
"x86_64-linux"
|
||||||
|
|
@ -383,86 +376,49 @@
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
# modules
|
# modules
|
||||||
|
inputs.agenix-rekey.flakeModule
|
||||||
inputs.disko.flakeModules.default
|
inputs.disko.flakeModules.default
|
||||||
|
inputs.devshell.flakeModule
|
||||||
inputs.treefmt-nix.flakeModule
|
inputs.treefmt-nix.flakeModule
|
||||||
inputs.home-manager.flakeModules.home-manager
|
inputs.home-manager.flakeModules.home-manager
|
||||||
inputs.git-hooks-nix.flakeModule
|
inputs.git-hooks-nix.flakeModule
|
||||||
inputs.devenv.flakeModule
|
inputs.devenv.flakeModule
|
||||||
|
# i can't really deside between devenv, devshells and devShells they are equally good for me
|
||||||
|
# for now, at least, i'm using numtide/devshells
|
||||||
inputs.github-actions-nix.flakeModule
|
inputs.github-actions-nix.flakeModule
|
||||||
];
|
];
|
||||||
|
|
||||||
flake = let
|
flake = {
|
||||||
inherit
|
# home-manager, sorta broken when standalone
|
||||||
(inputs."nixpkgs".lib)
|
homeConfigurations = {
|
||||||
nixosSystem
|
"hand7s" = inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
filesystem
|
pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux;
|
||||||
genAttrs
|
extraSpecialArgs = {
|
||||||
map
|
osConfig.networking.hostName = "";
|
||||||
;
|
|
||||||
|
|
||||||
defaultModules = [];
|
|
||||||
|
|
||||||
defaultPath = filesystem.listFilesRecursive "${self}/kyra/";
|
|
||||||
|
|
||||||
inputedModules =
|
|
||||||
map (
|
|
||||||
{
|
|
||||||
input,
|
|
||||||
opt ? "default",
|
|
||||||
}:
|
|
||||||
inputs.${input}.nixosModules.${opt}
|
|
||||||
) [
|
|
||||||
{
|
|
||||||
opt = "disko";
|
|
||||||
input = "disko";
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
input = "home-manager";
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
opt = "sops";
|
|
||||||
input = "sops-nix";
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
opt = "nix-index";
|
|
||||||
input = "nix-index-database";
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
opt = "nix-mineral";
|
|
||||||
input = "nix-mineral";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
kyraHost = name:
|
|
||||||
nixosSystem {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
modules = defaultModules ++ defaultPath ++ inputedModules;
|
|
||||||
specialArgs = {
|
|
||||||
inherit
|
inherit
|
||||||
inputs
|
inputs
|
||||||
name
|
|
||||||
self
|
self
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
modules = [
|
||||||
|
"${self}/hand7s/standalone.nix"
|
||||||
|
inputs.spicetify-nix.homeManagerModules.default
|
||||||
|
inputs.hyprland.homeManagerModules.default
|
||||||
|
inputs.chaotic.homeManagerModules.default
|
||||||
|
inputs.sops-nix.homeManagerModules.sops
|
||||||
|
|
||||||
|
inputs.nix-index-database.homeModules.nix-index
|
||||||
|
inputs.noctalia.homeModules.default
|
||||||
|
inputs.stylix.homeModules.stylix
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
kyraStack =
|
# nixos hosts
|
||||||
genAttrs [
|
|
||||||
"hazel"
|
# my PC
|
||||||
"lynn"
|
nixosConfigurations = {
|
||||||
"yara"
|
|
||||||
"ivy"
|
|
||||||
"mel"
|
|
||||||
]
|
|
||||||
kyraHost;
|
|
||||||
in {
|
|
||||||
# Main PC
|
|
||||||
nixosConfigurations =
|
|
||||||
{
|
|
||||||
"ada" = inputs.nixpkgs.lib.nixosSystem {
|
"ada" = inputs.nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
|
|
@ -474,6 +430,7 @@
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
"${self}/ada/"
|
"${self}/ada/"
|
||||||
|
inputs.agenix.nixosModules.default
|
||||||
inputs.chaotic.nixosModules.default
|
inputs.chaotic.nixosModules.default
|
||||||
inputs.stylix.nixosModules.stylix
|
inputs.stylix.nixosModules.stylix
|
||||||
inputs.sops-nix.nixosModules.sops
|
inputs.sops-nix.nixosModules.sops
|
||||||
|
|
@ -486,7 +443,7 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Main Laptop
|
# my laptop
|
||||||
"isla" = inputs.nixpkgs.lib.nixosSystem {
|
"isla" = inputs.nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
|
|
@ -498,6 +455,7 @@
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
"${self}/isla/"
|
"${self}/isla/"
|
||||||
|
inputs.agenix.nixosModules.default
|
||||||
inputs.chaotic.nixosModules.default
|
inputs.chaotic.nixosModules.default
|
||||||
inputs.stylix.nixosModules.stylix
|
inputs.stylix.nixosModules.stylix
|
||||||
inputs.sops-nix.nixosModules.sops
|
inputs.sops-nix.nixosModules.sops
|
||||||
|
|
@ -510,6 +468,108 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# my VPSes:
|
||||||
|
|
||||||
|
# VPS 1
|
||||||
|
"hazel" = inputs.nixpkgs.lib.nixosSystem {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
specialArgs = {
|
||||||
|
inherit
|
||||||
|
inputs
|
||||||
|
self
|
||||||
|
;
|
||||||
|
};
|
||||||
|
|
||||||
|
modules = [
|
||||||
|
{
|
||||||
|
networking.hostName = inputs.nixpkgs.lib.mkDefault "hazel";
|
||||||
|
}
|
||||||
|
|
||||||
|
"${self}/kyra/"
|
||||||
|
inputs.agenix.nixosModules.default
|
||||||
|
inputs.disko.nixosModules.disko
|
||||||
|
inputs.home-manager.nixosModules.default
|
||||||
|
inputs.sops-nix.nixosModules.sops
|
||||||
|
inputs.nix-index-database.nixosModules.nix-index
|
||||||
|
inputs.nix-mineral.nixosModules.nix-mineral
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
# VPS 2
|
||||||
|
"lynn" = inputs.nixpkgs.lib.nixosSystem {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
specialArgs = {
|
||||||
|
inherit
|
||||||
|
inputs
|
||||||
|
self
|
||||||
|
;
|
||||||
|
};
|
||||||
|
|
||||||
|
modules = [
|
||||||
|
{
|
||||||
|
networking.hostName = inputs.nixpkgs.lib.mkDefault "lynn";
|
||||||
|
}
|
||||||
|
|
||||||
|
"${self}/kyra/"
|
||||||
|
inputs.agenix.nixosModules.default
|
||||||
|
inputs.disko.nixosModules.disko
|
||||||
|
inputs.home-manager.nixosModules.default
|
||||||
|
inputs.sops-nix.nixosModules.sops
|
||||||
|
inputs.nix-index-database.nixosModules.nix-index
|
||||||
|
inputs.nix-mineral.nixosModules.nix-mineral
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
# VPS 3
|
||||||
|
"ivy" = inputs.nixpkgs.lib.nixosSystem {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
specialArgs = {
|
||||||
|
inherit
|
||||||
|
inputs
|
||||||
|
self
|
||||||
|
;
|
||||||
|
};
|
||||||
|
|
||||||
|
modules = [
|
||||||
|
{
|
||||||
|
networking.hostName = inputs.nixpkgs.lib.mkDefault "ivy";
|
||||||
|
}
|
||||||
|
|
||||||
|
"${self}/kyra/"
|
||||||
|
inputs.agenix.nixosModules.default
|
||||||
|
inputs.disko.nixosModules.disko
|
||||||
|
inputs.home-manager.nixosModules.default
|
||||||
|
inputs.sops-nix.nixosModules.sops
|
||||||
|
inputs.nix-index-database.nixosModules.nix-index
|
||||||
|
inputs.nix-mineral.nixosModules.nix-mineral
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
# VPS 4
|
||||||
|
"mel" = inputs.nixpkgs.lib.nixosSystem {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
specialArgs = {
|
||||||
|
inherit
|
||||||
|
inputs
|
||||||
|
self
|
||||||
|
;
|
||||||
|
};
|
||||||
|
|
||||||
|
modules = [
|
||||||
|
{
|
||||||
|
networking.hostName = inputs.nixpkgs.lib.mkDefault "mel";
|
||||||
|
}
|
||||||
|
|
||||||
|
"${self}/kyra/"
|
||||||
|
inputs.agenix.nixosModules.default
|
||||||
|
inputs.disko.nixosModules.disko
|
||||||
|
inputs.home-manager.nixosModules.default
|
||||||
|
inputs.sops-nix.nixosModules.sops
|
||||||
|
inputs.nix-index-database.nixosModules.nix-index
|
||||||
|
inputs.nix-mineral.nixosModules.nix-mineral
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
# homelab
|
# homelab
|
||||||
"viola" = inputs.nixpkgs.lib.nixosSystem {
|
"viola" = inputs.nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
|
@ -522,6 +582,7 @@
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
"${self}/viola"
|
"${self}/viola"
|
||||||
|
inputs.agenix.nixosModules.default
|
||||||
inputs.chaotic.nixosModules.default
|
inputs.chaotic.nixosModules.default
|
||||||
inputs.stylix.nixosModules.stylix
|
inputs.stylix.nixosModules.stylix
|
||||||
inputs.sops-nix.nixosModules.sops
|
inputs.sops-nix.nixosModules.sops
|
||||||
|
|
@ -545,6 +606,7 @@
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
"${self}/wanda/"
|
"${self}/wanda/"
|
||||||
|
inputs.agenix.nixosModules.default
|
||||||
inputs.nixos-wsl.nixosModules.default
|
inputs.nixos-wsl.nixosModules.default
|
||||||
inputs.stylix.nixosModules.stylix
|
inputs.stylix.nixosModules.stylix
|
||||||
inputs.home-manager.nixosModules.default
|
inputs.home-manager.nixosModules.default
|
||||||
|
|
@ -554,52 +616,6 @@
|
||||||
inputs.nix-mineral.nixosModules.nix-mineral
|
inputs.nix-mineral.nixosModules.nix-mineral
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# custom ISO
|
|
||||||
"florence" = inputs.nixpkgs.lib.nixosSystem {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
specialArgs = {
|
|
||||||
inherit
|
|
||||||
inputs
|
|
||||||
self
|
|
||||||
;
|
|
||||||
};
|
|
||||||
|
|
||||||
modules = [
|
|
||||||
"${self}/florence/"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
// kyraStack;
|
|
||||||
# few words about kyraStack:
|
|
||||||
# it's my little fleet, 5 identical VPSes
|
|
||||||
# really nice that all of them are 2 vCPU 2GB
|
|
||||||
# tho ssd/nvme/hdd memory is nothing important
|
|
||||||
# and being KVM VPS / pure VPS too
|
|
||||||
|
|
||||||
# home-manager
|
|
||||||
homeConfigurations = {
|
|
||||||
"hand7s" = inputs.home-manager.lib.homeManagerConfiguration {
|
|
||||||
pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux;
|
|
||||||
extraSpecialArgs = {
|
|
||||||
osConfig.networking.hostName = "";
|
|
||||||
inherit
|
|
||||||
inputs
|
|
||||||
self
|
|
||||||
;
|
|
||||||
};
|
|
||||||
|
|
||||||
modules = [
|
|
||||||
"${self}/hand7s/standalone.nix"
|
|
||||||
inputs.spicetify-nix.homeManagerModules.default
|
|
||||||
inputs.hyprland.homeManagerModules.default
|
|
||||||
inputs.chaotic.homeManagerModules.default
|
|
||||||
inputs.sops-nix.homeManagerModules.sops
|
|
||||||
inputs.nix-index-database.homeModules.nix-index
|
|
||||||
inputs.noctalia.homeModules.default
|
|
||||||
inputs.stylix.homeModules.stylix
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -614,7 +630,7 @@
|
||||||
flakeCheck = true;
|
flakeCheck = true;
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
"alejandra" = {
|
alejandra = {
|
||||||
enable = true;
|
enable = true;
|
||||||
priority = 1;
|
priority = 1;
|
||||||
includes = [
|
includes = [
|
||||||
|
|
@ -622,7 +638,7 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
"statix" = {
|
statix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
priority = 1;
|
priority = 1;
|
||||||
includes = [
|
includes = [
|
||||||
|
|
@ -634,7 +650,7 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
"deadnix" = {
|
deadnix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
priority = 1;
|
priority = 1;
|
||||||
includes = [
|
includes = [
|
||||||
|
|
@ -667,47 +683,74 @@
|
||||||
gitPackage = pkgs.git;
|
gitPackage = pkgs.git;
|
||||||
|
|
||||||
hooks = {
|
hooks = {
|
||||||
"alejandra" = {
|
alejandra = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
verbosity = "quiet";
|
|
||||||
check = true;
|
check = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
"deadnix" = {
|
deadnix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
edit = false;
|
edit = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
"statix" = {
|
statix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
config = "${pkgs.writeText ''statix.toml'' ''
|
||||||
|
disabled = [
|
||||||
|
"empty_pattern"
|
||||||
|
]
|
||||||
|
''}";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# cachix/devenv, basically a devShells, even better than numtide/devshells
|
# numtide/devshells, basically a devShells but better
|
||||||
devenv = {
|
devshells = {
|
||||||
shells = {
|
|
||||||
"default" = {
|
"default" = {
|
||||||
enterShell = config.pre-commit.shellHook;
|
name = "default";
|
||||||
|
|
||||||
devenv = {
|
commands = [
|
||||||
root = toString /home/hand7s/Projects/flake;
|
{
|
||||||
|
name = "pre";
|
||||||
|
category = "[tools]";
|
||||||
|
command = "prek run -a";
|
||||||
|
help = ''
|
||||||
|
pre-commit-hook is a tool to execute linters / formatters before `git commit` to verify that code is meeting standarts of code setted up in projects;
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
name = "fmt";
|
||||||
|
category = "[formatters]";
|
||||||
|
command = "nix fmt";
|
||||||
|
help = ''
|
||||||
|
nix fmt is built-in formatting solution for nix pacakage manager;
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
devshell = {
|
||||||
|
startup = {
|
||||||
|
"git-hooks-nix" = {
|
||||||
|
text = config.pre-commit.shellHook;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
packages =
|
packages = with pkgs;
|
||||||
[
|
[
|
||||||
pkgs.just
|
just
|
||||||
config.treefmt.build.wrapper
|
|
||||||
]
|
]
|
||||||
++ config.pre-commit.settings.enabledPackages;
|
++ config.pre-commit.settings.enabledPackages;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
# synapdeck/github-actions-nix, declaretive gha
|
# synapdeck/github-actions-nix, declaretive gha
|
||||||
githubActions = {
|
githubActions = {
|
||||||
|
|
|
||||||
|
|
@ -1,32 +0,0 @@
|
||||||
{inputs, ...}: {
|
|
||||||
imports = [
|
|
||||||
"${inputs.nixpkgs}/nixos/modules/installer/netboot/netboot-minimal.nix"
|
|
||||||
];
|
|
||||||
|
|
||||||
services = {
|
|
||||||
openssh = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
PermitRootLogin = "yes";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
system = {
|
|
||||||
stateVersion = "25.05";
|
|
||||||
};
|
|
||||||
|
|
||||||
users = {
|
|
||||||
users = {
|
|
||||||
"root" = {
|
|
||||||
openssh = {
|
|
||||||
authorizedKeys = {
|
|
||||||
keys = [
|
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDp2IIdR5jV1HyG4aiRX7SfTNrXDhCx5rTiFU40qkOKq litvinovb0@gmail.com"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -5,17 +5,11 @@
|
||||||
|
|
||||||
"${self}/hand7s/wayland/hyprland.nix"
|
"${self}/hand7s/wayland/hyprland.nix"
|
||||||
|
|
||||||
"${self}/hand7s/gtk/gtk.nix"
|
|
||||||
"${self}/hand7s/gtk/gtk3.nix"
|
|
||||||
"${self}/hand7s/gtk/gtk4.nix"
|
|
||||||
|
|
||||||
"${self}/hand7s/home/defaults.nix"
|
"${self}/hand7s/home/defaults.nix"
|
||||||
"${self}/hand7s/home/gui.nix"
|
"${self}/hand7s/home/gui.nix"
|
||||||
"${self}/hand7s/home/keyboard.nix"
|
"${self}/hand7s/home/keyboard.nix"
|
||||||
"${self}/hand7s/home/packages.nix"
|
"${self}/hand7s/home/packages.nix"
|
||||||
"${self}/hand7s/home/shellAliases.nix"
|
"${self}/hand7s/home/shellAliases.nix"
|
||||||
"${self}/hand7s/home/variables.nix"
|
|
||||||
"${self}/hand7s/home/shell.nix"
|
|
||||||
|
|
||||||
"${self}/hand7s/nixpkgs/config.nix"
|
"${self}/hand7s/nixpkgs/config.nix"
|
||||||
"${self}/hand7s/nixpkgs/overlays.nix"
|
"${self}/hand7s/nixpkgs/overlays.nix"
|
||||||
|
|
@ -46,15 +40,5 @@
|
||||||
"${self}/hand7s/programs/direnv.nix"
|
"${self}/hand7s/programs/direnv.nix"
|
||||||
"${self}/hand7s/programs/noctalia.nix"
|
"${self}/hand7s/programs/noctalia.nix"
|
||||||
"${self}/hand7s/programs/iamb.nix"
|
"${self}/hand7s/programs/iamb.nix"
|
||||||
"${self}/hand7s/programs/nushell.nix"
|
|
||||||
"${self}/hand7s/programs/carapace.nix"
|
|
||||||
"${self}/hand7s/programs/broot.nix"
|
|
||||||
"${self}/hand7s/programs/atuin.nix"
|
|
||||||
"${self}/hand7s/programs/gitui.nix"
|
|
||||||
|
|
||||||
"${self}/hand7s/xdg/portal.nix"
|
|
||||||
"${self}/hand7s/xdg/mime.nix"
|
|
||||||
"${self}/hand7s/xdg/configFile.nix"
|
|
||||||
"${self}/hand7s/xdg/terminal.nix"
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,5 @@
|
||||||
{pkgs, ...}: {
|
_: {
|
||||||
gtk = {
|
gtk = {
|
||||||
iconTheme = {
|
enable = true;
|
||||||
package = pkgs.morewaita-icon-theme;
|
|
||||||
name = "MoreWaita";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,42 +0,0 @@
|
||||||
_: {
|
|
||||||
gtk = {
|
|
||||||
gtk3 = {
|
|
||||||
extraCss = ''
|
|
||||||
headerbar {
|
|
||||||
background-color: mix(@base0D, @base02, 0.08);
|
|
||||||
}
|
|
||||||
|
|
||||||
headerbar title {
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: 500;
|
|
||||||
}
|
|
||||||
|
|
||||||
popover contents,
|
|
||||||
.menu {
|
|
||||||
background-color: mix(@base0D, @base02, 0.11);
|
|
||||||
}
|
|
||||||
|
|
||||||
tooltip {
|
|
||||||
background-color: mix(@base0D, @base02, 0.14);
|
|
||||||
}
|
|
||||||
|
|
||||||
button label {
|
|
||||||
font-size: 12px;
|
|
||||||
font-weight: 500;
|
|
||||||
}
|
|
||||||
|
|
||||||
button:hover {
|
|
||||||
background-color: alpha(@base0D, 0.08);
|
|
||||||
}
|
|
||||||
|
|
||||||
button:focus {
|
|
||||||
background-color: alpha(@base0D, 0.12);
|
|
||||||
}
|
|
||||||
|
|
||||||
button:active {
|
|
||||||
background-color: alpha(@base0D, 0.16);
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,37 +0,0 @@
|
||||||
_: {
|
|
||||||
gtk = {
|
|
||||||
gtk4 = {
|
|
||||||
extraCss = ''
|
|
||||||
headerbar {
|
|
||||||
background-color: mix(@base0D, @base02, 0.08);
|
|
||||||
}
|
|
||||||
|
|
||||||
headerbar title {
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: 500;
|
|
||||||
}
|
|
||||||
|
|
||||||
popover contents {
|
|
||||||
background-color: mix(@base0D, @base02, 0.11);
|
|
||||||
}
|
|
||||||
|
|
||||||
button label {
|
|
||||||
font-size: 12px;
|
|
||||||
font-weight: 500;
|
|
||||||
}
|
|
||||||
|
|
||||||
button:hover {
|
|
||||||
background-color: alpha(@base0D, 0.08);
|
|
||||||
}
|
|
||||||
|
|
||||||
button:focus {
|
|
||||||
background-color: alpha(@base0D, 0.12);
|
|
||||||
}
|
|
||||||
|
|
||||||
button:active {
|
|
||||||
background-color: alpha(@base0D, 0.16);
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -7,17 +7,16 @@
|
||||||
xh
|
xh
|
||||||
dua
|
dua
|
||||||
nvd
|
nvd
|
||||||
tlrc
|
|
||||||
dust
|
dust
|
||||||
sops
|
sops
|
||||||
rsync
|
rsync
|
||||||
procs
|
procs
|
||||||
sshfs
|
|
||||||
sbctl
|
sbctl
|
||||||
gping
|
gping
|
||||||
comma
|
comma
|
||||||
trippy
|
trippy
|
||||||
bottom
|
bottom
|
||||||
|
ragenix
|
||||||
ripgrep
|
ripgrep
|
||||||
kubectl
|
kubectl
|
||||||
gitoxide
|
gitoxide
|
||||||
|
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
_: {
|
|
||||||
home = {
|
|
||||||
shell = {
|
|
||||||
enableShellIntegration = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
_: {
|
|
||||||
home = {
|
|
||||||
sessionVariables = {
|
|
||||||
CARAPACE_BRIDGES = "fish";
|
|
||||||
DIRENV_WARN_TIMEOUT = "5m";
|
|
||||||
GTK_USE_PORTAL = "1";
|
|
||||||
AQ_NO_MODIFIERS = "1";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -9,6 +9,7 @@ _: {
|
||||||
# cachix.org
|
# cachix.org
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
"chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
|
"chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
|
||||||
|
"ags.cachix.org-1:naAvMrz0CuYqeyGNyLgE010iUiuf/qx6kYrUv3NwAJ8="
|
||||||
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||||||
"chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
|
"chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
|
||||||
];
|
];
|
||||||
|
|
|
||||||
6
hand7s/nixpkgs/overlays.nix
Normal file
6
hand7s/nixpkgs/overlays.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
_: {
|
||||||
|
nixpkgs = {
|
||||||
|
overlays = [
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -6,8 +6,8 @@
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
cfg = config.home.gui;
|
cfg = config.home.gui;
|
||||||
ayugram = self.inputs.ayugram-desktop.packages.${pkgs.stdenv.hostPlatform.system}.ayugram-desktop;
|
ayugram = self.inputs.ayugram-desktop.packages.${pkgs.system}.ayugram-desktop;
|
||||||
freesm-launcher = self.inputs.freesm.packages.${pkgs.stdenv.hostPlatform.system}.freesmlauncher;
|
freesm-launcher = self.inputs.freesm.packages.${pkgs.system}.freesmlauncher;
|
||||||
in {
|
in {
|
||||||
options.home.gui = {
|
options.home.gui = {
|
||||||
enable = lib.mkEnableOption ''
|
enable = lib.mkEnableOption ''
|
||||||
|
|
@ -45,6 +45,7 @@ in {
|
||||||
vesktop
|
vesktop
|
||||||
ayugram
|
ayugram
|
||||||
anki-bin
|
anki-bin
|
||||||
|
obsidian
|
||||||
mindustry
|
mindustry
|
||||||
lan-mouse
|
lan-mouse
|
||||||
monero-gui
|
monero-gui
|
||||||
|
|
@ -69,10 +70,10 @@ in {
|
||||||
cfg.sessionType == "Hyprland"
|
cfg.sessionType == "Hyprland"
|
||||||
) [
|
) [
|
||||||
fum
|
fum
|
||||||
|
timg
|
||||||
dconf
|
dconf
|
||||||
iwgtk
|
iwgtk
|
||||||
tokei
|
tokei
|
||||||
gajim
|
|
||||||
ifuse
|
ifuse
|
||||||
yt-dlp
|
yt-dlp
|
||||||
termusic
|
termusic
|
||||||
|
|
@ -85,21 +86,17 @@ in {
|
||||||
yubico-piv-tool
|
yubico-piv-tool
|
||||||
yubikey-manager
|
yubikey-manager
|
||||||
libimobiledevice
|
libimobiledevice
|
||||||
ungoogled-chromium
|
|
||||||
yubikey-touch-detector
|
yubikey-touch-detector
|
||||||
yubikey-personalization
|
yubikey-personalization
|
||||||
self.inputs.noctalia.packages.${system}.default
|
self.inputs.noctalia.packages.${system}.default
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
gtk.enable = true;
|
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
chromium.enable = true;
|
chromium.enable = true;
|
||||||
spicetify.enable = true;
|
spicetify.enable = true;
|
||||||
ghostty.enable = true;
|
ghostty.enable = true;
|
||||||
git.enable = true;
|
git.enable = true;
|
||||||
obsidian.enable = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services = with lib.mkDefault; {
|
services = with lib.mkDefault; {
|
||||||
|
|
|
||||||
|
|
@ -1,22 +0,0 @@
|
||||||
_: {
|
|
||||||
programs = {
|
|
||||||
atuin = {
|
|
||||||
enable = true;
|
|
||||||
enableNushellIntegration = true;
|
|
||||||
enableFishIntegration = true;
|
|
||||||
|
|
||||||
settings = {
|
|
||||||
keymap_mode = "vim-normal";
|
|
||||||
};
|
|
||||||
|
|
||||||
flags = [
|
|
||||||
"--disable-up-arrow"
|
|
||||||
];
|
|
||||||
|
|
||||||
daemon = {
|
|
||||||
enable = true;
|
|
||||||
logLevel = "info";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
_: {
|
|
||||||
programs = {
|
|
||||||
broot = {
|
|
||||||
enable = true;
|
|
||||||
enableNushellIntegration = true;
|
|
||||||
enableFishIntegration = true;
|
|
||||||
|
|
||||||
settings = {
|
|
||||||
modal = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
_: {
|
|
||||||
programs = {
|
|
||||||
carapace = {
|
|
||||||
enable = true;
|
|
||||||
enableNushellIntegration = true;
|
|
||||||
enableFishIntegration = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -4,6 +4,7 @@
|
||||||
package = pkgs.google-chrome.override {
|
package = pkgs.google-chrome.override {
|
||||||
commandLineArgs = [
|
commandLineArgs = [
|
||||||
"--enable-features=AcceleratedVideoEncoder,VaapiIgnoreDriverChecks,Vulkan,DefaultANGLEVulkan,VulkanFromANGLE,VaapiIgnoreDriverChecks,VaapiVideoDecoder,PlatformHEVCDecoderSupport,UseMultiPlaneFormatForHardwareVideo,SkiaGraphite"
|
"--enable-features=AcceleratedVideoEncoder,VaapiIgnoreDriverChecks,Vulkan,DefaultANGLEVulkan,VulkanFromANGLE,VaapiIgnoreDriverChecks,VaapiVideoDecoder,PlatformHEVCDecoderSupport,UseMultiPlaneFormatForHardwareVideo,SkiaGraphite"
|
||||||
|
"--enable-unsafe-webgpu"
|
||||||
"--ignore-gpu-blocklist"
|
"--ignore-gpu-blocklist"
|
||||||
"--enable-zero-copy"
|
"--enable-zero-copy"
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@ _: {
|
||||||
direnv = {
|
direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
silent = true;
|
silent = true;
|
||||||
enableNushellIntegration = true;
|
|
||||||
|
|
||||||
nix-direnv = {
|
nix-direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@ _: {
|
||||||
eza = {
|
eza = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableFishIntegration = true;
|
enableFishIntegration = true;
|
||||||
enableNushellIntegration = true;
|
|
||||||
git = true;
|
git = true;
|
||||||
icons = "always";
|
icons = "always";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@ _: {
|
||||||
fzf = {
|
fzf = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableFishIntegration = true;
|
enableFishIntegration = true;
|
||||||
|
|
||||||
tmux = {
|
tmux = {
|
||||||
enableShellIntegration = true;
|
enableShellIntegration = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
bell-features = "system";
|
bell-features = "system";
|
||||||
|
|
||||||
command = "${lib.getExe pkgs.nushell}";
|
command = "${lib.getExe pkgs.fish}";
|
||||||
|
|
||||||
confirm-close-surface = false;
|
confirm-close-surface = false;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,26 +0,0 @@
|
||||||
_: {
|
|
||||||
programs = {
|
|
||||||
gitui = {
|
|
||||||
enable = true;
|
|
||||||
keyConfig = ''
|
|
||||||
(
|
|
||||||
move_left: Some(( code: Char('h'), modifiers: "" )),
|
|
||||||
move_right: Some(( code: Char('l'), modifiers: "" )),
|
|
||||||
move_up: Some(( code: Char('k'), modifiers: "" )),
|
|
||||||
move_down: Some(( code: Char('j'), modifiers: "" )),
|
|
||||||
|
|
||||||
popup_up: Some(( code: Char('k'), modifiers: "" )),
|
|
||||||
popup_down: Some(( code: Char('j'), modifiers: "" )),
|
|
||||||
page_up: Some(( code: Char('b'), modifiers: "CONTROL" )),
|
|
||||||
page_down: Some(( code: Char('f'), modifiers: "CONTROL" )),
|
|
||||||
|
|
||||||
stage_hunk: Some(( code: Char('x'), modifiers: "" )),
|
|
||||||
status_reset_item: Some(( code: Char('U'), modifiers: "SHIFT" )),
|
|
||||||
|
|
||||||
shift_up: Some(( code: Char('K'), modifiers: "SHIFT" )),
|
|
||||||
shift_down: Some(( code: Char('J'), modifiers: "SHIFT" )),
|
|
||||||
)
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -2,15 +2,7 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: let
|
}: {
|
||||||
formatter = {
|
|
||||||
run = "treefmt";
|
|
||||||
args = [
|
|
||||||
"--stdin"
|
|
||||||
"$f"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
programs = {
|
programs = {
|
||||||
helix = {
|
helix = {
|
||||||
package = pkgs.helix;
|
package = pkgs.helix;
|
||||||
|
|
@ -18,133 +10,52 @@ in {
|
||||||
defaultEditor = true;
|
defaultEditor = true;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
nixd
|
nixd
|
||||||
ruff
|
|
||||||
vtsls
|
|
||||||
rust-analyzer
|
|
||||||
];
|
];
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
editor = {
|
editor = {
|
||||||
line-number = "relative";
|
line-number = "relative";
|
||||||
cursorline = true;
|
cursorline = true;
|
||||||
auto-pairs = true;
|
|
||||||
auto-save = {
|
|
||||||
focus-lost = true;
|
|
||||||
after-delay = {
|
|
||||||
enable = true;
|
|
||||||
timeout = 3000;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
soft-wrap = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
inline-diagnostics = {
|
|
||||||
cursor-line = "hint";
|
|
||||||
};
|
|
||||||
|
|
||||||
lsp = {
|
lsp = {
|
||||||
enable = true;
|
display-messages = true;
|
||||||
display-progress-messages = true;
|
|
||||||
display-inlay-hints = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
cursor-shape = {
|
|
||||||
normal = "underline";
|
|
||||||
insert = "block";
|
|
||||||
select = "underline";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
languages = {
|
languages = {
|
||||||
language-servers = {
|
language-servers = {
|
||||||
"nixd" = {
|
nixd = {
|
||||||
command = "${lib.getExe pkgs.nixd}";
|
command = "${lib.getExe pkgs.nixd}";
|
||||||
args = [
|
args = [
|
||||||
"--inlay-hints=true"
|
"--inlay-hints=true"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
"ruff" = {
|
|
||||||
command = "${lib.getExe pkgs.ruff}";
|
|
||||||
args = [
|
|
||||||
"server"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
"vtsls" = {
|
language = [
|
||||||
command = "${lib.getExe pkgs.vtsls}";
|
|
||||||
args = [
|
|
||||||
"--stdio"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
"rust-lsp" = {
|
|
||||||
command = "${lib.getExe pkgs.rust-analyzer}";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
languages = [
|
|
||||||
{
|
{
|
||||||
name = "nix";
|
name = "nix";
|
||||||
auto-format = true;
|
comment-token = "#";
|
||||||
|
injection-regex = "nix";
|
||||||
|
indent = {
|
||||||
|
tab-width = 4;
|
||||||
|
unit = " ";
|
||||||
|
};
|
||||||
|
|
||||||
|
formatter = {
|
||||||
|
command = "${lib.getExe pkgs.nix}";
|
||||||
|
args = [
|
||||||
|
"fmt"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
file-types = [
|
||||||
|
"nix"
|
||||||
|
];
|
||||||
|
|
||||||
language-servers = [
|
language-servers = [
|
||||||
"nixd"
|
"nixd"
|
||||||
];
|
];
|
||||||
|
|
||||||
inherit
|
|
||||||
formatter
|
|
||||||
;
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
name = "python";
|
|
||||||
auto-format = true;
|
|
||||||
language-servers = [
|
|
||||||
"ruff"
|
|
||||||
];
|
|
||||||
|
|
||||||
inherit
|
|
||||||
formatter
|
|
||||||
;
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
name = "rust";
|
|
||||||
auto-format = true;
|
|
||||||
language-servers = [
|
|
||||||
"rust-lsp"
|
|
||||||
];
|
|
||||||
|
|
||||||
inherit
|
|
||||||
formatter
|
|
||||||
;
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
name = "javascript";
|
|
||||||
auto-format = true;
|
|
||||||
language-servers = [
|
|
||||||
"vtsls"
|
|
||||||
];
|
|
||||||
|
|
||||||
inherit
|
|
||||||
formatter
|
|
||||||
;
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
name = "typescript";
|
|
||||||
auto-format = true;
|
|
||||||
language-servers = [
|
|
||||||
"vtsls"
|
|
||||||
];
|
|
||||||
|
|
||||||
inherit
|
|
||||||
formatter
|
|
||||||
;
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@ _: {
|
||||||
nix-index = {
|
nix-index = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableFishIntegration = true;
|
enableFishIntegration = true;
|
||||||
enableNushellIntegration = true;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -19,10 +19,9 @@
|
||||||
forceBlackScreenCorners = true;
|
forceBlackScreenCorners = true;
|
||||||
showScreenCorners = true;
|
showScreenCorners = true;
|
||||||
screenRadiusRatio = 1;
|
screenRadiusRatio = 1;
|
||||||
radiusRatio = 1.5;
|
radiusRatio = 0.7;
|
||||||
enableBlurBehind = true;
|
|
||||||
enableShadows = true;
|
enableShadows = true;
|
||||||
shadowDirection = "bottom_right";
|
shadowDirection = "center";
|
||||||
};
|
};
|
||||||
|
|
||||||
appLauncher = {
|
appLauncher = {
|
||||||
|
|
@ -41,12 +40,10 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
bar = {
|
bar = {
|
||||||
floating = true;
|
floating = false;
|
||||||
density = "comfortable";
|
density = "default";
|
||||||
position = "right";
|
position = "right";
|
||||||
showCapsule = true;
|
showCapsule = false;
|
||||||
contentPadding = 8;
|
|
||||||
widgetSpacing = 10;
|
|
||||||
marginVertical = 1;
|
marginVertical = 1;
|
||||||
marginHorizontal = 0.6;
|
marginHorizontal = 0.6;
|
||||||
monitors = [
|
monitors = [
|
||||||
|
|
@ -122,7 +119,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
notifications = {
|
notifications = {
|
||||||
location = "top_right";
|
location = "top_center";
|
||||||
};
|
};
|
||||||
|
|
||||||
controlCenter = {
|
controlCenter = {
|
||||||
|
|
@ -150,7 +147,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
dock = {
|
dock = {
|
||||||
dockType = "static";
|
|
||||||
displayMode = "auto_hide";
|
displayMode = "auto_hide";
|
||||||
floatingRatio = 1;
|
floatingRatio = 1;
|
||||||
onlySameOutput = true;
|
onlySameOutput = true;
|
||||||
|
|
@ -202,9 +198,9 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
ui = {
|
ui = {
|
||||||
fontDefault = lib.mkForce "Monaspace Aether Nerd Font";
|
fontDefault = lib.mkForce "Nerd Fonts Hack";
|
||||||
fontDefaultScale = 1;
|
fontDefaultScale = 1;
|
||||||
fontFixed = lib.mkForce "Roboto Mono Nerd Font";
|
fontFixed = lib.mkForce "Nerd Fonts Hack";
|
||||||
fontFixedScale = 1;
|
fontFixedScale = 1;
|
||||||
idleInhibitorEnabled = false;
|
idleInhibitorEnabled = false;
|
||||||
tooltipsEnabled = true;
|
tooltipsEnabled = true;
|
||||||
|
|
|
||||||
|
|
@ -1,24 +0,0 @@
|
||||||
{
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs = {
|
|
||||||
nushell = {
|
|
||||||
enable = true;
|
|
||||||
extraEnv = ''
|
|
||||||
$env.EDITOR = "hx"
|
|
||||||
'';
|
|
||||||
|
|
||||||
extraConfig = ''
|
|
||||||
$env.config.show_banner = false
|
|
||||||
|
|
||||||
$env.config.buffer_editor = "hx"
|
|
||||||
|
|
||||||
def fish-run [cmd: string] {
|
|
||||||
^${lib.getExe pkgs.fish} -c $cmd
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -6,13 +6,13 @@
|
||||||
}: {
|
}: {
|
||||||
programs = {
|
programs = {
|
||||||
spicetify = {
|
spicetify = {
|
||||||
enabledExtensions = with self.inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.hostPlatform.system}.extensions; [
|
enabledExtensions = with self.inputs.spicetify-nix.legacyPackages.${pkgs.system}.extensions; [
|
||||||
adblock
|
adblock
|
||||||
hidePodcasts
|
hidePodcasts
|
||||||
shuffle
|
shuffle
|
||||||
];
|
];
|
||||||
|
|
||||||
theme = lib.mkForce self.inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.hostPlatform.system}.themes.text;
|
theme = lib.mkForce self.inputs.spicetify-nix.legacyPackages.${pkgs.system}.themes.text;
|
||||||
colorScheme = lib.mkForce "TokyoNight";
|
colorScheme = lib.mkForce "TokyoNight";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -3,17 +3,15 @@ _: {
|
||||||
starship = {
|
starship = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableFishIntegration = true;
|
enableFishIntegration = true;
|
||||||
enableNushellIntegration = true;
|
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
add_newline = true;
|
add_newline = true;
|
||||||
|
|
||||||
format = ''
|
format = ''
|
||||||
[╭──╼](bold blue) $username at $hostname on $os
|
[╭──╼](bold blue) $username at $hostname on $os
|
||||||
[┆](bold blue) $directory$git_branch$git_commit$git_state$git_metrics$git_status$kubernetes$rust
|
[┆](bold blue) $directory$git_branch$git_commit$git_state$git_metrics$git_status
|
||||||
[╰─>](bold blue) '';
|
[╰─>](bold blue) '';
|
||||||
|
|
||||||
right_format = ''$cmd_duration ($status) at ❗$time'';
|
right_format = ''$cmd_duration ($character) at ❗$time'';
|
||||||
|
|
||||||
os = {
|
os = {
|
||||||
format = "[($name $codename$version$edition $symbol )]($style)";
|
format = "[($name $codename$version$edition $symbol )]($style)";
|
||||||
|
|
@ -35,18 +33,9 @@ _: {
|
||||||
style_user = "bold green";
|
style_user = "bold green";
|
||||||
};
|
};
|
||||||
|
|
||||||
status = {
|
character = {
|
||||||
disabled = false;
|
success_symbol = "[✓](bold green)";
|
||||||
format = "[$symbol]($style)";
|
error_symbol = "[✗](bold red)";
|
||||||
symbol = "✗";
|
|
||||||
success_symbol = "✓";
|
|
||||||
not_executable_symbol = "⃠🚫";
|
|
||||||
not_found_symbol = "🔍";
|
|
||||||
sigint_symbol = "[🛑](bold red)";
|
|
||||||
signal_symbol = "[⚡](bold yellow)";
|
|
||||||
|
|
||||||
pipestatus = true;
|
|
||||||
pipestatus_separator = "|";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
time = {
|
time = {
|
||||||
|
|
@ -64,14 +53,6 @@ _: {
|
||||||
show_notifications = false;
|
show_notifications = false;
|
||||||
format = "was [$duration](bold green)";
|
format = "was [$duration](bold green)";
|
||||||
};
|
};
|
||||||
|
|
||||||
rust = {
|
|
||||||
format = "via [⚙️ $version](red bold)";
|
|
||||||
};
|
|
||||||
|
|
||||||
kubernetes = {
|
|
||||||
disabled = false;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
yazi = {
|
yazi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableFishIntegration = true;
|
enableFishIntegration = true;
|
||||||
enableNushellIntegration = true;
|
|
||||||
|
|
||||||
shellWrapperName = "yz";
|
shellWrapperName = "yz";
|
||||||
settings = {
|
settings = {
|
||||||
mgr = {
|
mgr = {
|
||||||
|
|
@ -44,63 +42,33 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
opener = {
|
opener = {
|
||||||
"play" = [
|
play = [
|
||||||
{
|
{
|
||||||
run = ''${lib.getExe pkgs.mpv} --vo=tct "%s"'';
|
run = "${lib.getExe pkgs.mpv} ''$@''";
|
||||||
block = true;
|
block = true;
|
||||||
for = "unix";
|
for = "unix";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
"view" = [
|
view = [
|
||||||
{
|
{
|
||||||
run = ''${lib.getExe pkgs.viu} -t "%s"'';
|
run = "${lib.getExe pkgs.timg} ''-p k -C $@ | ${lib.getExe' pkgs.uutils-coreutils-noprefix "more"}''";
|
||||||
block = true;
|
block = true;
|
||||||
for = "unix";
|
for = "unix";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
"edit" = [
|
edit = [
|
||||||
{
|
{
|
||||||
run = ''${lib.getExe pkgs.helix} "%s"'';
|
run = "${lib.getExe pkgs.helix} ''$@''";
|
||||||
block = true;
|
block = true;
|
||||||
for = "unix";
|
for = "unix";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
"doc" = [
|
open = [
|
||||||
{
|
{
|
||||||
run = ''${lib.getExe pkgs.tdf} "%s"'';
|
run = "${lib.getExe' pkgs.xdg-utils "xdg-open"} ''$@''";
|
||||||
block = true;
|
|
||||||
for = "unix";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
"hex" = [
|
|
||||||
{
|
|
||||||
run = ''${lib.getExe pkgs.hexyl} "$s"'';
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
"exfil" = [
|
|
||||||
{
|
|
||||||
run = ''${lib.getExe pkgs.ouch} de "%s"'';
|
|
||||||
block = true;
|
|
||||||
for = "unix";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
"book" = [
|
|
||||||
{
|
|
||||||
run = ''${lib.getExe pkgs.epr} "%s"'';
|
|
||||||
block = true;
|
|
||||||
for = "unix";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
"open" = [
|
|
||||||
{
|
|
||||||
run = ''${lib.getExe' pkgs.xdg-utils "xdg-open"} "%s"'';
|
|
||||||
orphan = true;
|
orphan = true;
|
||||||
for = "unix";
|
for = "unix";
|
||||||
}
|
}
|
||||||
|
|
@ -110,83 +78,23 @@
|
||||||
open = {
|
open = {
|
||||||
rules = [
|
rules = [
|
||||||
{
|
{
|
||||||
mime = "video/*";
|
mime = "image/*";
|
||||||
use = [
|
use = "view";
|
||||||
"play"
|
|
||||||
"open"
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
mime = "audio/*";
|
|
||||||
use = [
|
|
||||||
"play"
|
|
||||||
"open"
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
mime = "application/epub+zip";
|
|
||||||
use = [
|
|
||||||
"book"
|
|
||||||
"edit"
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
mime = "application/pdf";
|
|
||||||
use = [
|
|
||||||
"doc"
|
|
||||||
"open"
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
mime = "application/{octet-stream,x-executable,x-sharedlib,x-pie-executable}";
|
|
||||||
use = [
|
|
||||||
"hex"
|
|
||||||
"open"
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
mime = "application/vnd.*";
|
|
||||||
use = [
|
|
||||||
"open"
|
|
||||||
"edit"
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
mime = "font/*";
|
|
||||||
use = [
|
|
||||||
"open"
|
|
||||||
"edit"
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
mime = "application/{zip,rar,7z*,tar*,x-tar,x-bzip*,x-gzip,x-xz}";
|
|
||||||
use = [
|
|
||||||
"exfil"
|
|
||||||
"open"
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
mime = "text/*";
|
mime = "text/*";
|
||||||
use = [
|
use = "edit";
|
||||||
"edit"
|
|
||||||
"open"
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
mime = "*";
|
mime = "audio/*";
|
||||||
use = [
|
use = "play";
|
||||||
"edit"
|
}
|
||||||
"open"
|
|
||||||
];
|
{
|
||||||
|
mime = "video/*";
|
||||||
|
use = "play";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -6,32 +6,8 @@
|
||||||
programs = {
|
programs = {
|
||||||
zellij = {
|
zellij = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
options = {
|
default_shell = "${lib.getExe pkgs.fish}";
|
||||||
copy_on_select = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
keybinds = {
|
|
||||||
unbind = [
|
|
||||||
"Alt n"
|
|
||||||
"Alt i"
|
|
||||||
"Alt o"
|
|
||||||
"Alt h"
|
|
||||||
"Alt j"
|
|
||||||
"Alt k"
|
|
||||||
"Alt l"
|
|
||||||
"Alt f"
|
|
||||||
"Alt Up"
|
|
||||||
"Alt Down"
|
|
||||||
"Alt Right"
|
|
||||||
"Alt Left"
|
|
||||||
"Alt +"
|
|
||||||
"Alt -"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
default_shell = "${lib.getExe pkgs.nushell}";
|
|
||||||
show_startup_tips = false;
|
show_startup_tips = false;
|
||||||
show_release_notes = false;
|
show_release_notes = false;
|
||||||
simplified_ui = true;
|
simplified_ui = true;
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@ _: {
|
||||||
zoxide = {
|
zoxide = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableFishIntegration = true;
|
enableFishIntegration = true;
|
||||||
enableNushellIntegration = true;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,22 +1,22 @@
|
||||||
_: {
|
_: {
|
||||||
stylix = {
|
stylix = {
|
||||||
base16Scheme = {
|
base16Scheme = {
|
||||||
scheme = "Tokyo-Night-Storm-MD3e";
|
scheme = "Tokyonight by Folke Lemaitre (https://github.com/folke)";
|
||||||
name = "TokyoNightStormMD3e";
|
name = "Tokyonight";
|
||||||
base00 = "#24283b";
|
base00 = "#24283b";
|
||||||
base01 = "#1f2335";
|
base01 = "#1f2335";
|
||||||
base02 = "#292e42";
|
base02 = "#292e42";
|
||||||
base03 = "#565f89";
|
base03 = "#565f89";
|
||||||
base04 = "#a9b1d6";
|
base04 = "#a9b1d6";
|
||||||
base05 = "#c0caf5";
|
base05 = "#c0caf5";
|
||||||
base06 = "#cdd6f4";
|
base06 = "#c0caf5";
|
||||||
base07 = "#d5d6db";
|
base07 = "#c0caf5";
|
||||||
base08 = "#f7768e";
|
base08 = "#f7768e";
|
||||||
base09 = "#ff9e64";
|
base09 = "#ff9e64";
|
||||||
base0A = "#e0af68";
|
base0A = "#e0af68";
|
||||||
base0B = "#9ece6a";
|
base0B = "#9ece6a";
|
||||||
base0C = "#7dcfff";
|
base0C = "#1abc9c";
|
||||||
base0D = "#7aa2f7";
|
base0D = "#41a6b5";
|
||||||
base0E = "#bb9af7";
|
base0E = "#bb9af7";
|
||||||
base0F = "#ff007c";
|
base0F = "#ff007c";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -2,30 +2,30 @@
|
||||||
stylix = {
|
stylix = {
|
||||||
fonts = {
|
fonts = {
|
||||||
sizes = {
|
sizes = {
|
||||||
applications = 12;
|
applications = 10;
|
||||||
desktop = 11;
|
desktop = 8;
|
||||||
popups = 11;
|
popups = 10;
|
||||||
terminal = 12;
|
terminal = 10;
|
||||||
};
|
};
|
||||||
|
|
||||||
monospace = {
|
monospace = {
|
||||||
package = pkgs.nerd-fonts.monaspace;
|
package = pkgs.nerd-fonts.roboto-mono;
|
||||||
name = "Monospace Aether Nerd Font";
|
name = "Roboto-Mono Nerd Font";
|
||||||
};
|
};
|
||||||
|
|
||||||
emoji = {
|
emoji = {
|
||||||
package = pkgs.noto-fonts-color-emoji;
|
package = pkgs.nerd-fonts.symbols-only;
|
||||||
name = "Noto Color Emoji";
|
name = "Symbols Only Nerd Font";
|
||||||
};
|
};
|
||||||
|
|
||||||
sansSerif = {
|
sansSerif = {
|
||||||
package = pkgs.nerd-fonts.iosevka-term-slab;
|
package = pkgs.nerd-fonts.aurulent-sans-mono;
|
||||||
name = "Iosevka Term Slab Nerd Font";
|
name = "Aurulent Sans Mono Nerd Font";
|
||||||
};
|
};
|
||||||
|
|
||||||
serif = {
|
serif = {
|
||||||
package = pkgs.nerd-fonts.noto;
|
package = pkgs.nerd-fonts.hack;
|
||||||
name = "Noto Serif Nerd Font";
|
name = "Hack Nerd Font";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
32
hand7s/stylix/red_ish.nix
Normal file
32
hand7s/stylix/red_ish.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
_: {
|
||||||
|
stylix = {
|
||||||
|
base16Scheme = {
|
||||||
|
base00 = "2a1617";
|
||||||
|
base01 = "5d3f3f";
|
||||||
|
base02 = "7a5bab";
|
||||||
|
base03 = "bb9499";
|
||||||
|
base04 = "eea1cf";
|
||||||
|
base05 = "f5dddd";
|
||||||
|
base06 = "ffebff";
|
||||||
|
base07 = "ffede9";
|
||||||
|
base08 = "e36b70";
|
||||||
|
base09 = "ac878e";
|
||||||
|
base0A = "db7356";
|
||||||
|
base0B = "a78897";
|
||||||
|
base0C = "ca7a79";
|
||||||
|
base0D = "b28776";
|
||||||
|
base0E = "d8708b";
|
||||||
|
base0F = "ec6653";
|
||||||
|
base10 = "2a1617";
|
||||||
|
base11 = "2a1617";
|
||||||
|
base12 = "e36b70";
|
||||||
|
base13 = "ac878e";
|
||||||
|
base14 = "a78897";
|
||||||
|
base15 = "ca7a79";
|
||||||
|
base16 = "b28776";
|
||||||
|
base17 = "d8708b";
|
||||||
|
scheme = "hand7s";
|
||||||
|
name = "red_ish";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 62 KiB |
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
config,
|
|
||||||
self,
|
self,
|
||||||
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
|
|
@ -14,22 +14,22 @@
|
||||||
)
|
)
|
||||||
true;
|
true;
|
||||||
|
|
||||||
package = self.inputs.nixpkgs.legacyPackages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
package = self.inputs.hyprland.packages.${pkgs.system}.hyprland;
|
||||||
portalPackage = self.inputs.nixpkgs.legacyPackages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
|
portalPackage = self.inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
monitor = ", 2560x1440@165.00Hz, 0x0, 1";
|
monitor = ", 2560x1440@165.00Hz, 0x0, 1";
|
||||||
|
|
||||||
general = {
|
general = {
|
||||||
gaps_in = 8;
|
gaps_in = "5";
|
||||||
gaps_out = 20;
|
gaps_out = "20";
|
||||||
border_size = 0;
|
border_size = "2";
|
||||||
layout = "dwindle";
|
layout = "dwindle";
|
||||||
|
|
||||||
snap = {
|
snap = {
|
||||||
enabled = false;
|
enabled = false;
|
||||||
window_gap = 10;
|
window_gap = "5";
|
||||||
monitor_gap = 10;
|
monitor_gap = "5";
|
||||||
border_overlap = false;
|
border_overlap = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -39,9 +39,9 @@
|
||||||
kb_options = "grp:caps_toggle";
|
kb_options = "grp:caps_toggle";
|
||||||
|
|
||||||
numlock_by_default = true;
|
numlock_by_default = true;
|
||||||
follow_mouse = 1;
|
follow_mouse = "1";
|
||||||
left_handed = false;
|
left_handed = false;
|
||||||
sensitivity = 0;
|
sensitivity = "0";
|
||||||
|
|
||||||
special_fallthrough = true;
|
special_fallthrough = true;
|
||||||
focus_on_close = 1;
|
focus_on_close = 1;
|
||||||
|
|
@ -64,29 +64,27 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
decoration = {
|
decoration = {
|
||||||
active_opacity = "0.92";
|
active_opacity = "0.85";
|
||||||
inactive_opacity = "0.88";
|
inactive_opacity = "0.65";
|
||||||
fullscreen_opacity = "1.0";
|
fullscreen_opacity = "1.0";
|
||||||
|
rounding = "10";
|
||||||
|
|
||||||
rounding = 24;
|
dim_inactive = true;
|
||||||
rounding_power = "2";
|
dim_strength = "0.15";
|
||||||
|
dim_special = "0.0";
|
||||||
dim_inactive = false;
|
dim_around = "0.05";
|
||||||
|
|
||||||
shadow = {
|
shadow = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
render_power = 3;
|
render_power = "4";
|
||||||
range = 20;
|
range = "4";
|
||||||
ignore_window = false;
|
ignore_window = false;
|
||||||
offset = "0 4";
|
|
||||||
scale = "1.0";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
blur = {
|
blur = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
size = 8;
|
size = "10";
|
||||||
passes = 3;
|
passes = "5";
|
||||||
vibrancy = 0.2;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -94,7 +92,7 @@
|
||||||
"${lib.getExe' pkgs.systemd "systemctl"} --user start hyprpaper.service"
|
"${lib.getExe' pkgs.systemd "systemctl"} --user start hyprpaper.service"
|
||||||
"${lib.getExe' pkgs.systemd "systemctl"} --user start hypridle.service"
|
"${lib.getExe' pkgs.systemd "systemctl"} --user start hypridle.service"
|
||||||
"${lib.getExe' pkgs.systemd "systemctl"} --user start hyprpolkitagent.service"
|
"${lib.getExe' pkgs.systemd "systemctl"} --user start hyprpolkitagent.service"
|
||||||
"${lib.getExe self.inputs.noctalia.packages.${pkgs.stdenv.hostPlatform.system}.default}"
|
"${lib.getExe self.inputs.noctalia.packages.${pkgs.system}.default}"
|
||||||
|
|
||||||
"${lib.getExe' pkgs.hyprland "hyprctl"} setcursor material_light_cursors 20"
|
"${lib.getExe' pkgs.hyprland "hyprctl"} setcursor material_light_cursors 20"
|
||||||
];
|
];
|
||||||
|
|
@ -102,12 +100,12 @@
|
||||||
bind = [
|
bind = [
|
||||||
"ALT, return, exec, ${lib.getExe pkgs.ghostty}"
|
"ALT, return, exec, ${lib.getExe pkgs.ghostty}"
|
||||||
"ALT, Q, killactive,"
|
"ALT, Q, killactive,"
|
||||||
"ALT, S, exec, ${lib.getExe self.inputs.noctalia.packages.${pkgs.stdenv.hostPlatform.system}.default} ipc call launcher toggle"
|
"ALT, S, exec, ${lib.getExe self.inputs.noctalia.packages.${pkgs.system}.default} ipc call launcher toggle"
|
||||||
"ALT, F, fullscreen, 0"
|
"ALT, F, fullscreen, 0"
|
||||||
"ALT, L, exec, ${lib.getExe pkgs.hyprlock}"
|
"ALT, L, exec, ${lib.getExe pkgs.hyprlock}"
|
||||||
|
|
||||||
"ALT SHIFT, space, togglefloating, active"
|
"ALT SHIFT, space, togglefloating, active"
|
||||||
"ALT SHIFT, S, exec, ${lib.getExe pkgs.grimblast} --notify --freeze copysave area /home/hand7s/Pictures/Screenshots/$(date '+%y%m%d_%H-%M-%s').png || , killall -9 hyprpicker"
|
"ALT SHIFT, S, exec, ${lib.getExe pkgs.grimblast} --notify --freeze copysave area /home/hand7s/Pictures/Screenshots/$(date '+%y%m%d_%H-%M-%s').png | , killall -9 hyprpicker"
|
||||||
|
|
||||||
"ALT, left, movefocus, l"
|
"ALT, left, movefocus, l"
|
||||||
"ALT, right, movefocus, r"
|
"ALT, right, movefocus, r"
|
||||||
|
|
@ -165,34 +163,18 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
animation = [
|
animation = [
|
||||||
"workspace_wraparound = true"
|
|
||||||
"enabled = true"
|
"enabled = true"
|
||||||
|
|
||||||
"bezier = md3_standard, 0.2, 0.0, 0.0, 1.0"
|
"animation = windows, 1, 7, popin"
|
||||||
"bezier = md3_decel, 0.05, 0.7, 0.1, 1.0"
|
"animation = windowsOut, 1, 7, popin"
|
||||||
"bezier = md3_accel, 0.3, 0.0, 0.8, 0.15"
|
|
||||||
|
|
||||||
"bezier = menu_decel, 0.1, 1.0, 0.1, 1.0"
|
"animation = layers, 1, 7, fade"
|
||||||
"bezier = menu_accel, 0.38, 0.04, 1.0, 0.07"
|
|
||||||
|
|
||||||
"animation = windows, 1, 4, md3_decel, slide"
|
"animation = border, 1, 10"
|
||||||
"animation = windowsIn, 1, 4, md3_decel, slide"
|
"animation = borderangle, 1, 10"
|
||||||
"animation = windowsOut, 1, 2, md3_accel, slide"
|
|
||||||
"animation = fade, 1, 2, md3_standard"
|
|
||||||
"animation = layers, 1, 2, md3_decel, slide"
|
|
||||||
"animation = layersIn, 1, 3, md3_decel, slide"
|
|
||||||
"animation = layersOut, 1, 2, md3_accel, slide"
|
|
||||||
"animation = fadeLayersIn, 1, 3, menu_decel"
|
|
||||||
"animation = fadeLayersOut, 1, 2, menu_accel"
|
|
||||||
"animation = workspaces, 1, 4, md3_standard, slidefade 20%"
|
|
||||||
"animation = specialWorkspace, 1, 3, md3_decel, slidevert"
|
|
||||||
];
|
|
||||||
|
|
||||||
windowrulev2 = [
|
"animation = workspaces, 1, 7, slidevert"
|
||||||
"float, class:^(yazi-picker)$"
|
"animation = specialWorkspace, 1, 7, slidevert"
|
||||||
"center, class:^(yazi-picker)$"
|
|
||||||
"size 1000 600, class:^(yazi-picker)$"
|
|
||||||
"stayfocused, class:^(yazi-picker)$"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
misc = {
|
misc = {
|
||||||
|
|
@ -203,12 +185,11 @@
|
||||||
animate_mouse_windowdragging = true;
|
animate_mouse_windowdragging = true;
|
||||||
focus_on_activate = true;
|
focus_on_activate = true;
|
||||||
close_special_on_empty = true;
|
close_special_on_empty = true;
|
||||||
vrr = "3";
|
initial_workspace_tracking = "2";
|
||||||
};
|
};
|
||||||
|
|
||||||
render = {
|
render = {
|
||||||
cm_auto_hdr = 0;
|
cm_auto_hdr = 0;
|
||||||
direct_scanout = "2";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
binds = {
|
binds = {
|
||||||
|
|
@ -283,7 +264,8 @@
|
||||||
|
|
||||||
plugins = with pkgs.hyprlandPlugins; [
|
plugins = with pkgs.hyprlandPlugins; [
|
||||||
hypr-dynamic-cursors
|
hypr-dynamic-cursors
|
||||||
hyprspace
|
hyprscrolling
|
||||||
|
hyprexpo
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,22 +0,0 @@
|
||||||
{
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
xdg = {
|
|
||||||
configFile = {
|
|
||||||
"xdg-desktop-portal-termfilechooser/config" = {
|
|
||||||
enable = true;
|
|
||||||
force = true;
|
|
||||||
text = ''
|
|
||||||
[filechooser]
|
|
||||||
cmd="${pkgs.xdg-desktop-portal-termfilechooser}/share/xdg-desktop-portal-termfilechooser/yazi-wrapper.sh"
|
|
||||||
default_dir=$HOME
|
|
||||||
env=TERMCMD="${lib.getExe pkgs.ghostty} --title='yazi-picker' -e"
|
|
||||||
open_mode=suggested
|
|
||||||
save_mode=last
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
_: {
|
|
||||||
xdg = {
|
|
||||||
mime = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
mimeApps = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,35 +0,0 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
xdg = {
|
|
||||||
portal = {
|
|
||||||
enable = lib.mkIf config.home.gui.enable true;
|
|
||||||
extraPortals = with pkgs; [
|
|
||||||
xdg-desktop-portal-gtk
|
|
||||||
xdg-desktop-portal-termfilechooser
|
|
||||||
];
|
|
||||||
|
|
||||||
config = {
|
|
||||||
common = {
|
|
||||||
default = [
|
|
||||||
"gtk"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
hyprland = {
|
|
||||||
default = [
|
|
||||||
"gtk"
|
|
||||||
"hyprland"
|
|
||||||
];
|
|
||||||
|
|
||||||
"org.freedesktop.impl.portal.FileChooser" = [
|
|
||||||
"termfilechooser"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
_: {
|
|
||||||
xdg = {
|
|
||||||
terminal-exec = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
default = [
|
|
||||||
"com.mitchellh.ghostty.desktop"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{lib, ...}: {
|
||||||
boot = {
|
boot = {
|
||||||
initrd = {
|
initrd = {
|
||||||
availableKernelModules = [
|
availableKernelModules = [
|
||||||
|
|
@ -17,8 +17,13 @@ _: {
|
||||||
supportedFilesystems = {
|
supportedFilesystems = {
|
||||||
vfat = true;
|
vfat = true;
|
||||||
btrfs = true;
|
btrfs = true;
|
||||||
|
zfs = lib.mkForce false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
kernelModules = [
|
||||||
|
"i915"
|
||||||
|
];
|
||||||
|
|
||||||
luks = {
|
luks = {
|
||||||
devices = {
|
devices = {
|
||||||
cryptroot = {
|
cryptroot = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,8 @@
|
||||||
{pkgs, ...}: {
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
boot = {
|
boot = {
|
||||||
kernel = {
|
kernel = {
|
||||||
sysctl = {
|
sysctl = {
|
||||||
|
|
@ -12,9 +16,13 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
kernelPackages = pkgs.linuxPackages_latest;
|
kernelPackages = pkgs.linuxPackages_zen;
|
||||||
|
extraModprobeConfig = ''
|
||||||
|
options thinkpad_acpi fan_control=1
|
||||||
|
'';
|
||||||
|
|
||||||
kernelParams = [
|
kernelParams = [
|
||||||
|
"i915.enable_rc6=7"
|
||||||
"udev.log_priority=3"
|
"udev.log_priority=3"
|
||||||
"quiet"
|
"quiet"
|
||||||
"splash"
|
"splash"
|
||||||
|
|
@ -27,12 +35,15 @@
|
||||||
"page_alloc.shuffle=1"
|
"page_alloc.shuffle=1"
|
||||||
"page_poison=1"
|
"page_poison=1"
|
||||||
"slab_nomerge"
|
"slab_nomerge"
|
||||||
"zswap.enabled=0"
|
|
||||||
|
|
||||||
"kernel.watchdog=0"
|
"kernel.watchdog=0"
|
||||||
"oops=panic"
|
"oops=panic"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
kernelModules = [
|
||||||
|
"tp_smapi"
|
||||||
|
];
|
||||||
|
|
||||||
blacklistedKernelModules = [
|
blacklistedKernelModules = [
|
||||||
"k10temp"
|
"k10temp"
|
||||||
"ax25"
|
"ax25"
|
||||||
|
|
@ -66,6 +77,9 @@
|
||||||
supportedFilesystems = {
|
supportedFilesystems = {
|
||||||
vfat = true;
|
vfat = true;
|
||||||
btrfs = true;
|
btrfs = true;
|
||||||
|
zfs = lib.mkForce false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# consoleLogLevel = 0;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
boot = {
|
boot = {
|
||||||
lanzaboote = {
|
lanzaboote = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
boot = {
|
boot = {
|
||||||
tmp = {
|
tmp = {
|
||||||
useTmpfs = true;
|
useTmpfs = true;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
console = {
|
console = {
|
||||||
useXkbConfig = true;
|
useXkbConfig = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
"${self}/isla/disko/disk.nix"
|
"${self}/isla/disko/disk.nix"
|
||||||
"${self}/isla/disko/lvm_vg.nix"
|
"${self}/isla/disko/lvm_vg.nix"
|
||||||
|
|
||||||
"${self}/isla/boot/loader/systemd-boot.nix"
|
"${self}/isla/boot/loader/system-boot.nix"
|
||||||
"${self}/isla/boot/lanzaboote.nix"
|
"${self}/isla/boot/lanzaboote.nix"
|
||||||
"${self}/isla/boot/initrd.nix"
|
"${self}/isla/boot/initrd.nix"
|
||||||
"${self}/isla/boot/kernel.nix"
|
"${self}/isla/boot/kernel.nix"
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
_: {
|
{...}: {
|
||||||
disko = {
|
disko = {
|
||||||
devices = {
|
devices = {
|
||||||
disk = {
|
disk = {
|
||||||
"main" = {
|
main = {
|
||||||
device = "/dev/disk/by-id/ata-ST92503010AS_5YH0CJFL";
|
device = "/dev/disk/by-id/ata-ST92503010AS_5YH0CJFL";
|
||||||
type = "disk";
|
type = "disk";
|
||||||
content = {
|
content = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
disko = {
|
disko = {
|
||||||
devices = {
|
devices = {
|
||||||
lvm_vg = {
|
lvm_vg = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
hardware = {
|
hardware = {
|
||||||
enableRedistributableFirmware = true;
|
enableRedistributableFirmware = true;
|
||||||
cpu = {
|
cpu = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
hardware = {
|
hardware = {
|
||||||
keyboard = {
|
keyboard = {
|
||||||
qmk = {
|
qmk = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
zramSwap = {
|
zramSwap = {
|
||||||
enable = true;
|
enable = true;
|
||||||
algorithm = "zstd";
|
algorithm = "zstd";
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,19 @@
|
||||||
{self, ...}: {
|
{
|
||||||
|
inputs,
|
||||||
|
self,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
home-manager = {
|
home-manager = {
|
||||||
users = {
|
users = {
|
||||||
"hand7s" = {
|
hand7s = {
|
||||||
imports = [
|
imports = [
|
||||||
"${self}/hand7s/"
|
"${self}/hand7s/"
|
||||||
self.inputs.spicetify-nix.homeManagerModules.default
|
inputs.spicetify-nix.homeManagerModules.default
|
||||||
self.inputs.hyprland.homeManagerModules.default
|
inputs.hyprland.homeManagerModules.default
|
||||||
self.inputs.chaotic.homeManagerModules.default
|
inputs.chaotic.homeManagerModules.default
|
||||||
self.inputs.sops-nix.homeManagerModules.sops
|
inputs.sops-nix.homeManagerModules.sops
|
||||||
self.inputs.nix-index-database.homeModules.nix-index
|
|
||||||
self.inputs.noctalia.homeModules.default
|
inputs.nix-index-database.homeModules.nix-index
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -18,6 +22,7 @@
|
||||||
|
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
inherit
|
inherit
|
||||||
|
inputs
|
||||||
self
|
self
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
i18n = {
|
i18n = {
|
||||||
defaultLocale = "en_US.UTF-8";
|
defaultLocale = "en_US.UTF-8";
|
||||||
supportedLocales = [
|
supportedLocales = [
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
networking = {
|
networking = {
|
||||||
firewall = {
|
firewall = {
|
||||||
allowPing = true;
|
allowPing = true;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
networking = {
|
networking = {
|
||||||
hostId = "3c4734c8";
|
hostId = "3c4734c8";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
_: {
|
{...}: {
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "isla";
|
hostName = "s0melapt0p-nix";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
64
isla/networking/hosts.nix
Normal file
64
isla/networking/hosts.nix
Normal file
|
|
@ -0,0 +1,64 @@
|
||||||
|
{...}: {
|
||||||
|
networking = {
|
||||||
|
hosts = {
|
||||||
|
# EVA00
|
||||||
|
"100.109.169.141" = [
|
||||||
|
"eva00-nix.netbird.cloud"
|
||||||
|
"eva00-nix"
|
||||||
|
];
|
||||||
|
|
||||||
|
"90.156.226.152" = [
|
||||||
|
"eva00-nix.lan"
|
||||||
|
"eva00-nix"
|
||||||
|
];
|
||||||
|
|
||||||
|
"200:deb2:ed25:a9e5:e30:4900:f88f:cb87" = [
|
||||||
|
"eva00-nix.ygg"
|
||||||
|
"eva00-nix"
|
||||||
|
];
|
||||||
|
|
||||||
|
# EVA01
|
||||||
|
"100.109.107.176" = [
|
||||||
|
"eva01-nix.netbird.cloud"
|
||||||
|
"eva01-nix"
|
||||||
|
];
|
||||||
|
|
||||||
|
"37.114.50.235" = [
|
||||||
|
"eva01-nix.lan"
|
||||||
|
"eva01-nix"
|
||||||
|
];
|
||||||
|
|
||||||
|
"200:6ef:a61f:2f01:71d4:196:ab70:2103" = [
|
||||||
|
"eva01-nix.ygg"
|
||||||
|
"eva01-nix"
|
||||||
|
];
|
||||||
|
|
||||||
|
# EVA02
|
||||||
|
"100.109.178.135" = [
|
||||||
|
"eva02-nix.netbird.cloud"
|
||||||
|
"eva02-nix"
|
||||||
|
];
|
||||||
|
|
||||||
|
"51.195.222.85" = [
|
||||||
|
"eva02-nix.lan"
|
||||||
|
"eva02-nix"
|
||||||
|
];
|
||||||
|
|
||||||
|
"201:52d6:c753:c1fd:f8b6:5897:cc6a:e1be" = [
|
||||||
|
"eva02-nix.ygg"
|
||||||
|
"eva02-nix"
|
||||||
|
];
|
||||||
|
|
||||||
|
# nerv-nix
|
||||||
|
"100.109.7.114" = [
|
||||||
|
"nerv-nix.netbird.cloud"
|
||||||
|
"nerv-nix"
|
||||||
|
];
|
||||||
|
|
||||||
|
"200:7abc:53c9:be8a:9941:96d:221b:cc76" = [
|
||||||
|
"nerv-nix.ygg"
|
||||||
|
"nerv-nix"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
networking = {
|
networking = {
|
||||||
nameservers = [
|
nameservers = [
|
||||||
# cf dns
|
# cf dns
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
networking = {
|
networking = {
|
||||||
networkmanager = {
|
networkmanager = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
networking = {
|
networking = {
|
||||||
timeServers = [
|
timeServers = [
|
||||||
"0.nixos.pool.ntp.org"
|
"0.nixos.pool.ntp.org"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
networking = {
|
networking = {
|
||||||
wireguard = {
|
wireguard = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
nix = {
|
nix = {
|
||||||
settings = {
|
settings = {
|
||||||
sandbox = true;
|
sandbox = true;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
nix = {
|
nix = {
|
||||||
settings = {
|
settings = {
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
nix = {
|
nix = {
|
||||||
settings = {
|
settings = {
|
||||||
experimental-features = [
|
experimental-features = [
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
nix = {
|
nix = {
|
||||||
settings = {
|
settings = {
|
||||||
substituters = [
|
substituters = [
|
||||||
|
|
@ -9,10 +9,10 @@ _: {
|
||||||
# cachix
|
# cachix
|
||||||
"https://nix-community.cachix.org/"
|
"https://nix-community.cachix.org/"
|
||||||
"https://chaotic-nyx.cachix.org/"
|
"https://chaotic-nyx.cachix.org/"
|
||||||
|
"https://ags.cachix.org"
|
||||||
"https://hyprland.cachix.org"
|
"https://hyprland.cachix.org"
|
||||||
"https://chaotic-nyx.cachix.org/"
|
"https://chaotic-nyx.cachix.org/"
|
||||||
# nix-community
|
"https://colmena.cachix.org"
|
||||||
"https://hydra.nix-community.org/"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
nix = {
|
nix = {
|
||||||
settings = {
|
settings = {
|
||||||
trusted-public-keys = [
|
trusted-public-keys = [
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
nix = {
|
nix = {
|
||||||
settings = {
|
settings = {
|
||||||
trusted-users = [
|
trusted-users = [
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
config = {
|
config = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
overlays = [
|
overlays = [
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
hostPlatform = "x86_64-linux";
|
hostPlatform = "x86_64-linux";
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
programs = {
|
programs = {
|
||||||
gamemode = {
|
gamemode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
programs = {
|
programs = {
|
||||||
nh = {
|
nh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
programs = {
|
programs = {
|
||||||
ssh = {
|
ssh = {
|
||||||
startAgent = true;
|
startAgent = true;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
programs = {
|
programs = {
|
||||||
yubikey-touch-detector = {
|
yubikey-touch-detector = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
security = {
|
security = {
|
||||||
pam = {
|
pam = {
|
||||||
services = {
|
services = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
security = {
|
security = {
|
||||||
polkit = {
|
polkit = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{...}: {
|
||||||
security = {
|
security = {
|
||||||
rtkit = {
|
rtkit = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue