Compare commits
3 Commits
0ddc4a61bb
...
60ccf1a5fc
Author | SHA1 | Date |
---|---|---|
Zynh Ludwig | 60ccf1a5fc | |
Zynh Ludwig | 37bfc5f400 | |
Zynh Ludwig | d3ccccb5a4 |
|
@ -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";
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 = { };
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue