# Edit this configuration file to define what should be installed on # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running `nixos-help`). { pkgs, inputs, lib, ... }: { imports = [ inputs.home-manager.nixosModules.default ../../modules # Default specialisation ({ lib, config, ... }: { config = lib.mkIf (config.specialisation != { }) { snowhawk.dwm.enable = true; home-manager.sharedModules = [{ snowhawk.dunst.enable = lib.mkDefault true; }]; }; }) ]; specialisation = { dwl.configuration = { snowhawk.dwl.enable = true; home-manager.sharedModules = [{ snowhawk.dunst.enable = lib.mkDefault true; }]; }; }; snowhawk = { filesystem.enable = true; plymouth.enable = true; polkit.enable = true; syncthing.enable = true; user.enable = true; wake-on-lan.enable = true; }; # Enable automatic login for the user. services.displayManager.autoLogin = { enable = true; user = "ravenshade"; }; home-manager = { users = { "ravenshade" = import ./home.nix; }; backupFileExtension = "backup"; useGlobalPkgs = true; }; environment.systemPackages = with pkgs; [ neovim curl git killall godot_4-mono ]; fonts.packages = with pkgs; [ (nerdfonts.override { fonts = [ "JetBrainsMono" ]; }) ]; # Enable CUPS to print documents. services.printing.enable = true; hardware.keyboard.uhk.enable = true; # I think I need a gtk theme? gnome-keyring qt.platformTheme = "gtk2"; # Set your time zone. time.timeZone = "America/Los_Angeles"; # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). system.stateVersion = "23.11"; # Did you read the comment? }