Compare commits

...

4 commits

Author SHA1 Message Date
Antoine Martin 2b77681552 home: don't enable i3 by default 2024-03-03 03:03:03 +01:00
Antoine Martin 69674b104e base: remove firefox
it's installed from home-manager anyway
2024-03-03 03:02:09 +01:00
Antoine Martin 524e575975 base: remove a few programs from list 2024-03-03 02:58:38 +01:00
Antoine Martin cafcdc89d7 base: remove unneeded discord override 2024-03-03 02:58:06 +01:00
2 changed files with 7 additions and 9 deletions

View file

@ -34,7 +34,6 @@ in {
if config.my.gui.isNvidia if config.my.gui.isNvidia
then ["nvidia"] then ["nvidia"]
else options.services.xserver.videoDrivers.default; else options.services.xserver.videoDrivers.default;
windowManager.i3.enable = true;
layout = "fr"; layout = "fr";
xkbVariant = "us"; xkbVariant = "us";
libinput = { libinput = {
@ -51,10 +50,8 @@ in {
environment.systemPackages = builtins.attrValues { environment.systemPackages = builtins.attrValues {
inherit inherit
(pkgs) (pkgs)
chrysalis discord
evince
feh feh
firefox
ffmpeg ffmpeg
gimp-with-plugins gimp-with-plugins
imagemagick imagemagick
@ -69,11 +66,7 @@ in {
zathura zathura
; ;
inherit (pkgs.gnome) nautilus;
inherit (pkgs.libsForQt5) okular; inherit (pkgs.libsForQt5) okular;
discord = pkgs.discord.override {nss = pkgs.nss_latest;};
}; };
networking.networkmanager = { networking.networkmanager = {

View file

@ -6,11 +6,12 @@
}: let }: let
inherit inherit
(lib) (lib)
mkEnableOption
mkIf mkIf
mkOptionDefault mkOptionDefault
; ;
isEnabled = config.my.home.x.enable; isEnabled = config.my.home.x.i3.enable;
myTerminal = myTerminal =
# FIXME: fix when terminal is setup in home # FIXME: fix when terminal is setup in home
@ -26,6 +27,10 @@
i3Theme = config.my.theme.i3Theme; i3Theme = config.my.theme.i3Theme;
in { in {
options.my.home.x.i3 = {
enable = mkEnableOption "i3wm configuration";
};
config = mkIf isEnabled { config = mkIf isEnabled {
my.home = { my.home = {
flameshot.enable = true; flameshot.enable = true;