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

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

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

@ -1,47 +1,39 @@
# 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,
...
}:
{ config, lib, pkgs, modulesPath, ... }:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci"
"ahci"
"usb_storage"
"usbhid"
"sd_mod"
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/0869359e-4c7e-4410-aab0-55bc72a45e0b";
fsType = "ext4";
};
fileSystems."/" =
{ device = "/dev/disk/by-label/NIXROOT";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/7C74-E1AE";
fsType = "vfat";
options = [
"fmask=0022"
"dmask=0022"
];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-label/ESP";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
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.enp6s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp5s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

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

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

@ -29,7 +29,7 @@
];
initExtra = ''
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 % "
'';
};