Compare commits
2 Commits
5b71022a6a
...
86647131fb
Author | SHA1 | Date |
---|---|---|
Zynh Ludwig | 86647131fb | |
Zynh Ludwig | d913205cdc |
|
@ -11,8 +11,8 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
# boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
# boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
|
||||||
|
@ -48,11 +48,10 @@
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
|
|
||||||
# Enable the XFCE Desktop Environment.
|
|
||||||
# services.xserver.displayManager.lightdm.enable = true;
|
|
||||||
|
|
||||||
snowhawk.dwm.enable = true;
|
snowhawk.dwm.enable = true;
|
||||||
|
|
||||||
|
# Enable the XFCE Desktop Environment.
|
||||||
|
# services.xserver.displayManager.lightdm.enable = true;
|
||||||
# services.xserver.desktopManager.budgie.enable = true;
|
# services.xserver.desktopManager.budgie.enable = true;
|
||||||
|
|
||||||
# Configure keymap in X11
|
# Configure keymap in X11
|
||||||
|
@ -107,16 +106,22 @@
|
||||||
unzip
|
unzip
|
||||||
fzf
|
fzf
|
||||||
tree
|
tree
|
||||||
|
libsecret
|
||||||
|
|
||||||
nix-output-monitor
|
nix-output-monitor
|
||||||
|
|
||||||
brave
|
|
||||||
gparted
|
gparted
|
||||||
arandr
|
arandr
|
||||||
|
flameshot
|
||||||
|
|
||||||
# steam
|
# steam
|
||||||
# spotify
|
spotify
|
||||||
# discord
|
discord
|
||||||
|
|
||||||
|
xivlauncher
|
||||||
|
# (xivlauncher.override {
|
||||||
|
# useSteamRun = false;
|
||||||
|
# })
|
||||||
|
|
||||||
git-credential-oauth
|
git-credential-oauth
|
||||||
|
|
||||||
|
|
8
home.nix
8
home.nix
|
@ -18,6 +18,11 @@
|
||||||
services.dunst.enable = true;
|
services.dunst.enable = true;
|
||||||
services.unclutter.enable = true;
|
services.unclutter.enable = true;
|
||||||
|
|
||||||
|
programs.chromium = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.google-chrome;
|
||||||
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# (pkgs.writeShellScriptBin "my-hello" ''
|
# (pkgs.writeShellScriptBin "my-hello" ''
|
||||||
# echo "Hello, ${config.home.username}!"
|
# echo "Hello, ${config.home.username}!"
|
||||||
|
@ -29,6 +34,7 @@
|
||||||
|
|
||||||
feh
|
feh
|
||||||
imagemagick
|
imagemagick
|
||||||
|
brave
|
||||||
];
|
];
|
||||||
|
|
||||||
home.file = { };
|
home.file = { };
|
||||||
|
@ -37,6 +43,8 @@
|
||||||
"${config.home.homeDirectory}/.cargo/bin"
|
"${config.home.homeDirectory}/.cargo/bin"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
# wayland.windowManager.hyprland = {
|
# wayland.windowManager.hyprland = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
# package = pkgs.hyprland;
|
# package = pkgs.hyprland;
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
let cfg = config.snowhawk.defaultPrograms;
|
||||||
|
in {
|
||||||
|
options.snowhawk.defaultPrograms = {
|
||||||
|
enable = lib.mkEnableOption "default programs";
|
||||||
|
};
|
||||||
|
config = cfg.enable {
|
||||||
|
xdg.mimeApps = {
|
||||||
|
enable = true;
|
||||||
|
defaultApplications = {
|
||||||
|
# Firefox
|
||||||
|
"application/pdf" = "brave-browser.desktop";
|
||||||
|
"application/x-extension-htm" = "brave-browser.desktop";
|
||||||
|
"application/x-extension-html" = "brave-browser.desktop";
|
||||||
|
"application/x-extension-shtml" = "brave-browser.desktop";
|
||||||
|
"application/x-extension-xht" = "brave-browser.desktop";
|
||||||
|
"application/x-extension-xhtml" = "brave-browser.desktop";
|
||||||
|
"application/xhtml+xml" = "brave-browser.desktop";
|
||||||
|
"text/html" = "brave-browser.desktop";
|
||||||
|
"x-scheme-handler/about" = "brave-browser.desktop";
|
||||||
|
"x-scheme-handler/chrome" = "brave-browser.desktop";
|
||||||
|
"x-scheme-handler/http" = "brave-browser.desktop";
|
||||||
|
"x-scheme-handler/https" = "brave-browser.desktop";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
home.sessionVariables = {
|
||||||
|
DEFAULT_BROWSER = "${pkgs.brave}/bin/brave";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue