This commit is contained in:
parent
2d697984f2
commit
8be262d08d
5 changed files with 15 additions and 31 deletions
|
@ -1,10 +0,0 @@
|
||||||
== Base Role
|
|
||||||
|
|
||||||
The base role handles basic system configuration, which includes:
|
|
||||||
|
|
||||||
* User management
|
|
||||||
* Nix configuration
|
|
||||||
* System default settings
|
|
||||||
* Global packages (like `git` and `curl`) and sane configuration
|
|
||||||
defaults for them
|
|
||||||
* Basic networking configuration (like firewall and ssh)
|
|
|
@ -9,9 +9,7 @@
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
with pkgs;
|
with pkgs;
|
||||||
[
|
[
|
||||||
vim
|
|
||||||
tmux
|
tmux
|
||||||
fwupd
|
|
||||||
pciutils
|
pciutils
|
||||||
dmidecode
|
dmidecode
|
||||||
smartmontools
|
smartmontools
|
||||||
|
@ -28,7 +26,6 @@
|
||||||
gnupg
|
gnupg
|
||||||
pass-wayland
|
pass-wayland
|
||||||
pwgen
|
pwgen
|
||||||
units
|
|
||||||
powertop
|
powertop
|
||||||
lm_sensors
|
lm_sensors
|
||||||
sbctl
|
sbctl
|
||||||
|
@ -52,7 +49,7 @@
|
||||||
unrar
|
unrar
|
||||||
iotop
|
iotop
|
||||||
cabextract
|
cabextract
|
||||||
tree # p7zip
|
tree
|
||||||
vim
|
vim
|
||||||
vimPlugins.pathogen
|
vimPlugins.pathogen
|
||||||
vimPlugins.airline
|
vimPlugins.airline
|
||||||
|
@ -80,13 +77,12 @@
|
||||||
curl
|
curl
|
||||||
wget
|
wget
|
||||||
tor
|
tor
|
||||||
mosh
|
|
||||||
whois
|
whois
|
||||||
wol
|
wol
|
||||||
rsync
|
rsync
|
||||||
sshuttle
|
sshuttle
|
||||||
iftop
|
iftop
|
||||||
mailutils # hash-slinger #TODO: hash-slinger has broken dependency pyunbound
|
mailutils
|
||||||
imapsync
|
imapsync
|
||||||
bluez-tools
|
bluez-tools
|
||||||
];
|
];
|
||||||
|
|
|
@ -12,17 +12,10 @@ in
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
with pkgs;
|
with pkgs;
|
||||||
[
|
[
|
||||||
# Utilities
|
|
||||||
freetype
|
freetype
|
||||||
lxappearance
|
lxappearance
|
||||||
sound-theme-freedesktop
|
sound-theme-freedesktop
|
||||||
]
|
|
||||||
++ [
|
|
||||||
# Various
|
|
||||||
xfce.thunar
|
|
||||||
xfce.thunar-archive-plugin
|
|
||||||
xfce.xfce4-appfinder
|
|
||||||
pinentry-rofi # Required by gnupg
|
|
||||||
qt5.qtwayland # Required for qt applications
|
qt5.qtwayland # Required for qt applications
|
||||||
];
|
];
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
|
@ -31,7 +24,7 @@ in
|
||||||
gnome-terminal.enable = false;
|
gnome-terminal.enable = false;
|
||||||
evolution = {
|
evolution = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = [ pkgs.evolution-ews ];
|
#plugins = [ pkgs.evolution-ews ];
|
||||||
};
|
};
|
||||||
geary.enable = false;
|
geary.enable = false;
|
||||||
light.enable = true;
|
light.enable = true;
|
||||||
|
@ -41,6 +34,11 @@ in
|
||||||
sway.enable = true;
|
sway.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
i18n.inputMethod = {
|
||||||
|
type = "ibus";
|
||||||
|
ibus.engines = [ pkgs.ibus-engines.uniemoji ];
|
||||||
|
};
|
||||||
|
|
||||||
services.gnome = {
|
services.gnome = {
|
||||||
# TODO: Do this manually and not all at once.
|
# TODO: Do this manually and not all at once.
|
||||||
core-utilities.enable = true;
|
core-utilities.enable = true;
|
||||||
|
@ -73,7 +71,7 @@ in
|
||||||
# Needed for themes and backgrounds
|
# Needed for themes and backgrounds
|
||||||
environment.pathsToLink = [
|
environment.pathsToLink = [
|
||||||
"/share" # TODO: https://github.com/NixOS/nixpkgs/issues/47173
|
"/share" # TODO: https://github.com/NixOS/nixpkgs/issues/47173
|
||||||
]; # #########
|
];
|
||||||
|
|
||||||
# GVFS
|
# GVFS
|
||||||
services.gvfs.enable = true;
|
services.gvfs.enable = true;
|
||||||
|
|
|
@ -35,9 +35,4 @@
|
||||||
|
|
||||||
updateDbusEnvironment = true;
|
updateDbusEnvironment = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
i18n.inputMethod = {
|
|
||||||
type = "ibus";
|
|
||||||
ibus.engines = [ pkgs.ibus-engines.uniemoji ];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -55,7 +55,12 @@
|
||||||
google-chrome
|
google-chrome
|
||||||
chromium
|
chromium
|
||||||
nextcloud-client
|
nextcloud-client
|
||||||
|
xfce.thunar
|
||||||
|
xfce.thunar-archive-plugin
|
||||||
|
xfce.xfce4-appfinder
|
||||||
|
xfce.mousepad
|
||||||
bitwarden-desktop
|
bitwarden-desktop
|
||||||
|
pinentry-rofi # Required by gnupg
|
||||||
]
|
]
|
||||||
++ [
|
++ [
|
||||||
# office
|
# office
|
||||||
|
|
Loading…
Add table
Reference in a new issue