Compare commits

...

3 Commits

5 changed files with 41 additions and 26 deletions

View File

@ -10,13 +10,6 @@
../../modules
];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Enable networking
networking.networkmanager.enable = true;
fonts.packages = with pkgs; [
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
];
@ -39,11 +32,6 @@
services.envfs.enable = true;
nix.settings = {
experimental-features = [ "nix-command" "flakes" ];
auto-optimise-store = true;
};
programs.nix-ld.enable = true;
# programs.nix-ld.libraries = with pkgs; [
#
@ -63,8 +51,6 @@
gparted
arandr
flameshot
easyeffects
# steam
spotify
@ -74,15 +60,6 @@
xivlauncher
git-credential-oauth
rustup
gnumake
zig
gcc
go
python3
nodejs_22
# dotnet-sdk_8
];
};
@ -115,9 +92,6 @@
# backupFileExtension = "backup";
};
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
# programs.hyprland.enable = true;
# environment.sessionVariables.NIXOS_OZONE_WL = "1";

View File

@ -100,6 +100,13 @@
swapDevices = [ ];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Enable networking
networking.networkmanager.enable = true;
networking.hostName = "snowhawk";
# 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

View File

@ -37,6 +37,19 @@
brave
uhk-agent
pulsemixer
flameshot
easyeffects
# Build Tools
rustup
gnumake
zig
gcc
go
python3
nodejs_22
# dotnet-sdk_8
];
home.file = { };

View File

@ -5,8 +5,10 @@
./dwm.nix
./i18n.nix
./audio.nix
./env.nix
];
snowhawk.i18n.enable = lib.mkDefault true;
snowhawk.audio.enable = lib.mkDefault true;
snowhawk.env.enable = lib.mkDefault true;
}

19
modules/env.nix Normal file
View File

@ -0,0 +1,19 @@
{ lib, config, ... }:
let
cfg = config.snowhawk.env;
in
{
options.snowhawk.env = {
enable = lib.mkEnableOption "env";
};
config = lib.mkIf cfg.enable {
nix.settings = {
experimental-features = [ "nix-command" "flakes" ];
auto-optimise-store = true;
};
nixpkgs.config.allowUnfree = true;
};
}