chore(pantheon): clean up and rm unused configs
This commit is contained in:
parent
bacf1a8b08
commit
9e17187b02
13 changed files with 18 additions and 127 deletions
|
@ -1,15 +0,0 @@
|
||||||
{
|
|
||||||
fileSystems."/" = {
|
|
||||||
device = "/dev/disk/by-uuid/e5005ea6-6c5a-4ab3-9767-ce7772582024";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/boot" = {
|
|
||||||
device = "/dev/disk/by-uuid/6BBE-0E70";
|
|
||||||
fsType = "vfat";
|
|
||||||
options = [
|
|
||||||
"fmask=0077"
|
|
||||||
"dmask=0077"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -11,13 +11,10 @@ with pkgs;
|
||||||
./programs/hyprlock.nix
|
./programs/hyprlock.nix
|
||||||
./programs/hyprshade.nix
|
./programs/hyprshade.nix
|
||||||
./programs/kitty.nix
|
./programs/kitty.nix
|
||||||
./programs/spicetify.nix
|
|
||||||
./programs/spotifyd.nix
|
./programs/spotifyd.nix
|
||||||
./hardware/audio.nix
|
./hardware/audio.nix
|
||||||
./hardware/bluetooth.nix
|
./hardware/bluetooth.nix
|
||||||
./hardware/udev.nix
|
|
||||||
./programs/waybar.nix
|
./programs/waybar.nix
|
||||||
./hardware/vr.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
{
|
|
||||||
powerManagement = {
|
|
||||||
enable = true;
|
|
||||||
powertop.enable = true;
|
|
||||||
};
|
|
||||||
services.acpid = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
services.udev.extraRules = ''
|
|
||||||
ACTION=="add", SUBSYSTEM=="pci", DRIVER=="pcieport", ATTR{power/wakeup}="disabled"
|
|
||||||
'';
|
|
||||||
}
|
|
|
@ -1,18 +0,0 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
{
|
|
||||||
hardware.keyboard.qmk.enable = true;
|
|
||||||
services.udev = {
|
|
||||||
packages = with pkgs; [
|
|
||||||
vial
|
|
||||||
via
|
|
||||||
qmk
|
|
||||||
qmk-udev-rules
|
|
||||||
qmk_hid
|
|
||||||
];
|
|
||||||
};
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
qmk
|
|
||||||
qmk-udev-rules
|
|
||||||
qmk_hid
|
|
||||||
];
|
|
||||||
}
|
|
|
@ -1,6 +0,0 @@
|
||||||
{
|
|
||||||
programs.alvr = {
|
|
||||||
enable = true;
|
|
||||||
openFirewall = true;
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,7 +0,0 @@
|
||||||
{
|
|
||||||
home-manager.users.rafiq = {
|
|
||||||
programs.fzf = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,6 +1,10 @@
|
||||||
{
|
{
|
||||||
home-manager.users.rafiq = {
|
home-manager.users.rafiq = {
|
||||||
home.sessionVariables.GIT_CONFIG_GLOBAL = "$HOME/.config/git/config";
|
home.sessionVariables.GIT_CONFIG_GLOBAL = "$HOME/.config/git/config";
|
||||||
|
home.shellAliases = {
|
||||||
|
g = "git";
|
||||||
|
gs = "git status";
|
||||||
|
};
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -1,27 +0,0 @@
|
||||||
{
|
|
||||||
services.kanata = {
|
|
||||||
enable = true;
|
|
||||||
keyboards.k14 = {
|
|
||||||
devices = [ "/dev/input/by-id/usb-Keychron_Keychron_K14-event-kbd" ];
|
|
||||||
extraDefCfg = "process-unmapped-keys yes";
|
|
||||||
config = # lisp
|
|
||||||
''
|
|
||||||
(defsrc)
|
|
||||||
|
|
||||||
(defvar
|
|
||||||
tap-timeout 200
|
|
||||||
home-row-hold-timeout 200
|
|
||||||
tt $tap-timeout
|
|
||||||
hrht $home-row-hold-timeout
|
|
||||||
)
|
|
||||||
|
|
||||||
(deflayermap (base)
|
|
||||||
;; tap caps lock as enter, hold as left ctrl
|
|
||||||
;; tap-hold-release will activate the hold action early
|
|
||||||
;; if another key is pressed while it is held.
|
|
||||||
CapsLock (tap-hold-release 200 200 Escape ControlLeft)
|
|
||||||
)
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,23 +0,0 @@
|
||||||
{
|
|
||||||
inputs,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
let
|
|
||||||
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.system};
|
|
||||||
in
|
|
||||||
{
|
|
||||||
home-manager.users.rafiq = {
|
|
||||||
imports = [
|
|
||||||
inputs.spicetify-nix.homeManagerModules.spicetify
|
|
||||||
];
|
|
||||||
programs.spicetify = {
|
|
||||||
enable = true;
|
|
||||||
spotifyLaunchFlags = "--enable-features=UseOzonePlatform --ozone-platform=wayland";
|
|
||||||
windowManagerPatch = true;
|
|
||||||
enabledCustomApps = with spicePkgs.apps; [
|
|
||||||
marketplace
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -6,10 +6,8 @@
|
||||||
./programs/comma.nix
|
./programs/comma.nix
|
||||||
./programs/direnv.nix
|
./programs/direnv.nix
|
||||||
./programs/editorconfig.nix
|
./programs/editorconfig.nix
|
||||||
./programs/fzf.nix
|
|
||||||
./programs/git.nix
|
./programs/git.nix
|
||||||
./programs/hyfetch.nix
|
./programs/hyfetch.nix
|
||||||
./programs/kanata.nix
|
|
||||||
./programs/nh.nix
|
./programs/nh.nix
|
||||||
./programs/nvf.nix
|
./programs/nvf.nix
|
||||||
./programs/starship.nix
|
./programs/starship.nix
|
||||||
|
@ -30,21 +28,15 @@
|
||||||
home-manager.users.rafiq.home = {
|
home-manager.users.rafiq.home = {
|
||||||
shell.enableShellIntegration = true;
|
shell.enableShellIntegration = true;
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
gs = "git status";
|
|
||||||
cd = "z";
|
cd = "z";
|
||||||
v = "$EDITOR";
|
v = "$EDITOR";
|
||||||
g = "git";
|
|
||||||
l = "eza -1lah --git --time-style '+%Y-%m-%d %H:%M'";
|
l = "eza -1lah --git --time-style '+%Y-%m-%d %H:%M'";
|
||||||
# Thanks to https://www.reddit.com/r/NixOS/comments/fsummx/comment/fm3jbcm/!
|
# Thanks to https://www.reddit.com/r/NixOS/comments/fsummx/comment/fm3jbcm/!
|
||||||
list-all-packages = "nix-store --query --requisites /run/current-system | cut -d- -f2- | sort | uniq";
|
list-all-packages = "nix-store --query --requisites /run/current-system | cut -d- -f2- | sort | uniq";
|
||||||
};
|
};
|
||||||
|
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
bat
|
|
||||||
btop # add settings as home-manager module
|
|
||||||
devenv
|
devenv
|
||||||
ripgrep
|
|
||||||
ttyper
|
|
||||||
eza
|
eza
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -35,9 +35,7 @@
|
||||||
(mkSystem "graphical" "nemesis"
|
(mkSystem "graphical" "nemesis"
|
||||||
"nvme-nvme.c0a9-323332354536453737343334-435432303030503353534438-00000001"
|
"nvme-nvme.c0a9-323332354536453737343334-435432303030503353534438-00000001"
|
||||||
)
|
)
|
||||||
(mkSystem "graphical" "mellinoe" "/dev/disk/by-id/nvme-eui.01000000000000008ce38e04019a68ab")
|
|
||||||
(mkSystem "headless" "apollo" "/dev/disk/by-id/nvme-eui.002538d221b47b01")
|
(mkSystem "headless" "apollo" "/dev/disk/by-id/nvme-eui.002538d221b47b01")
|
||||||
(mkSystem "headless" "eurus" "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-0")
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
inputs = {
|
inputs = {
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
{ inputs, ... }:
|
{ inputs, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
|
||||||
../configs/filesystems/hw-nemesis.nix
|
|
||||||
../configs/hardware/powermanagement.nix
|
|
||||||
inputs.nixos-hardware.nixosModules.gigabyte-b650
|
|
||||||
];
|
|
||||||
boot-config.bootloader = "systemd-boot";
|
boot-config.bootloader = "systemd-boot";
|
||||||
hardware-config.cpu = "amd";
|
hardware-config.cpu = "amd";
|
||||||
hardware-config.gpu = "nvidia";
|
hardware-config.gpu = "nvidia";
|
||||||
|
@ -12,4 +7,18 @@
|
||||||
fs-config.mountHeliosData = true;
|
fs-config.mountHeliosData = true;
|
||||||
nw-config.wol.enable = true;
|
nw-config.wol.enable = true;
|
||||||
nw-config.wol.interface = "enp12s0";
|
nw-config.wol.interface = "enp12s0";
|
||||||
|
|
||||||
|
fileSystems."/" = {
|
||||||
|
device = "/dev/disk/by-uuid/e5005ea6-6c5a-4ab3-9767-ce7772582024";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/boot" = {
|
||||||
|
device = "/dev/disk/by-uuid/6BBE-0E70";
|
||||||
|
fsType = "vfat";
|
||||||
|
options = [
|
||||||
|
"fmask=0077"
|
||||||
|
"dmask=0077"
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue