Refactor configuration files: remove Hyprland references and clean up some unneeded things
This commit is contained in:
parent
5d0a1f59c4
commit
c3d60e2e15
6 changed files with 5 additions and 53 deletions
14
flake.nix
14
flake.nix
|
@ -28,19 +28,7 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs-stable";
|
inputs.nixpkgs.follows = "nixpkgs-stable";
|
||||||
};
|
};
|
||||||
|
|
||||||
# TODO: theming
|
## Theming ##
|
||||||
|
|
||||||
## Hyprland ##
|
|
||||||
|
|
||||||
watershot = {
|
|
||||||
url = "github:Liassica/watershot/165dd431c95054ac1bfea2f9a85e1be924af21c9";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs-stable";
|
|
||||||
};
|
|
||||||
|
|
||||||
better-control = {
|
|
||||||
url = "github:rishabh5321/better-control-flake";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
|
|
||||||
rose-pine-hyprcursor = {
|
rose-pine-hyprcursor = {
|
||||||
url = "github:ndom91/rose-pine-hyprcursor";
|
url = "github:ndom91/rose-pine-hyprcursor";
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#FIXME: Move attrs that will only work on linux to nixos.nix
|
|
||||||
#FIXME: if pulling in homemanager for isMinimal maybe set up conditional for some packages
|
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
|
@ -18,17 +16,7 @@ in
|
||||||
"modules/global"
|
"modules/global"
|
||||||
"modules/home"
|
"modules/home"
|
||||||
])
|
])
|
||||||
./asdf.nix
|
(lib.custom.scanPaths ./.)
|
||||||
./bash.nix # TODO: setup a nicer bash config... or zsh
|
|
||||||
./bat.nix
|
|
||||||
./direnv.nix
|
|
||||||
./fastfetch
|
|
||||||
./fish
|
|
||||||
./git.nix
|
|
||||||
./ranger.nix
|
|
||||||
./screen.nix
|
|
||||||
./ssh.nix
|
|
||||||
./zoxide.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
services.ssh-agent.enable = true;
|
services.ssh-agent.enable = true;
|
||||||
|
@ -43,9 +31,8 @@ in
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
EDITOR = "micro";
|
EDITOR = "micro";
|
||||||
FLAKE = "${homeDir}/git/Nix/dot.nix";
|
FLAKE = "${homeDir}/git/Nix/dot.nix";
|
||||||
MANPAGER = "batman"; # see ./cli/bat.nix
|
MANPAGER = "batman";
|
||||||
SHELL = shell;
|
SHELL = shell;
|
||||||
TERM = "foot";
|
|
||||||
VISUAL = "micro";
|
VISUAL = "micro";
|
||||||
};
|
};
|
||||||
preferXdgDirectories = true; # whether to make programs use XDG directories whenever supported
|
preferXdgDirectories = true; # whether to make programs use XDG directories whenever supported
|
||||||
|
@ -67,15 +54,14 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Core pkgs with no configs
|
||||||
home.packages = builtins.attrValues {
|
home.packages = builtins.attrValues {
|
||||||
inherit (pkgs)
|
inherit (pkgs)
|
||||||
# Packages that don't have custom configs go here
|
|
||||||
btop # resource monitor
|
btop # resource monitor
|
||||||
coreutils # basic gnu utils
|
coreutils # basic gnu utils
|
||||||
dust # disk usage
|
dust # disk usage
|
||||||
eza # ls replacement
|
eza # ls replacement
|
||||||
jq # json parser
|
jq # json parser
|
||||||
p7zip # compression & encryption
|
|
||||||
pre-commit # git hooks
|
pre-commit # git hooks
|
||||||
trashy # trash cli
|
trashy # trash cli
|
||||||
unrar # rar extraction
|
unrar # rar extraction
|
||||||
|
|
|
@ -15,9 +15,7 @@
|
||||||
delta # diffing
|
delta # diffing
|
||||||
gh # github cli
|
gh # github cli
|
||||||
|
|
||||||
logisim-evolution
|
|
||||||
mcaselector
|
mcaselector
|
||||||
prettierd
|
|
||||||
|
|
||||||
# nix
|
# nix
|
||||||
nixpkgs-review
|
nixpkgs-review
|
||||||
|
|
|
@ -18,16 +18,5 @@
|
||||||
wireplumber.enable = true;
|
wireplumber.enable = true;
|
||||||
jack.enable = true;
|
jack.enable = true;
|
||||||
lowLatency.enable = true;
|
lowLatency.enable = true;
|
||||||
|
|
||||||
# use the example session manager (no others are packaged yet so this is enabled by default,
|
|
||||||
# no need to redefine it in your config for now)
|
|
||||||
# media-session.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = builtins.attrValues {
|
|
||||||
inherit (pkgs)
|
|
||||||
playerctl # cli utility and lib for controlling media players
|
|
||||||
# pamixer # cli pulseaudio sound mixer
|
|
||||||
;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,17 +25,9 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.blueman.enable = true;
|
|
||||||
# these 2 options below were not mentioned in wiki
|
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
extraModprobeConfig = ''
|
extraModprobeConfig = ''
|
||||||
options bluetooth enable_ecred=1
|
options bluetooth enable_ecred=1
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
bluez-tools
|
|
||||||
bluetuith # can transfer files via OBEX
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,8 +37,7 @@ in
|
||||||
"hosts/global/common/bluetooth.nix"
|
"hosts/global/common/bluetooth.nix"
|
||||||
"hosts/global/common/ddcutil.nix" # ddcutil for monitor controls
|
"hosts/global/common/ddcutil.nix" # ddcutil for monitor controls
|
||||||
"hosts/global/common/gaming.nix" # steam, gamescope, gamemode, and related hardware
|
"hosts/global/common/gaming.nix" # steam, gamescope, gamemode, and related hardware
|
||||||
# "hosts/global/common/gnome.nix" # desktop
|
"hosts/global/common/gnome.nix"
|
||||||
"hosts/global/common/hyprland" # desktop
|
|
||||||
"hosts/global/common/libvirt.nix" # vm tools
|
"hosts/global/common/libvirt.nix" # vm tools
|
||||||
"hosts/global/common/nvtop.nix" # GPU monitor (not available in home-manager)
|
"hosts/global/common/nvtop.nix" # GPU monitor (not available in home-manager)
|
||||||
"hosts/global/common/plymouth.nix" # fancy boot screen
|
"hosts/global/common/plymouth.nix" # fancy boot screen
|
||||||
|
|
Loading…
Add table
Reference in a new issue