refactor: move configs around
This commit is contained in:
parent
a8c03f0261
commit
fc259dff4a
52 changed files with 43 additions and 45 deletions
|
@ -12,22 +12,19 @@
|
|||
[
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
./boot.nix
|
||||
./bootloaders/systemd-boot.nix
|
||||
./networking.nix
|
||||
./nix-config.nix
|
||||
./security.nix
|
||||
./shell
|
||||
./shell.nix
|
||||
./users.nix
|
||||
]
|
||||
# Options for graphical systems.
|
||||
(lib.optionals (type == "desktop") [
|
||||
./graphical
|
||||
./hardware/audio.nix
|
||||
./hardware/bluetooth.nix
|
||||
./stylix.nix
|
||||
./graphical.nix
|
||||
])
|
||||
# Options for specific hostnames.
|
||||
(lib.optionals (hostname == "nemesis") [
|
||||
./bootloaders/systemd-boot.nix
|
||||
./filesystems/hw-nemesis.nix
|
||||
# (import ./filesystems/impermanence.nix {
|
||||
# inherit inputs lib;
|
||||
|
@ -37,7 +34,6 @@
|
|||
./hardware/nvidia.nix
|
||||
])
|
||||
(lib.optionals (hostname == "mellinoe") [
|
||||
./bootloaders/systemd-boot.nix
|
||||
(import ./filesystems/impermanence.nix {
|
||||
inherit inputs lib;
|
||||
device = "/dev/disk/by-id/nvme-eui.01000000000000008ce38e04019a68ab";
|
||||
|
@ -45,7 +41,6 @@
|
|||
./hardware/cpu_intel.nix
|
||||
])
|
||||
(lib.optionals (hostname == "apollo") [
|
||||
./bootloaders/systemd-boot.nix
|
||||
(import ./filesystems/impermanence.nix {
|
||||
inherit inputs lib;
|
||||
device = "/dev/disk/by-id/nvme-eui.002538d221b47b01";
|
||||
|
|
25
configs/graphical.nix
Normal file
25
configs/graphical.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ pkgs, inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./programs/ags.nix
|
||||
./programs/clipse.nix
|
||||
./programs/dunst.nix
|
||||
./programs/firefox.nix
|
||||
./programs/fuzzel.nix
|
||||
./programs/getty.nix
|
||||
./programs/hyprland.nix
|
||||
./programs/hyprlock.nix
|
||||
./programs/hyprshade.nix
|
||||
./programs/kitty.nix
|
||||
./programs/spicetify.nix
|
||||
./programs/stylix.nix
|
||||
./hardware/audio.nix
|
||||
./hardware/bluetooth.nix
|
||||
];
|
||||
|
||||
home-manager.users.rafiq.home.packages = with pkgs; [
|
||||
hyprpicker
|
||||
inputs.hyprcloser.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||
wl-clipboard # provides cli copy and paste commands
|
||||
];
|
||||
}
|
|
@ -1,22 +0,0 @@
|
|||
{ pkgs, inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./ags.nix
|
||||
./clipse.nix
|
||||
./dunst.nix
|
||||
./firefox.nix
|
||||
./fuzzel.nix
|
||||
./getty.nix
|
||||
./hyprland.nix
|
||||
./hyprlock.nix
|
||||
./hyprshade.nix
|
||||
./kitty.nix
|
||||
./spicetify.nix
|
||||
];
|
||||
|
||||
home-manager.users.rafiq.home.packages = with pkgs; [
|
||||
hyprpicker
|
||||
inputs.hyprcloser.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||
wl-clipboard # provides cli copy and paste commands
|
||||
];
|
||||
}
|
Before Width: | Height: | Size: 1.9 MiB After Width: | Height: | Size: 1.9 MiB |
|
@ -1,21 +1,21 @@
|
|||
{ pkgs, config, ... }:
|
||||
{
|
||||
imports = [
|
||||
./scripts
|
||||
./aichat.nix
|
||||
./comma.nix
|
||||
./direnv.nix
|
||||
./editorconfig.nix
|
||||
./fzf.nix
|
||||
./git.nix
|
||||
./nh.nix
|
||||
./nvf.nix
|
||||
./starship.nix
|
||||
./tealdeer.nix
|
||||
./yazi.nix
|
||||
./zellij.nix
|
||||
./zoxide.nix
|
||||
./zsh.nix
|
||||
./programs/scripts
|
||||
./programs/aichat.nix
|
||||
./programs/comma.nix
|
||||
./programs/direnv.nix
|
||||
./programs/editorconfig.nix
|
||||
./programs/fzf.nix
|
||||
./programs/git.nix
|
||||
./programs/nh.nix
|
||||
./programs/nvf.nix
|
||||
./programs/starship.nix
|
||||
./programs/tealdeer.nix
|
||||
./programs/yazi.nix
|
||||
./programs/zellij.nix
|
||||
./programs/zoxide.nix
|
||||
./programs/zsh.nix
|
||||
];
|
||||
|
||||
environment.shellInit = # sh
|
Loading…
Add table
Add a link
Reference in a new issue