Compare commits

...

2 commits

Author SHA1 Message Date
022aef7a7d
rename depracated vars 2025-09-24 00:05:48 +02:00
6775ea533c
switch to systemd-boot 2025-09-24 00:03:11 +02:00
4 changed files with 15 additions and 9 deletions

View file

@ -11,12 +11,18 @@
# Bootloader. # Bootloader.
boot.loader = { boot.loader = {
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
grub = { systemd-boot = {
enable = true; enable = true;
devices = [ "nodev" ]; consoleMode = "auto";
efiSupport = true; extraEntries = {
useOSProber = true; "Arch.conf" = ''
fontSize = 30; title Arch Linux (gaming)
sort-key arch
linux /vmlinuz-linux
initrd /initramfs-linux.img
options cryptdevice=PARTUUID=6fa1b92d-1667-420a-a0e6-8f3116759115:root root=/dev/mapper/root zswap.enabled=0 rw rootfstype=btrfs amdgpu module_blacklist=nvidia
'';
};
}; };
}; };
@ -173,7 +179,7 @@
wget wget
cifs-utils cifs-utils
saleae-logic-2 saleae-logic-2
] ++ (if !inputs.x11mode then [ greetd.regreet ] else [ ]); ] ++ (if !inputs.x11mode then [ regreet ] else [ ]);
programs.dconf.enable = true; programs.dconf.enable = true;

View file

@ -29,7 +29,7 @@
{ {
device = "/dev/disk/by-uuid/C8F1-789F"; device = "/dev/disk/by-uuid/C8F1-789F";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ]; options = [ "fmask=0077" "dmask=0077" ];
}; };
swapDevices = [ swapDevices = [

View file

@ -3,7 +3,7 @@
programs.vscode = { programs.vscode = {
enable = true; enable = true;
package = pkgs.vscodium; package = pkgs.vscodium;
extensions = with pkgs.vscode-extensions; [ profiles.default.extensions = with pkgs.vscode-extensions; [
bbenoist.nix bbenoist.nix
james-yu.latex-workshop james-yu.latex-workshop
jnoortheen.nix-ide jnoortheen.nix-ide

View file

@ -9,7 +9,7 @@
ssh = "TERM=xterm-256color $(which -p ssh)"; ssh = "TERM=xterm-256color $(which -p ssh)";
}; };
initExtra = "eval \"$(direnv hook zsh)\""; initContent = "eval \"$(direnv hook zsh)\"";
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;