Compare commits

..

No commits in common. "2b15ea720866d9758e84ba27b83a8a0dc4efe2d6" and "3bb89d0b974dcb7a5876a49536e0edd7b8ff7e45" have entirely different histories.

6 changed files with 11 additions and 52 deletions

View File

@ -12,8 +12,6 @@
steam.enable = true; steam.enable = true;
prism.enable = true; prism.enable = true;
fzf.enable = true; fzf.enable = true;
firefox.enable = true;
zsh.enable = true;
}; };
home-manager = { home-manager = {
@ -40,6 +38,14 @@
networking.hostName = "desktop1"; networking.hostName = "desktop1";
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
users.defaultUserShell = pkgs.zsh;
services.xserver.xkb = {
layout = "fr";
variant = "";
};
console.keyMap = "fr";
services.desktopManager.plasma6.enable = true; services.desktopManager.plasma6.enable = true;
services.displayManager.sddm.enable = true; services.displayManager.sddm.enable = true;
services.displayManager.sddm.wayland.enable = true; services.displayManager.sddm.wayland.enable = true;
@ -91,4 +97,7 @@
]; ];
}; };
programs.firefox.enable = true;
programs.zsh.enable = true;
} }

View File

@ -1,6 +0,0 @@
{ lib, config, pkgs, ... }:
{
imports = [
./firefox.nix
];
}

View File

@ -1,15 +0,0 @@
{ lib, config, pkgs, ... }:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.firefox.enable = mkOption {
type = types.bool;
default = false;
description = "firefox";
};
config = mkIf config.smayzy.firefox.enable {
programs.firefox.enable = true;
};
}

View File

@ -6,8 +6,6 @@
./hardware ./hardware
./virt ./virt
./games ./games
./browser
./shell
]; ];
# Timzone and locales (same for all machines so I put it here) # Timzone and locales (same for all machines so I put it here)
@ -23,9 +21,4 @@
"nvidia-x11" "nvidia-x11"
"nvidia-settings" "nvidia-settings"
]; ];
services.xserver.xkb = {
layout = "fr";
variant = "";
};
console.keyMap = "fr";
} }

View File

@ -1,6 +0,0 @@
{ lib, config, pkgs, ... }:
{
imports = [
./zsh.nix
];
}

View File

@ -1,16 +0,0 @@
{ lib, config, pkgs, ... }:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.zsh.enable = mkOption {
type = types.bool;
default = false;
description = "zsh";
};
config = mkIf config.smayzy.zsh.enable {
programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh;
};
}