got rid of all the needless directories. will be sorting dotfiles to fit nix home manager in the near future.
This commit is contained in:
parent
7ac00f2417
commit
ae6fda00a0
38 changed files with 102 additions and 1062 deletions
4
.config/nix/flake.nix
Executable file → Normal file
4
.config/nix/flake.nix
Executable file → Normal file
|
|
@ -17,12 +17,12 @@
|
|||
./hosts/mecca/configuration.nix
|
||||
];
|
||||
};
|
||||
syntheticnexus = nixpkgs.lib.nixosSystem {
|
||||
cantor = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {inherit inputs;};
|
||||
modules = [
|
||||
./hosts/common.nix
|
||||
./hosts/syntheticnexus/configuration.nix
|
||||
./hosts/cantor/configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
../../modules/syncthing.nix
|
||||
];
|
||||
|
||||
networking.hostName = "syntheticnexus";
|
||||
networking.hostName = "cantor";
|
||||
# Overriding this, as the touchpad doesn't work properly anymore.
|
||||
services.libinput.enable = lib.mkForce false;
|
||||
system.stateVersion = "25.05";
|
||||
|
|
@ -8,24 +8,29 @@
|
|||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/c7f03532-bbad-4c5d-9309-052c7cb7f63c";
|
||||
{ device = "/dev/disk/by-uuid/b6a3dc2d-983b-4be5-a1ae-e834b786377f";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/2A5E-652D";
|
||||
{ device = "/dev/disk/by-uuid/12CE-A600";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
};
|
||||
|
||||
fileSystems."/data/hdd" =
|
||||
{ device = "/dev/disk/by-uuid/8db7c071-8946-4619-96fd-83259ae8d228";
|
||||
fsType = "xfs";
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/fcd83e93-64eb-40be-97ae-3e512bd8f97e"; }
|
||||
[ { device = "/dev/disk/by-uuid/222e2b22-388c-490a-845f-35f774c395a8"; }
|
||||
];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
|
|
@ -34,7 +39,6 @@
|
|||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.enp4s0.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.wlp0s20f0u5.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.wlp5s0.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
|
|
@ -87,4 +87,11 @@
|
|||
noPass = true;
|
||||
}];
|
||||
};
|
||||
|
||||
# System package definitions
|
||||
environment.systemPackages = with pkgs; [
|
||||
neovim # Terminal text editor
|
||||
wget # coreutil for some script compatibility
|
||||
wiremix # TUI mixer for pipewire
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,6 +10,10 @@
|
|||
enable = true;
|
||||
createDirectories = true;
|
||||
};
|
||||
gtk = {
|
||||
enable = true;
|
||||
colorScheme = "dark";
|
||||
};
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
|
|
@ -64,6 +68,7 @@
|
|||
co = "checkout";
|
||||
s = "status";
|
||||
pu = "push origin master";
|
||||
po = "push origin main"
|
||||
rmc = "rm -r --cached";
|
||||
};
|
||||
};
|
||||
|
|
@ -89,42 +94,33 @@
|
|||
};
|
||||
};
|
||||
|
||||
/* services.mpd = {
|
||||
enable = true;
|
||||
musicDirectory = "/home/lunita/Music";
|
||||
extraConfig = ''
|
||||
audio_output {
|
||||
type "pipewire"
|
||||
name "Pipewire Output"
|
||||
}
|
||||
'';
|
||||
}; */
|
||||
|
||||
home.packages = with pkgs; [
|
||||
tree # Nice file tree views w/ permissions
|
||||
linux-wifi-hotspot # For hotspotting while over ethernet
|
||||
neofetch # Muh epic r1ce!!!
|
||||
hyfetch # basically neofetch but with queer flags
|
||||
btop # Resource manager
|
||||
htop # OG resource manager
|
||||
btop # Pretty resource manager
|
||||
stow # For dotfiles deployment. May use home.file in future
|
||||
imagemagick # For converting images into other fmts
|
||||
sxiv # Minimal image viewer
|
||||
mpv # Video player
|
||||
mpv # Media player
|
||||
zathura # PDF/CBZ/EPUB/DJVU reader
|
||||
tmux # Tride and true terminal multiplexer
|
||||
obsidian # For epic note taking (really just mediocre journaling)
|
||||
keepassxc # Secure password manager
|
||||
syncthing # Self explanatory
|
||||
syncthing # File syncing
|
||||
ghostty # Terminal emulator
|
||||
irssi # Terminal IRC client
|
||||
nyxt # Customizable browser
|
||||
cmus # C Music Player (TUI)
|
||||
deadbeef # Closest thing to foobar2000 native on Linux
|
||||
nicotine-plus # FOSS client for SoulSeek
|
||||
kdePackages.dolphin # GUI File Manager
|
||||
# Fonts
|
||||
nerd-fonts.jetbrains-mono
|
||||
miracode
|
||||
monocraft
|
||||
kdePackages.dolphin
|
||||
];
|
||||
fonts.fontconfig.enable = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -12,10 +12,6 @@
|
|||
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
# home-manager # For using Nix Home Manager
|
||||
zsh # Default user shell
|
||||
neovim # Terminal text editor
|
||||
wget # coreutil for some script compatibility
|
||||
waybar # Status bar
|
||||
libnotify # Desktop notifications
|
||||
swww # Wallpaper manager
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue