feat : new dragon machine + add nixin

This commit is contained in:
Florian Schmitt 2024-10-13 15:11:21 +03:00
parent 0299545228
commit ff6a56b52b
3 changed files with 17 additions and 13 deletions

2
dotfiles/init_yeswiki_repos.sh Normal file → Executable file
View file

@ -75,4 +75,6 @@ printf "================ End install YesWiki misc from forge.mrflos.pw =========
printf "\n================ Install other projects ================\n" printf "\n================ Install other projects ================\n"
dir="framemo" dir="framemo"
[ ! -d $curdir/$dir ] && git clone ssh://git@framagit.org/colibris/framemo.git [ ! -d $curdir/$dir ] && git clone ssh://git@framagit.org/colibris/framemo.git
dir="nixin-web"
[ ! -d $curdir/$dir ] && git clone ssh://forgejo@git.distrilab.fr:NixiN/nixin-web.git
printf "================ End install other projects ============\n" printf "================ End install other projects ============\n"

View file

@ -102,12 +102,12 @@
# services.xserver.libinput.enable = true; # services.xserver.libinput.enable = true;
imports = [ imports = [
../modules/console.nix ../../modules/console.nix
../modules/desktop.nix ../../modules/desktop.nix
../modules/fonts.nix ../../modules/fonts.nix
../modules/home-config.nix ../../modules/home-config.nix
../modules/local-dev.nix ../../modules/local-dev.nix
../modules/nixos.nix ../../modules/nixos.nix
]; ];
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default

View file

@ -8,22 +8,25 @@
[ (modulesPath + "/installer/scan/not-detected.nix") [ (modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "uas" "sd_mod" ]; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "uas" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ "amdgpu" ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/65b2e400-b6f1-4158-9586-1f5bab13f664"; { device = "/dev/disk/by-uuid/1257f6f4-52bf-4c9a-aa00-86080ecd044c";
fsType = "ext4"; fsType = "btrfs";
}; };
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/685D-B6DB"; { device = "/dev/disk/by-uuid/C182-445E";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
}; };
swapDevices = [ ]; swapDevices =
[ { device = "/dev/disk/by-uuid/96a0423d-a4c0-4376-9d34-5a99b764010a"; }
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # 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 # (the default) this is the recommended approach. When using systemd-networkd it's
@ -31,7 +34,6 @@
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true; networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp2s0.useDHCP = lib.mkDefault true; # networking.interfaces.enp2s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp0s20f0u1.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;