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" "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": { "mnw": {
"locked": { "locked": {
"lastModified": 1758834834, "lastModified": 1758834834,
@@ -442,6 +462,7 @@
"copyparty": "copyparty", "copyparty": "copyparty",
"disko": "disko", "disko": "disko",
"home-manager": "home-manager", "home-manager": "home-manager",
"home-manager-unstable": "home-manager-unstable",
"nix-darwin": "nix-darwin", "nix-darwin": "nix-darwin",
"nix-homebrew": "nix-homebrew", "nix-homebrew": "nix-homebrew",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",

8
flake.nix Normal file → Executable file
View File

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

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

@@ -3,7 +3,7 @@
disk = { disk = {
main = { main = {
type = "disk"; type = "disk";
device = ""; # disk id here device = "/dev/disk/by-id/nvme-PC_SN530_NVMe_WDC_512GB_210513807733"; # disk id here
content = { content = {
type = "gpt"; type = "gpt";
partitions = { 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; [ home.packages = with pkgs; [
nwg-displays nwg-displays
posy-cursors
]; ];
@@ -33,7 +34,7 @@
kb_layout = "us"; kb_layout = "us";
numlock_by_default = true; numlock_by_default = true;
follow_mouse = 2; follow_mouse = 2;
sensitivity = -0.6; sensitivity = -0.2;
touchpad = { touchpad = {
disable_while_typing = true; disable_while_typing = true;
@@ -48,10 +49,8 @@
gaps_in = 2; gaps_in = 2;
gaps_out = 5; gaps_out = 5;
border_size = 3; border_size = 3;
col = { "col.active_border" = "rgba(33ccffee) rgba(00ff99ee) 45deg";
active_border = "rgba(33ccffee) rgba(00ff99ee) 45deg"; "col.inactive_border" = "rgba(595959aa)";
inactive_border = "rgba(595959aa)";
};
layout = "dwindle"; layout = "dwindle";
allow_tearing = false; allow_tearing = false;
}; };
@@ -87,7 +86,7 @@
}; };
gestures = { gestures = {
workspace_swipe = "on"; workspace = "on";
}; };
misc = { misc = {
@@ -210,15 +209,15 @@
services.hyprpaper = { services.hyprpaper = {
enable = true; enable = true;
settings = { settings = {
preload = [ "~/.nix/user/blake/assets/wallpapers/antartica.png" ]; preload = [ "~/.nix/users/blake/assets/wallpapers/antartica.png" ];
wallpaper = [ ",~/.nix/user/blake/assets/wallpapers/antartica.png" ]; wallpaper = [ ",~/.nix/users/blake/assets/wallpapers/antartica.png" ];
ipc = "off"; ipc = "off";
splash = false; splash = false;
}; };
}; };
# screenlocker # screenlocker
services.hyprlock = { programs.hyprlock = {
enable = true; enable = true;
settings = { settings = {
general = { general = {
@@ -229,7 +228,7 @@
background = [ background = [
{ {
monitor = ""; monitor = "";
path = "~/pictures/wallpapers/antartica.png"; path = "~/.nix/users/blake/assets/wallpapers/antartica.png";
blur_passes = 1; blur_passes = 1;
color = "rgb(0047ab)"; color = "rgb(0047ab)";
} }
@@ -362,8 +361,9 @@
}; };
home.pointerCursor = { home.pointerCursor = {
enable = false;
gtk.enable = true; gtk.enable = true;
# x11.enable = true; x11.enable = true;
package = pkgs.posy-cursors; package = pkgs.posy-cursors;
name = "posy"; name = "posy";
size = 48; 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 = { programs.kitty = {
enable = true; enable = true;
enableZshIntegration = true; # enableZshIntegration = true;
enableGitIntegration = true; enableGitIntegration = true;
#darwinLaunchOptions = [""]; #darwinLaunchOptions = [""];
settings = { settings = {
@@ -17,7 +17,7 @@
cursor_shape = "beam"; cursor_shape = "beam";
cursor_beam_thickness = 2.5; cursor_beam_thickness = 2.5;
foreground = "#dddddd"; foreground = "#dddddd";
background = "#2F1730Q"; background = "#2F1730";
background_opacity = 0.9; background_opacity = 0.9;
selection_foreground = "none"; selection_foreground = "none";
selection_background = "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 { xdg = if pkgs.system == "x86_64-darwin" then {} else {
enable = true; enable = true;
configHome = "${config.home.homeDirectory}/.config"; configHome = "/home/blake/.config";
cacheHome = "${config.home.homeDirectory}/.cache"; cacheHome = "/home/blake/.cache";
dataHome = "${config.home.homeDirectory}/.local/share"; dataHome = "/home/blake/.local/share";
stateHome = "${config.home.homeDirectory}/.local/state"; stateHome = "/home/blake/.local/state";
userDirs = { userDirs = {
enable = true; enable = true;
# writes ~/.config/user-dirs.dirs # writes ~/.config/user-dirs.dirs
desktop = "${config.home.homeDirectory}/desktop"; desktop = "/home/blake/desktop";
download = "${config.home.homeDirectory}/downloads"; download = "/home/blake/downloads";
documents = "${config.home.homeDirectory}/documents"; documents = "/home/blake/documents";
pictures = "${config.home.homeDirectory}/pictures"; pictures = "/home/blake/pictures";
videos = "${config.home.homeDirectory}/videos"; videos = "/home/blake/videos";
music = "${config.home.homeDirectory}/music"; music = "/home/blake/music";
publicShare = "${config.home.homeDirectory}/public"; publicShare = "/home/blake/public";
templates = "${config.home.homeDirectory}/templates"; 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