yveltal init

This commit is contained in:
2025-10-25 14:36:52 -05:00
parent 700943ab97
commit de0117edff
83 changed files with 113 additions and 29 deletions

0
.gitignore vendored Normal file → Executable file
View File

0
.sops.yaml Normal file → Executable file
View File

21
flake.lock generated Normal file → Executable file
View File

@@ -288,6 +288,26 @@
"type": "github"
}
},
"home-manager-unstable": {
"inputs": {
"nixpkgs": [
"nixpkgs-unstable"
]
},
"locked": {
"lastModified": 1761395627,
"narHash": "sha256-9wQpgBRW2PzYw1wx+MgCt1IbPAYz93csApLMgSZOJCk=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "7296022150cd775917e4c831c393026eae7c2427",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "home-manager",
"type": "github"
}
},
"mnw": {
"locked": {
"lastModified": 1758834834,
@@ -442,6 +462,7 @@
"copyparty": "copyparty",
"disko": "disko",
"home-manager": "home-manager",
"home-manager-unstable": "home-manager-unstable",
"nix-darwin": "nix-darwin",
"nix-homebrew": "nix-homebrew",
"nixpkgs": "nixpkgs_2",

8
flake.nix Normal file → Executable file
View File

@@ -10,11 +10,15 @@
url = "github:LnL7/nix-darwin";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-homebrew.url = "github:zhaofengli/nix-homebrew";
home-manager = {
url = "github:nix-community/home-manager/release-25.05";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager-unstable = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
nix-homebrew.url = "github:zhaofengli/nix-homebrew";
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
@@ -70,7 +74,7 @@
specialArgs = {inherit inputs stable_pkgs unstable_pkgs;};
modules = [
./hosts/nixos/yveltal/configuration.nix
inputs.home-manager.nixosModules.default
inputs.home-manager-unstable.nixosModules.default
inputs.disko.nixosModules.disko
./hosts/nixos/yveltal/disko.nix
];

0
hosts/darwin/default.nix Normal file → Executable file
View File

0
hosts/nixos/default.nix Normal file → Executable file
View File

0
hosts/nixos/snowbelle/configuration.nix Normal file → Executable file
View File

0
hosts/nixos/snowbelle/hardware-configuration.nix Normal file → Executable file
View File

0
hosts/nixos/vaniville/configuration.nix Normal file → Executable file
View File

2
hosts/nixos/yveltal/configuration.nix Normal file → Executable file
View File

@@ -11,7 +11,7 @@
];
home-manager.users.blake.imports = [
../../../users/blake/hosts/yveltal
../../../users/blake/hosts/yveltal.nix
];
system = {

2
hosts/nixos/yveltal/disko.nix Normal file → Executable file
View File

@@ -3,7 +3,7 @@
disk = {
main = {
type = "disk";
device = ""; # disk id here
device = "/dev/disk/by-id/nvme-PC_SN530_NVMe_WDC_512GB_210513807733"; # disk id here
content = {
type = "gpt";
partitions = {

View File

@@ -0,0 +1,59 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "vmd" "nvme" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/mapper/crypted";
fsType = "btrfs";
options = [ "subvol=@root" ];
};
boot.initrd.luks.devices."crypted".device = "/dev/disk/by-partlabel/disk-main-luks";
fileSystems."/.swapvol" =
{ device = "/dev/mapper/crypted";
fsType = "btrfs";
options = [ "subvol=@swap" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-partlabel/disk-main-ESP";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
fileSystems."/home" =
{ device = "/dev/mapper/crypted";
fsType = "btrfs";
options = [ "subvol=@home" ];
};
fileSystems."/nix" =
{ device = "/dev/mapper/crypted";
fsType = "btrfs";
options = [ "subvol=@nix" ];
};
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

0
modules/desktop/hypr/default.nix Normal file → Executable file
View File

0
modules/gameservers/minecraft_recpro/default.nix Normal file → Executable file
View File

0
modules/holocron/copyparty/default.nix Normal file → Executable file
View File

0
modules/holocron/default.nix Normal file → Executable file
View File

0
modules/holocron/nfs/default.nix Normal file → Executable file
View File

0
modules/holocron/perms/default.nix Normal file → Executable file
View File

0
modules/holocron/smb/default.nix Normal file → Executable file
View File

0
modules/holocron/syncthing/default.nix Normal file → Executable file
View File

0
modules/holocron/zfs/default.nix Normal file → Executable file
View File

0
modules/homelab/.default.nix.template.nix Normal file → Executable file
View File

0
modules/homelab/arr/bazarr/default.nix Normal file → Executable file
View File

0
modules/homelab/arr/flaresolverr/default.nix Normal file → Executable file
View File

0
modules/homelab/arr/prowlarr/default.nix Normal file → Executable file
View File

0
modules/homelab/arr/radarr/default.nix Normal file → Executable file
View File

0
modules/homelab/arr/sonarr/default.nix Normal file → Executable file
View File

0
modules/homelab/audiobookshelf/default.nix Normal file → Executable file
View File

0
modules/homelab/backups/default.nix Normal file → Executable file
View File

0
modules/homelab/caddy/default.nix Normal file → Executable file
View File

0
modules/homelab/default.nix Normal file → Executable file
View File

0
modules/homelab/gitea/default.nix Normal file → Executable file
View File

0
modules/homelab/glance/default.nix Normal file → Executable file
View File

0
modules/homelab/home/homeassistant/default.nix Normal file → Executable file
View File

0
modules/homelab/home/mosquitto/default.nix Normal file → Executable file
View File

0
modules/homelab/home/zigbee2mqtt/default.nix Normal file → Executable file
View File

0
modules/homelab/immich/default.nix Normal file → Executable file
View File

0
modules/homelab/jellyfin/default.nix Normal file → Executable file
View File

0
modules/homelab/motd/default.nix Normal file → Executable file
View File

0
modules/homelab/postfix/default.nix Normal file → Executable file
View File

0
modules/homelab/postfix/default.nix.icloud_attempt Normal file → Executable file
View File

0
modules/homelab/qbittorrent/default.nix Normal file → Executable file
View File

0
modules/homelab/uptime-kuma/default.nix Normal file → Executable file
View File

0
modules/homelab/vaultwarden/default.nix Normal file → Executable file
View File

0
modules/homelab/yacreader/default.nix Normal file → Executable file
View File

0
modules/system/default.nix Normal file → Executable file
View File

0
modules/system/docker/default.nix Normal file → Executable file
View File

0
modules/system/nvidia/default.nix Normal file → Executable file
View File

0
modules/system/podman/default.nix Normal file → Executable file
View File

0
modules/system/sops/default.nix Normal file → Executable file
View File

0
modules/system/ssh/default.nix Normal file → Executable file
View File

0
modules/system/syncthing/default.nix Normal file → Executable file
View File

0
modules/system/tailscale/default.nix Normal file → Executable file
View File

0
modules/system/vpn-confinement/default.nix Normal file → Executable file
View File

0
modules/system/vpns/default.nix Normal file → Executable file
View File

0
modules/system/yubikey/default.nix Normal file → Executable file
View File

0
secrets/secrets.yaml Normal file → Executable file
View File

0
users/blake/assets/wallpapers/antartica.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 1.6 MiB

0
users/blake/default.nix Normal file → Executable file
View File

0
users/blake/dots/.default.nix Normal file → Executable file
View File

0
users/blake/dots/darwin/default.nix Normal file → Executable file
View File

0
users/blake/dots/git/default.nix Normal file → Executable file
View File

0
users/blake/dots/gpg/default.nix Normal file → Executable file
View File

22
users/blake/dots/hypr/default.nix Normal file → Executable file
View File

@@ -5,6 +5,7 @@
}: {
home.packages = with pkgs; [
nwg-displays
posy-cursors
];
@@ -33,7 +34,7 @@
kb_layout = "us";
numlock_by_default = true;
follow_mouse = 2;
sensitivity = -0.6;
sensitivity = -0.2;
touchpad = {
disable_while_typing = true;
@@ -48,10 +49,8 @@
gaps_in = 2;
gaps_out = 5;
border_size = 3;
col = {
active_border = "rgba(33ccffee) rgba(00ff99ee) 45deg";
inactive_border = "rgba(595959aa)";
};
"col.active_border" = "rgba(33ccffee) rgba(00ff99ee) 45deg";
"col.inactive_border" = "rgba(595959aa)";
layout = "dwindle";
allow_tearing = false;
};
@@ -87,7 +86,7 @@
};
gestures = {
workspace_swipe = "on";
workspace = "on";
};
misc = {
@@ -210,15 +209,15 @@
services.hyprpaper = {
enable = true;
settings = {
preload = [ "~/.nix/user/blake/assets/wallpapers/antartica.png" ];
wallpaper = [ ",~/.nix/user/blake/assets/wallpapers/antartica.png" ];
preload = [ "~/.nix/users/blake/assets/wallpapers/antartica.png" ];
wallpaper = [ ",~/.nix/users/blake/assets/wallpapers/antartica.png" ];
ipc = "off";
splash = false;
};
};
# screenlocker
services.hyprlock = {
programs.hyprlock = {
enable = true;
settings = {
general = {
@@ -229,7 +228,7 @@
background = [
{
monitor = "";
path = "~/pictures/wallpapers/antartica.png";
path = "~/.nix/users/blake/assets/wallpapers/antartica.png";
blur_passes = 1;
color = "rgb(0047ab)";
}
@@ -362,8 +361,9 @@
};
home.pointerCursor = {
enable = false;
gtk.enable = true;
# x11.enable = true;
x11.enable = true;
package = pkgs.posy-cursors;
name = "posy";
size = 48;

0
users/blake/dots/hypr/hypridle.conf Normal file → Executable file
View File

0
users/blake/dots/hypr/hyprland.conf Normal file → Executable file
View File

0
users/blake/dots/hypr/hyprlock.conf Normal file → Executable file
View File

0
users/blake/dots/hypr/hyprpaper.conf Normal file → Executable file
View File

4
users/blake/dots/kitty/default.nix Normal file → Executable file
View File

@@ -6,7 +6,7 @@
}: {
programs.kitty = {
enable = true;
enableZshIntegration = true;
# enableZshIntegration = true;
enableGitIntegration = true;
#darwinLaunchOptions = [""];
settings = {
@@ -17,7 +17,7 @@
cursor_shape = "beam";
cursor_beam_thickness = 2.5;
foreground = "#dddddd";
background = "#2F1730Q";
background = "#2F1730";
background_opacity = 0.9;
selection_foreground = "none";
selection_background = "none";

0
users/blake/dots/lf/ctpv_config Normal file → Executable file
View File

0
users/blake/dots/lf/default.nix Normal file → Executable file
View File

0
users/blake/dots/lf/lfrc Normal file → Executable file
View File

0
users/blake/dots/neovim/default.nix Normal file → Executable file
View File

0
users/blake/dots/ssh/default.nix Normal file → Executable file
View File

0
users/blake/dots/stylix/default.nix Normal file → Executable file
View File

24
users/blake/dots/xdg/default.nix Normal file → Executable file
View File

@@ -7,22 +7,22 @@
xdg = if pkgs.system == "x86_64-darwin" then {} else {
enable = true;
configHome = "${config.home.homeDirectory}/.config";
cacheHome = "${config.home.homeDirectory}/.cache";
dataHome = "${config.home.homeDirectory}/.local/share";
stateHome = "${config.home.homeDirectory}/.local/state";
configHome = "/home/blake/.config";
cacheHome = "/home/blake/.cache";
dataHome = "/home/blake/.local/share";
stateHome = "/home/blake/.local/state";
userDirs = {
enable = true;
# writes ~/.config/user-dirs.dirs
desktop = "${config.home.homeDirectory}/desktop";
download = "${config.home.homeDirectory}/downloads";
documents = "${config.home.homeDirectory}/documents";
pictures = "${config.home.homeDirectory}/pictures";
videos = "${config.home.homeDirectory}/videos";
music = "${config.home.homeDirectory}/music";
publicShare = "${config.home.homeDirectory}/public";
templates = "${config.home.homeDirectory}/templates";
desktop = "/home/blake/desktop";
download = "/home/blake/downloads";
documents = "/home/blake/documents";
pictures = "/home/blake/pictures";
videos = "/home/blake/videos";
music = "/home/blake/music";
publicShare = "/home/blake/public";
templates = "/home/blake/templates";
};
};

0
users/blake/dots/zsh/default.nix Normal file → Executable file
View File

0
users/blake/home.nix Normal file → Executable file
View File

0
users/blake/hosts/yveltal.nix Normal file → Executable file
View File

0
users/blake/os/darwin.nix Normal file → Executable file
View File

0
users/blake/os/nixos.nix Normal file → Executable file
View File

0
users/blake/secrets/secrets.yaml Normal file → Executable file
View File

0
users/default.nix Normal file → Executable file
View File