virgil bare metal era
This commit is contained in:
parent
182f570c0e
commit
4fddbc94b9
4 changed files with 16 additions and 35 deletions
|
|
@ -147,7 +147,7 @@ bind = $mainMod SHIFT, R, exec, hyprctl reload
|
||||||
bind = $mainMod, E, exec, kitty
|
bind = $mainMod, E, exec, kitty
|
||||||
bind = $mainMod, C, killactive,
|
bind = $mainMod, C, killactive,
|
||||||
bind = $mainMod, M, exec, nwgbar
|
bind = $mainMod, M, exec, nwgbar
|
||||||
bind = $mainMod, G, exec, /home/tulg/.config/looking-glass-client -F -f /dev/kvmfr0 -m 58
|
bind = $mainMod, G, exec, looking-glass-client -F -f /dev/kvmfr0 -m 58
|
||||||
bind = $mainMod SHIFT, O, togglefloating,
|
bind = $mainMod SHIFT, O, togglefloating,
|
||||||
bind = $mainMod, D, exec, wofi --show drun --allow-images -W 300 -H 500 -l 4
|
bind = $mainMod, D, exec, wofi --show drun --allow-images -W 300 -H 500 -l 4
|
||||||
bind = $mainMod SHIFT, D, exec, nwg-drawer -mb 10 -mr 10 -ml 10 -mt 10
|
bind = $mainMod SHIFT, D, exec, nwg-drawer -mb 10 -mr 10 -ml 10 -mt 10
|
||||||
|
|
@ -248,7 +248,7 @@ bind = ,233,exec,brightnessctl -c backlight set +5%
|
||||||
# Old functions only commented out to make it easier for the user to change if necessary.
|
# Old functions only commented out to make it easier for the user to change if necessary.
|
||||||
|
|
||||||
# Snip a selection and pipe to swappy
|
# Snip a selection and pipe to swappy
|
||||||
bind = ,Print, exec, grim -g "$(slurp)" - | swappy -f -
|
bind =$mainMod,S, exec, grim -g "$(slurp)" - | swappy -f -
|
||||||
# Screenshot a window and pipe to swappy
|
# Screenshot a window and pipe to swappy
|
||||||
bind = CTRL, Print, exec, .config/hypr/scripts/screenshot_window.sh
|
bind = CTRL, Print, exec, .config/hypr/scripts/screenshot_window.sh
|
||||||
# Screenshot the current display and pipe to swappy
|
# Screenshot the current display and pipe to swappy
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
disk = {
|
disk = {
|
||||||
nixos = {
|
nixos = {
|
||||||
type = "disk";
|
type = "disk";
|
||||||
device = "/dev/vda";
|
device = "/dev/sda";
|
||||||
content = {
|
content = {
|
||||||
type = "gpt";
|
type = "gpt";
|
||||||
partitions = {
|
partitions = {
|
||||||
|
|
|
||||||
|
|
@ -1,41 +1,20 @@
|
||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
config,
|
imports =
|
||||||
lib,
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
pkgs,
|
|
||||||
modulesPath,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
|
||||||
(modulesPath + "/profiles/qemu-guest.nix")
|
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = ["ahci" "xhci_pci" "virtio_pci" "virtio_scsi" "sr_mod" "virtio_blk"];
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
boot.kernelModules = [ "kvm-amd" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" = {
|
|
||||||
device = "/dev/disk/by-partlabel/disk-nixos-root";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/boot" = {
|
|
||||||
device = "/dev/disk/by-partlabel/disk-nixos-ESP";
|
|
||||||
fsType = "vfat";
|
|
||||||
options = ["fmask=0022" "dmask=0022"];
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices = [ ];
|
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.enp1s0.useDHCP = lib.mkDefault true;
|
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,8 @@ in {
|
||||||
xfce.thunar
|
xfce.thunar
|
||||||
alejandra
|
alejandra
|
||||||
arc-theme
|
arc-theme
|
||||||
|
swappy
|
||||||
|
pkgs.looking-glass-client
|
||||||
tmux
|
tmux
|
||||||
fastfetch
|
fastfetch
|
||||||
btop
|
btop
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue