mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-14 12:23:58 +01:00
Remove configuration.nix
Not needed anymore since we know how to use nix modules.
This commit is contained in:
parent
b8de7a9304
commit
afc98ce47e
@ -1,110 +0,0 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./laptop.nix
|
||||
./modules/starship.nix
|
||||
./modules/fish.nix
|
||||
./modules/fonts.nix
|
||||
./modules/stylix
|
||||
./modules/htop.nix
|
||||
./modules/dual-function-keys.nix
|
||||
./modules/tlp.nix
|
||||
./modules/osu
|
||||
./modules/srb2
|
||||
./modules/mullvad
|
||||
./modules/pipewire
|
||||
./modules/networking
|
||||
./modules/virtualization
|
||||
./modules/xserver
|
||||
./modules/systemd
|
||||
./modules/vnstat
|
||||
./modules/locale
|
||||
./modules/firejail
|
||||
./modules/timezone
|
||||
./modules/nix
|
||||
./modules/npm
|
||||
./modules/home-manager
|
||||
./modules/piper
|
||||
];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
environment.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
VISUAL = "nvim";
|
||||
GIT_DISCOVERY_ACROSS_FILESYSTEM = "1";
|
||||
FZF_DEFAULT_OPTS = "--height 40% --reverse --border --color=16";
|
||||
NODE_OPTIONS = "--max_old_space_size=16384";
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
pinentry-curses
|
||||
wget
|
||||
grim
|
||||
slurp
|
||||
mullvad-browser
|
||||
papirus-icon-theme
|
||||
mediainfo
|
||||
pywal
|
||||
mpc-cli
|
||||
neofetch
|
||||
tectonic
|
||||
fdupes
|
||||
anki
|
||||
logseq
|
||||
yt-dlp
|
||||
gurk-rs
|
||||
wl-clipboard
|
||||
ffmpeg
|
||||
siege
|
||||
ponysay
|
||||
lolcat
|
||||
wev
|
||||
figlet
|
||||
gcc
|
||||
httpie
|
||||
cmatrix
|
||||
sox
|
||||
spek
|
||||
p7zip
|
||||
ripgrep
|
||||
rsync
|
||||
jq
|
||||
keepassxc
|
||||
exa
|
||||
fd
|
||||
fzf
|
||||
unar
|
||||
audacity
|
||||
gimp
|
||||
typespeed
|
||||
slade
|
||||
gdu
|
||||
nixfmt
|
||||
whois
|
||||
lnch
|
||||
dwt1-shell-color-scripts
|
||||
dig
|
||||
trashy
|
||||
swaybg
|
||||
brightnessctl
|
||||
killall
|
||||
nixos-generators
|
||||
litemdview
|
||||
nodejs
|
||||
yarn
|
||||
deno
|
||||
crystal
|
||||
shards
|
||||
rustc
|
||||
rustfmt
|
||||
cargo
|
||||
genact
|
||||
];
|
||||
|
||||
environment.defaultPackages = [ ];
|
||||
|
||||
system.stateVersion = "22.11";
|
||||
}
|
41
flake.nix
41
flake.nix
@ -26,11 +26,50 @@
|
||||
system = "x86_64-linux";
|
||||
specialArgs = attrs;
|
||||
modules = [
|
||||
./configuration.nix
|
||||
./home-manager
|
||||
hyprland.nixosModules.default
|
||||
stylix.nixosModules.stylix
|
||||
home-manager.nixosModules.home-manager
|
||||
./laptop.nix
|
||||
./modules/starship.nix
|
||||
./modules/fish.nix
|
||||
./modules/fonts.nix
|
||||
./modules/stylix
|
||||
./modules/htop.nix
|
||||
./modules/dual-function-keys.nix
|
||||
./modules/tlp.nix
|
||||
./modules/osu
|
||||
./modules/srb2
|
||||
./modules/mullvad
|
||||
./modules/pipewire
|
||||
./modules/networking
|
||||
./modules/virtualization
|
||||
./modules/xserver
|
||||
./modules/systemd
|
||||
./modules/vnstat
|
||||
./modules/locale
|
||||
./modules/firejail
|
||||
./modules/timezone
|
||||
./modules/nix
|
||||
./modules/npm
|
||||
./modules/home-manager
|
||||
./modules/piper
|
||||
./modules/packages
|
||||
{
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
environment.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
VISUAL = "nvim";
|
||||
GIT_DISCOVERY_ACROSS_FILESYSTEM = "1";
|
||||
FZF_DEFAULT_OPTS = "--height 40% --reverse --border --color=16";
|
||||
NODE_OPTIONS = "--max_old_space_size=16384";
|
||||
};
|
||||
|
||||
environment.defaultPackages = [ ];
|
||||
system.stateVersion = "22.11";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
68
modules/packages/default.nix
Normal file
68
modules/packages/default.nix
Normal file
@ -0,0 +1,68 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
pinentry-curses
|
||||
wget
|
||||
grim
|
||||
slurp
|
||||
mullvad-browser
|
||||
papirus-icon-theme
|
||||
mediainfo
|
||||
pywal
|
||||
mpc-cli
|
||||
neofetch
|
||||
tectonic
|
||||
fdupes
|
||||
anki
|
||||
logseq
|
||||
yt-dlp
|
||||
gurk-rs
|
||||
wl-clipboard
|
||||
ffmpeg
|
||||
siege
|
||||
ponysay
|
||||
lolcat
|
||||
wev
|
||||
figlet
|
||||
gcc
|
||||
httpie
|
||||
cmatrix
|
||||
sox
|
||||
spek
|
||||
p7zip
|
||||
ripgrep
|
||||
rsync
|
||||
jq
|
||||
keepassxc
|
||||
exa
|
||||
fd
|
||||
fzf
|
||||
unar
|
||||
audacity
|
||||
gimp
|
||||
typespeed
|
||||
slade
|
||||
gdu
|
||||
nixfmt
|
||||
whois
|
||||
lnch
|
||||
dwt1-shell-color-scripts
|
||||
dig
|
||||
trashy
|
||||
swaybg
|
||||
brightnessctl
|
||||
killall
|
||||
nixos-generators
|
||||
litemdview
|
||||
nodejs
|
||||
yarn
|
||||
deno
|
||||
crystal
|
||||
shards
|
||||
rustc
|
||||
rustfmt
|
||||
cargo
|
||||
genact
|
||||
];
|
||||
}
|
Loading…
Reference in New Issue
Block a user