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
Regular → Executable
View File
Regular → Executable
View File
Generated Regular → Executable
+21
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",
Regular → Executable
+6 -2
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
];
Regular → Executable
View File
Regular → Executable
View File
View File
View File
View File
+1 -1
View File
@@ -11,7 +11,7 @@
];
home-manager.users.blake.imports = [
../../../users/blake/hosts/yveltal
../../../users/blake/hosts/yveltal.nix
];
system = {
Regular → Executable
+1 -1
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 = {
@@ -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;
}
Regular → Executable
View File
View File
View File
Regular → Executable
View File
Regular → Executable
View File
View File
Regular → Executable
View File
View File
Regular → Executable
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
Regular → Executable
View File
View File
View File
View File
View File
View File
View File
View File
Regular → Executable
View File
View File
View File
View File
View File
View File
View File
Regular → Executable
View File
View File
View File
View File
Regular → Executable
View File
Regular → Executable
View File
View File
View File
View File
Regular → Executable
View File
View File
Regular → Executable
View File
View File

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 1.6 MiB

Regular → Executable
View File
Regular → Executable
View File
View File
Regular → Executable
View File
Regular → Executable
View File
+11 -11
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;
View File
View File
View File
View File
+2 -2
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";
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
View File
Regular → Executable
View File
View File
Regular → Executable
+12 -12
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";
};
};
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File