Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
oomfiee committed Dec 15, 2024
1 parent 808e296 commit a36e20f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 7 deletions.
12 changes: 6 additions & 6 deletions Hosts/rose/hardware-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,28 @@
boot.extraModulePackages = [ ];

fileSystems."/" =
{ device = "/dev/disk/by-uuid/406eb55d-7eea-42ba-8af1-878617c40b6c";
{ device = "/dev/disk/by-uuid/a131d4b9-a6b6-4ba1-bfbe-3af7372bebf5";
fsType = "btrfs";
options = [ "subvol=@" "compress=zstd" ];
};

boot.initrd.luks.devices."luks-2fdce7f8-f538-4671-90e8-476ae26ea069".device = "/dev/disk/by-uuid/2fdce7f8-f538-4671-90e8-476ae26ea069";
boot.initrd.luks.devices."root".device = "/dev/disk/by-uuid/add1d6d9-37af-4fd1-8f7b-30b617fc2310";

fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/EE1F-3752";
{ device = "/dev/disk/by-uuid/3595-2885";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};

swapDevices = [ ];
swapDevices =
[ { device = "/dev/disk/by-uuid/c9d28d0a-5682-4f6d-b0d9-0c252c9cd958"; }
];

# 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.eno1.useDHCP = lib.mkDefault true;
# networking.interfaces.enp0s20f0u5.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true;

nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
Expand Down
15 changes: 15 additions & 0 deletions Modules/NixOS/Core/Bootloader/grub.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{ config, lib, pkgs, inputs, ... }:
{

boot.loader = {
efi = {
canTouchEfiVariables = true;
#efiSysMountPoint = "/boot/efi"; # ← use the same mount point here.
};
grub = {
efiSupport = true;
#efiInstallAsRemovable = true; # in case canTouchEfiVariables doesn't work for your system
device = "nodev";
};
};
}
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ outputs = { self, nixpkgs, nixpkgs-stable, home-manager, arkenfox, lobster, styl
systemSettings = {
timezone = "Asia/Riyadh"; # Select Timezone
locale = "en_US.UTF-8"; # Select Locale
kernel = pkgs.linuxPackages_latest; # Kernel
kernel = pkgs.linuxPackages_xanmod_latest; # Kernel
Nvidia-driver = "beta";
swap = "zram"; # downloadmoreram.com (Legal disclaimer if this domain exists then thats based)
audio = "pipewire"; # Audio system
Expand Down

0 comments on commit a36e20f

Please sign in to comment.