Compare commits
4 commits
fad2af4451
...
2b77681552
Author | SHA1 | Date | |
---|---|---|---|
Antoine Martin | 2b77681552 | ||
Antoine Martin | 69674b104e | ||
Antoine Martin | 524e575975 | ||
Antoine Martin | cafcdc89d7 |
|
@ -34,7 +34,6 @@ in {
|
|||
if config.my.gui.isNvidia
|
||||
then ["nvidia"]
|
||||
else options.services.xserver.videoDrivers.default;
|
||||
windowManager.i3.enable = true;
|
||||
layout = "fr";
|
||||
xkbVariant = "us";
|
||||
libinput = {
|
||||
|
@ -51,10 +50,8 @@ in {
|
|||
environment.systemPackages = builtins.attrValues {
|
||||
inherit
|
||||
(pkgs)
|
||||
chrysalis
|
||||
evince
|
||||
discord
|
||||
feh
|
||||
firefox
|
||||
ffmpeg
|
||||
gimp-with-plugins
|
||||
imagemagick
|
||||
|
@ -69,11 +66,7 @@ in {
|
|||
zathura
|
||||
;
|
||||
|
||||
inherit (pkgs.gnome) nautilus;
|
||||
|
||||
inherit (pkgs.libsForQt5) okular;
|
||||
|
||||
discord = pkgs.discord.override {nss = pkgs.nss_latest;};
|
||||
};
|
||||
|
||||
networking.networkmanager = {
|
||||
|
|
|
@ -6,11 +6,12 @@
|
|||
}: let
|
||||
inherit
|
||||
(lib)
|
||||
mkEnableOption
|
||||
mkIf
|
||||
mkOptionDefault
|
||||
;
|
||||
|
||||
isEnabled = config.my.home.x.enable;
|
||||
isEnabled = config.my.home.x.i3.enable;
|
||||
|
||||
myTerminal =
|
||||
# FIXME: fix when terminal is setup in home
|
||||
|
@ -26,6 +27,10 @@
|
|||
|
||||
i3Theme = config.my.theme.i3Theme;
|
||||
in {
|
||||
options.my.home.x.i3 = {
|
||||
enable = mkEnableOption "i3wm configuration";
|
||||
};
|
||||
|
||||
config = mkIf isEnabled {
|
||||
my.home = {
|
||||
flameshot.enable = true;
|
||||
|
|
Loading…
Reference in a new issue