update
This commit is contained in:
parent
1d57dd5bc2
commit
2ba8a7b552
6 changed files with 33 additions and 11 deletions
|
@ -19,7 +19,7 @@
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
boot.loader.grub.configurationLimit = 10;
|
boot.loader.grub.configurationLimit = 10;
|
||||||
|
|
||||||
boot.initrd.luks.devices."luks-cb531ab6-d47e-4246-a923-55bbda22d697".device = "/dev/disk/by-uuid/cb531ab6-d47e-4246-a923-55bbda22d697";
|
boot.initrd.luks.devices."luks-886090f3-1ba1-4134-9734-5b922106820d".device = "/dev/disk/by-uuid/886090f3-1ba1-4134-9734-5b922106820d";
|
||||||
|
|
||||||
# Clear /tmp during boot
|
# Clear /tmp during boot
|
||||||
boot.tmp.cleanOnBoot = true;
|
boot.tmp.cleanOnBoot = true;
|
||||||
|
|
|
@ -13,25 +13,24 @@
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
#boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
#boot.kernelPackages = pkgs.linuxPackages_6_14;
|
||||||
boot.kernelPackages = pkgs.linuxPackages_6_14;
|
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/67519a81-c750-4cab-9e25-1f709b0b90de";
|
{ device = "/dev/disk/by-uuid/27986c46-1dd1-4444-b732-7e7c36f2ed29";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.initrd.luks.devices."luks-900b6217-47c2-40e5-b14d-de4874ade307".device = "/dev/disk/by-uuid/900b6217-47c2-40e5-b14d-de4874ade307";
|
boot.initrd.luks.devices."luks-a803c4bc-5516-4caa-b837-60735dcef39b".device = "/dev/disk/by-uuid/a803c4bc-5516-4caa-b837-60735dcef39b";
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" =
|
||||||
{ device = "/dev/disk/by-uuid/B738-2CA0";
|
{ device = "/dev/disk/by-uuid/62BC-E36E";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
options = [ "fmask=0077" "dmask=0077" ];
|
options = [ "fmask=0077" "dmask=0077" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices =
|
swapDevices =
|
||||||
[ { device = "/dev/disk/by-uuid/5eec28f1-ee73-4e9f-a6ae-9234f5dbb0fd"; }
|
[ { device = "/dev/disk/by-uuid/ca864c9f-4435-489f-af33-2c0d5876d586"; }
|
||||||
];
|
];
|
||||||
|
|
||||||
# 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
|
||||||
|
@ -43,4 +42,7 @@
|
||||||
|
|
||||||
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;
|
||||||
|
|
||||||
|
hardware.enableAllFirmware = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,25 @@
|
||||||
dina-font
|
dina-font
|
||||||
proggyfonts
|
proggyfonts
|
||||||
iosevka
|
iosevka
|
||||||
nerdfonts
|
# nerdfonts need to fix
|
||||||
|
/*
|
||||||
|
error: nerdfonts has been separated into individual font packages under the namespace nerd-fonts.
|
||||||
|
For example change:
|
||||||
|
fonts.packages = [
|
||||||
|
...
|
||||||
|
(pkgs.nerdfonts.override { fonts = [ "0xproto" "DroidSansMono" ]; })
|
||||||
|
]
|
||||||
|
to
|
||||||
|
fonts.packages = [
|
||||||
|
...
|
||||||
|
pkgs.nerd-fonts._0xproto
|
||||||
|
pkgs.nerd-fonts.droid-sans-mono
|
||||||
|
]
|
||||||
|
or for all fonts
|
||||||
|
fonts.packages = [ ... ] ++ builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts)
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
fonts.fontDir.enable = true;
|
fonts.fontDir.enable = true;
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
# Set User 'elias' icon to tootbrute.png image
|
# Set User 'elias' icon to tootbrute.png image
|
||||||
system.activationScripts.script.text = ''
|
system.activationScripts.script.text = ''
|
||||||
mkdir -p /var/lib/AccountsService/{icons,users}
|
mkdir -p /var/lib/AccountsService/{icons,users}
|
||||||
cp /home/elias/nixos-greynix/files/tootbrute.png /var/lib/AccountsService/icons/elias
|
cp /home/elias/nix-greynix/files/tootbrute.png /var/lib/AccountsService/icons/elias
|
||||||
echo -e "[User]\nIcon=/var/lib/AccountsService/icons/elias\n" > /var/lib/AccountsService/users/elias
|
echo -e "[User]\nIcon=/var/lib/AccountsService/icons/elias\n" > /var/lib/AccountsService/users/elias
|
||||||
|
|
||||||
chown root:root /var/lib/AccountsService/users/elias
|
chown root:root /var/lib/AccountsService/users/elias
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
sudo nixos-rebuild switch -I nixos-config=/home/elias/nixos-greynix/configuration.nix
|
sudo nixos-rebuild switch -I nixos-config=/home/elias/nix-greynix/configuration.nix
|
||||||
|
|
|
@ -26,4 +26,6 @@ com.valvesoftware.Steam
|
||||||
# md.obsidian.Obsidian
|
# md.obsidian.Obsidian
|
||||||
# )
|
# )
|
||||||
|
|
||||||
|
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||||
|
|
||||||
flatpak install --assumeyes $MY_FLATPAKS
|
flatpak install --assumeyes $MY_FLATPAKS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue