This commit is contained in:
meml0rz
2024-12-09 20:28:32 +01:00
parent d9ff22c041
commit ec562be4b2
6 changed files with 31 additions and 35 deletions

View File

@ -154,7 +154,7 @@
]) ])
++ (with pkgs-stable; [ ++ (with pkgs-stable; [
wezterm
]); ]);
networking = { networking = {

View File

@ -32,7 +32,6 @@
home-manager.users.fabian = import ./modules/home.nix; home-manager.users.fabian = import ./modules/home.nix;
home-manager.extraSpecialArgs = { home-manager.extraSpecialArgs = {
inherit nixvim; inherit nixvim;
inherit inputs;
}; };
} }
]; ];

View File

@ -1,47 +1,39 @@
# Do not modify this file! It was generated by nixos-generate-config # Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ { config, lib, pkgs, modulesPath, ... }:
config,
lib,
pkgs,
modulesPath,
...
}:
{ {
imports = [ imports =
(modulesPath + "/installer/scan/not-detected.nix") [ (modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = [ boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
"nvme"
"xhci_pci"
"ahci"
"usb_storage"
"usbhid"
"sd_mod"
];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = { fileSystems."/" =
device = "/dev/disk/by-uuid/0869359e-4c7e-4410-aab0-55bc72a45e0b"; { device = "/dev/disk/by-label/NIXROOT";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/boot" = { fileSystems."/boot" =
device = "/dev/disk/by-uuid/7C74-E1AE"; { device = "/dev/disk/by-label/ESP";
fsType = "vfat"; fsType = "vfat";
options = [ options = [ "fmask=0022" "dmask=0022" ];
"fmask=0022"
"dmask=0022"
];
}; };
swapDevices = [ ]; 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.useDHCP = lib.mkDefault true;
# networking.interfaces.enp6s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp5s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
} }

View File

@ -3,7 +3,7 @@
imports = [ imports = [
./nix/user.nix ./nix/user.nix
./nix/nvim/default.nix ./nix/nvim/default.nix
#./nix/hypr/default.nix ./nix/hypr/default.nix
./nix/bspwm/default.nix ./nix/bspwm/default.nix
]; ];

View File

@ -1,4 +1,9 @@
{ config, pkgs, ... }: {
config,
pkgs,
pkgs-stable,
...
}:
{ {
services = { services = {
sxhkd = { sxhkd = {

View File

@ -29,7 +29,7 @@
]; ];
initExtra = '' initExtra = ''
eval "$(fzf --bash)" eval "$(fzf --bash)"
PS1="\[\e[38;5;216m\]\u\[\e[38;5;220m\]@\[\e[38;5;222m\]\h \[\e[38;5;229m\]\w \[\033[0m\]% " PS1="\w % "
''; '';
}; };