forked from colonelpanic/dotfiles
[NixOS] Use dolphin instead of nautilus
This commit is contained in:
parent
cc2cf598c5
commit
a3fb807d5a
@ -23,19 +23,7 @@ let
|
|||||||
notifications-tray-icon = (import (notifications-tray-icon-source.outPath + "/default.nix"));
|
notifications-tray-icon = (import (notifications-tray-icon-source.outPath + "/default.nix"));
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
nixpkgs.overlays = [
|
|
||||||
(import ./overlays.nix)
|
|
||||||
(import ../dotfiles/config/taffybar/taffybar/overlay.nix)
|
|
||||||
(import ../dotfiles/config/xmonad/overlay.nix)
|
|
||||||
(import ../dotfiles/config/taffybar/overlay.nix)
|
|
||||||
];
|
|
||||||
|
|
||||||
# Allow all the things
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
nixpkgs.config.android_sdk.accept_license = true;
|
|
||||||
nixpkgs.config.permittedInsecurePackages = [
|
|
||||||
"openssl-1.0.2u"
|
|
||||||
];
|
|
||||||
|
|
||||||
# Disabling these waits disables the stuck on boot up issue
|
# Disabling these waits disables the stuck on boot up issue
|
||||||
systemd.services.systemd-udev-settle.enable = false;
|
systemd.services.systemd-udev-settle.enable = false;
|
||||||
@ -43,7 +31,6 @@ in
|
|||||||
networking.firewall.enable = false;
|
networking.firewall.enable = false;
|
||||||
|
|
||||||
# Security
|
# Security
|
||||||
security.sudo.wheelNeedsPassword = false;
|
|
||||||
programs.gnupg.agent = { enable = true; enableSSHSupport = true; };
|
programs.gnupg.agent = { enable = true; enableSSHSupport = true; };
|
||||||
services.pcscd.enable = true;
|
services.pcscd.enable = true;
|
||||||
|
|
||||||
@ -83,33 +70,6 @@ in
|
|||||||
services.tzupdate.enable = true;
|
services.tzupdate.enable = true;
|
||||||
xdg.menus.enable = true;
|
xdg.menus.enable = true;
|
||||||
|
|
||||||
# Enable the gtk icon cache
|
|
||||||
gtk.iconCache.enable = true;
|
|
||||||
|
|
||||||
fonts = {
|
|
||||||
fonts = with pkgs; [
|
|
||||||
dejavu_fonts
|
|
||||||
emojione
|
|
||||||
fira-mono
|
|
||||||
font-awesome-ttf
|
|
||||||
noto-fonts-emoji
|
|
||||||
roboto
|
|
||||||
source-code-pro
|
|
||||||
source-sans-pro
|
|
||||||
source-serif-pro
|
|
||||||
# twemoji-color-font
|
|
||||||
];
|
|
||||||
fontconfig = {
|
|
||||||
allowBitmaps = true;
|
|
||||||
useEmbeddedBitmaps = true;
|
|
||||||
defaultFonts = {
|
|
||||||
monospace = [ "Source Code Pro" ];
|
|
||||||
sansSerif = [ "Roboto" ];
|
|
||||||
serif = [ "Source Serif Pro" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
||||||
# Applications
|
# Applications
|
||||||
@ -132,10 +92,10 @@ in
|
|||||||
okular
|
okular
|
||||||
# pulseeffects
|
# pulseeffects
|
||||||
quassel
|
quassel
|
||||||
rxvt_unicode
|
|
||||||
slack
|
slack
|
||||||
simplescreenrecorder
|
simplescreenrecorder
|
||||||
spotify
|
spotify
|
||||||
|
transmission-gtk
|
||||||
vlc
|
vlc
|
||||||
xfce.thunar
|
xfce.thunar
|
||||||
wire-desktop
|
wire-desktop
|
||||||
@ -155,10 +115,9 @@ in
|
|||||||
# Haskell Desktop
|
# Haskell Desktop
|
||||||
haskellPackages.imalison-xmonad
|
haskellPackages.imalison-xmonad
|
||||||
haskellPackages.imalison-taffybar
|
haskellPackages.imalison-taffybar
|
||||||
# notifications-tray-icon
|
|
||||||
haskellPackages.status-notifier-item
|
haskellPackages.status-notifier-item
|
||||||
haskellPackages.xmonad
|
|
||||||
haskellPackages.dbus-hslogger
|
haskellPackages.dbus-hslogger
|
||||||
|
# notifications-tray-icon
|
||||||
|
|
||||||
# Desktop
|
# Desktop
|
||||||
autorandr
|
autorandr
|
||||||
@ -307,7 +266,6 @@ in
|
|||||||
# Miscellaneous
|
# Miscellaneous
|
||||||
android-udev-rules
|
android-udev-rules
|
||||||
librsvg
|
librsvg
|
||||||
transmission-gtk
|
|
||||||
|
|
||||||
# Internet computer
|
# Internet computer
|
||||||
ic-keysmith
|
ic-keysmith
|
||||||
@ -375,40 +333,4 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
|
|
||||||
users.extraUsers = let
|
|
||||||
extraGroups = [
|
|
||||||
"audio"
|
|
||||||
"adbusers"
|
|
||||||
"disk"
|
|
||||||
"docker"
|
|
||||||
"networkmanager"
|
|
||||||
"plugdev"
|
|
||||||
"systemd-journal"
|
|
||||||
"video"
|
|
||||||
"wheel"
|
|
||||||
];
|
|
||||||
userDefaults = {
|
|
||||||
inherit extraGroups;
|
|
||||||
group = "users";
|
|
||||||
isNormalUser = true;
|
|
||||||
createHome = true;
|
|
||||||
shell = pkgs.zsh;
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
imalison = userDefaults // {
|
|
||||||
name = "imalison";
|
|
||||||
uid = 1000;
|
|
||||||
home = "/home/imalison";
|
|
||||||
shell = pkgs.zsh;
|
|
||||||
};
|
|
||||||
kat = userDefaults // {
|
|
||||||
name = "kat";
|
|
||||||
uid = 1001;
|
|
||||||
home = "/home/kat";
|
|
||||||
shell = pkgs.zsh;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
nix.trustedUsers = ["imalison" "kat"];
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user