mirror of
https://github.com/blahai/nyx.git
synced 2025-02-22 07:25:10 +00:00
lot of stuffies
This commit is contained in:
parent
6b3811a888
commit
a56e3c8aa4
6 changed files with 47 additions and 46 deletions
20
flake.lock
generated
20
flake.lock
generated
|
@ -441,11 +441,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1739735835,
|
"lastModified": 1739790043,
|
||||||
"narHash": "sha256-S4VskZCNjRX6saW7GtVb4MD3kWdfvRvLurLj9QcM4Wg=",
|
"narHash": "sha256-4gK4zdNDQ4PyGFs7B6zp9iPIBy9E+bVJiZ0XAmncvgQ=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "b15e9ec6769d770879759f086dd4e51fae7f2394",
|
"rev": "c1ea92cdfb85bd7b0995b550581d9fd1c3370bf9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -528,11 +528,11 @@
|
||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1739739229,
|
"lastModified": 1739757807,
|
||||||
"narHash": "sha256-4slTvuGM2NBjsvBrgXU5L/l8Swa50ZrcdfxU6x1CzFI=",
|
"narHash": "sha256-HYaYpFFCopski3zyKDp/XTARlkwCkSHvfWBoCAcbqkk=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "Hyprland",
|
"repo": "Hyprland",
|
||||||
"rev": "e2a9271150f9f1a2cba825f6f21bb130effc6b11",
|
"rev": "59c615c321c45302491de3b1c003844c86aefca7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -793,7 +793,7 @@
|
||||||
"narHash": "sha256-YMLrcBpf0TR5r/eaqm8lxzFPap2TxCor0ZGcK3a7+b8=",
|
"narHash": "sha256-YMLrcBpf0TR5r/eaqm8lxzFPap2TxCor0ZGcK3a7+b8=",
|
||||||
"rev": "b90bf629bbd835e61f1317b99e12f8c831017006",
|
"rev": "b90bf629bbd835e61f1317b99e12f8c831017006",
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/b90bf629bbd835e61f1317b99e12f8c831017006.tar.gz"
|
"url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/b90bf629bbd835e61f1317b99e12f8c831017006.tar.gz?rev=b90bf629bbd835e61f1317b99e12f8c831017006"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
|
@ -863,11 +863,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-smol": {
|
"nixpkgs-smol": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1739736696,
|
"lastModified": 1739776882,
|
||||||
"narHash": "sha256-zON2GNBkzsIyALlOCFiEBcIjI4w38GYOb+P+R4S8Jsw=",
|
"narHash": "sha256-PAiogZP1rLOwSkoL8eNgnbcobe5AqIq+Zc8A9NNFv+A=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "d74a2335ac9c133d6bbec9fc98d91a77f1604c1f",
|
"rev": "1ead14e49dfa47e91e68df64ef3dbf036809c742",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
pkgs-smol,
|
|
||||||
lib,
|
lib,
|
||||||
modulesPath,
|
modulesPath,
|
||||||
config,
|
config,
|
||||||
|
@ -9,12 +8,7 @@
|
||||||
imports = ["${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"];
|
imports = ["${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"];
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
supportedFilesystems = ["zfs"];
|
kernelPackages = pkgs.linuxPackages_6_12;
|
||||||
zfs = {
|
|
||||||
forceImportRoot = false;
|
|
||||||
package = pkgs-smol.zfs;
|
|
||||||
};
|
|
||||||
kernelPackages = pkgs-smol.linuxPackages_6_12;
|
|
||||||
kernelParams = lib.mkAfter ["noquiet" "toram"];
|
kernelParams = lib.mkAfter ["noquiet" "toram"];
|
||||||
enableContainers = false;
|
enableContainers = false;
|
||||||
};
|
};
|
||||||
|
@ -26,21 +20,13 @@
|
||||||
neovim
|
neovim
|
||||||
parted
|
parted
|
||||||
git
|
git
|
||||||
nixd
|
|
||||||
pciutils
|
pciutils
|
||||||
|
|
||||||
# The installers
|
|
||||||
arch-install-scripts # For arch and it's
|
|
||||||
xbps # Void linux
|
|
||||||
dnf5 # Fedora
|
|
||||||
debootstrap # Debin and ubuntu
|
|
||||||
apt # Ubuntu
|
|
||||||
];
|
];
|
||||||
|
|
||||||
documentation = {
|
documentation = {
|
||||||
enable = lib.mkDefault false;
|
enable = lib.mkForce false;
|
||||||
doc.enable = lib.mkDefault false;
|
doc.enable = lib.mkForce false;
|
||||||
info.enable = lib.mkDefault false;
|
info.enable = lib.mkForce false;
|
||||||
};
|
};
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
|
@ -51,6 +37,20 @@
|
||||||
services = {
|
services = {
|
||||||
logrotate.enable = false;
|
logrotate.enable = false;
|
||||||
udisks2.enable = false;
|
udisks2.enable = false;
|
||||||
|
openssh = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
PermitRootLogin = "yes";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
users.users = {
|
||||||
|
root = {
|
||||||
|
openssh.authorizedKeys.keys = [
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILPbmiNqoyeKXk/VopFm2cFfEnV4cKCFBhbhyYB69Fuu"
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
@ -78,7 +78,6 @@
|
||||||
"nix-command"
|
"nix-command"
|
||||||
"flakes"
|
"flakes"
|
||||||
"auto-allocate-uids"
|
"auto-allocate-uids"
|
||||||
"pipe-operator"
|
|
||||||
"recursive-nix"
|
"recursive-nix"
|
||||||
"ca-derivations"
|
"ca-derivations"
|
||||||
"dynamic-derivations"
|
"dynamic-derivations"
|
||||||
|
@ -94,15 +93,11 @@
|
||||||
"https://nix-community.cachix.org"
|
"https://nix-community.cachix.org"
|
||||||
"https://nixpkgs-unfree.cachix.org"
|
"https://nixpkgs-unfree.cachix.org"
|
||||||
"https://hyprland.cachix.org/"
|
"https://hyprland.cachix.org/"
|
||||||
"https://anyrun.cachix.org"
|
|
||||||
"https://wezterm.cachix.org"
|
|
||||||
];
|
];
|
||||||
trusted-public-keys = [
|
trusted-public-keys = [
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
"nixpkgs-unfree.cachix.org-1:hqvoInulhbV4nJ9yJOEr+4wxhDV4xq2d1DK7S6Nj6rs="
|
"nixpkgs-unfree.cachix.org-1:hqvoInulhbV4nJ9yJOEr+4wxhDV4xq2d1DK7S6Nj6rs="
|
||||||
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||||||
"anyrun.cachix.org-1:pqBobmOjI7nKlsUMV25u9QHa9btJK65/C8vnO3p346s="
|
|
||||||
"wezterm.cachix.org-1:kAbhjYUC9qvblTE+s7S+kl5XM1zVa4skO+E/1IDWdH0="
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -99,7 +99,13 @@
|
||||||
pingu = {
|
pingu = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Elissa";
|
description = "Elissa";
|
||||||
extraGroups = ["networkmanager" "wheel" "input" "render"];
|
extraGroups = [
|
||||||
|
"networkmanager"
|
||||||
|
"wheel"
|
||||||
|
"input"
|
||||||
|
"render"
|
||||||
|
"jellyfin"
|
||||||
|
];
|
||||||
shell = pkgs.bash;
|
shell = pkgs.bash;
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
floorp
|
floorp
|
||||||
|
@ -183,7 +189,6 @@
|
||||||
"nix-command"
|
"nix-command"
|
||||||
"flakes"
|
"flakes"
|
||||||
"auto-allocate-uids"
|
"auto-allocate-uids"
|
||||||
"pipe-operator"
|
|
||||||
"recursive-nix"
|
"recursive-nix"
|
||||||
"ca-derivations"
|
"ca-derivations"
|
||||||
"dynamic-derivations"
|
"dynamic-derivations"
|
||||||
|
@ -193,7 +198,9 @@
|
||||||
sandbox = true;
|
sandbox = true;
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
keep-going = true;
|
keep-going = true;
|
||||||
|
fallback = true;
|
||||||
warn-dirty = false;
|
warn-dirty = false;
|
||||||
|
allow-import-from-derivation = true;
|
||||||
use-xdg-base-directories = true;
|
use-xdg-base-directories = true;
|
||||||
allowed-users = ["@wheel" "pingu" "root"];
|
allowed-users = ["@wheel" "pingu" "root"];
|
||||||
trusted-users = ["@wheel" "pingu" "root"];
|
trusted-users = ["@wheel" "pingu" "root"];
|
||||||
|
@ -202,16 +209,12 @@
|
||||||
"https://nixpkgs-unfree.cachix.org"
|
"https://nixpkgs-unfree.cachix.org"
|
||||||
"https://haipkgs.cachix.org"
|
"https://haipkgs.cachix.org"
|
||||||
"https://hyprland.cachix.org"
|
"https://hyprland.cachix.org"
|
||||||
"https://anyrun.cachix.org"
|
|
||||||
"https://wezterm.cachix.org"
|
|
||||||
];
|
];
|
||||||
trusted-public-keys = [
|
trusted-public-keys = [
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
"nixpkgs-unfree.cachix.org-1:hqvoInulhbV4nJ9yJOEr+4wxhDV4xq2d1DK7S6Nj6rs="
|
"nixpkgs-unfree.cachix.org-1:hqvoInulhbV4nJ9yJOEr+4wxhDV4xq2d1DK7S6Nj6rs="
|
||||||
"haipkgs.cachix.org-1:AcjMqIafTEQ7dw99RpeTJU2ywNUn1h8yIxz2+zjpK/A="
|
"haipkgs.cachix.org-1:AcjMqIafTEQ7dw99RpeTJU2ywNUn1h8yIxz2+zjpK/A="
|
||||||
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||||||
"anyrun.cachix.org-1:pqBobmOjI7nKlsUMV25u9QHa9btJK65/C8vnO3p346s="
|
|
||||||
"wezterm.cachix.org-1:kAbhjYUC9qvblTE+s7S+kl5XM1zVa4skO+E/1IDWdH0="
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -233,7 +236,6 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
systemPackages = with pkgs; [
|
systemPackages = with pkgs; [
|
||||||
toybox
|
|
||||||
nautilus
|
nautilus
|
||||||
nautilus-python
|
nautilus-python
|
||||||
diff-so-fancy
|
diff-so-fancy
|
||||||
|
@ -273,17 +275,13 @@
|
||||||
go
|
go
|
||||||
lua
|
lua
|
||||||
lua-language-server
|
lua-language-server
|
||||||
nil
|
|
||||||
nixd
|
|
||||||
nix-output-monitor
|
nix-output-monitor
|
||||||
alejandra
|
alejandra
|
||||||
comma
|
comma
|
||||||
zip
|
zip
|
||||||
nodejs
|
nodejs
|
||||||
typescript
|
|
||||||
busybox
|
busybox
|
||||||
rustup
|
rustup
|
||||||
vscode-fhs
|
|
||||||
bibata-cursors
|
bibata-cursors
|
||||||
spotify
|
spotify
|
||||||
jq
|
jq
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
signing = {
|
signing = {
|
||||||
signByDefault = true;
|
signByDefault = true;
|
||||||
key = "/home/pingu/.ssh/id_ed25519";
|
key = "/home/pingu/.ssh/id_ed25519";
|
||||||
|
format = "ssh";
|
||||||
};
|
};
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
core = {
|
core = {
|
||||||
|
@ -31,7 +32,6 @@
|
||||||
url = {
|
url = {
|
||||||
"ssh://git@github.com/" = {insteadOf = "https://github.com/";};
|
"ssh://git@github.com/" = {insteadOf = "https://github.com/";};
|
||||||
};
|
};
|
||||||
gpg = {format = "ssh";};
|
|
||||||
init = {defaultBranch = "main";};
|
init = {defaultBranch = "main";};
|
||||||
format = {
|
format = {
|
||||||
signOff = true;
|
signOff = true;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{...}: {
|
_: {
|
||||||
wayland.windowManager.hyprland.settings = {
|
wayland.windowManager.hyprland.settings = {
|
||||||
workspace = [
|
workspace = [
|
||||||
"special:special, on-created-empty:exec spotify --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime=true"
|
"special:special, on-created-empty:exec spotify --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime=true"
|
||||||
|
|
|
@ -40,6 +40,14 @@
|
||||||
group = "jellyfin";
|
group = "jellyfin";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
bazarr = {
|
||||||
|
enable = true;
|
||||||
|
openFirewall = true;
|
||||||
|
package = pkgs.bazarr;
|
||||||
|
user = "jellyfin";
|
||||||
|
group = "jellyfin";
|
||||||
|
};
|
||||||
|
|
||||||
prowlarr = {
|
prowlarr = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue