Adding asdf

This commit is contained in:
Miguel Palhas
2024-10-06 11:10:51 +01:00
parent e2f324ffaa
commit 664df9210d
11 changed files with 81 additions and 28 deletions
+16 -5
View File
@@ -1,12 +1,19 @@
{ inputs, pkgs, ... }:
{
inputs,
pkgs,
config,
...
}:
let
tuigreet = "${pkgs.greetd.tuigreet}/bin/tuigreet";
hyprland-session = "${pkgs.hyprland}/share/wayland-sessions";
in {
in
{
imports = [
./hardware-configuration.nix
../common/global
../common/features/networking.nix
../common/features/nvidia.nix
../common/features/hyprland.nix
../common/features/pipewire.nix
../common/features/docker.nix
@@ -30,9 +37,13 @@ in {
users.users.naps62 = {
isNormalUser = true;
description = "Miguel Palhas";
extraGroups = [ "networkmanager" "input" "wheel" "docker" ];
extraGroups = [
"networkmanager"
"input"
"wheel"
"docker"
];
shell = pkgs.zsh;
initialHashedPassword =
"$y$j9T$uRTzF/sBdrqVGZTRhPuR00$wgLgEGlq.lEmlCPiy69jkbtfC9HKpyaVPDHDdBGtE5D";
initialHashedPassword = "$y$j9T$uRTzF/sBdrqVGZTRhPuR00$wgLgEGlq.lEmlCPiy69jkbtfC9HKpyaVPDHDdBGtE5D";
};
}
+3 -4
View File
@@ -8,7 +8,7 @@
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
@@ -26,15 +26,14 @@
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/bf830d6d-0a67-4d26-a6a9-e7954269d71d"; }
];
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.docker0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlo1.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";