diff --git a/hosts/laptop1/configuration.nix b/hosts/laptop1/configuration.nix index ed03169..878d7c3 100644 --- a/hosts/laptop1/configuration.nix +++ b/hosts/laptop1/configuration.nix @@ -7,10 +7,6 @@ ./hardware-configuration.nix ]; - smayzy.grub-on-lap.enable = true; - - services.logind.lidSwitch = "ignore"; - home-manager = { extraSpecialArgs = { inherit inputs; }; users = { @@ -21,18 +17,7 @@ system.stateVersion = "24.11"; - nix.settings.experimental-features = [ "nix-command" "flakes" ]; - networking.hostName = "laptop1"; - networking.networkmanager.enable = true; - - users.defaultUserShell = pkgs.zsh; - - services.xserver.xkb = { - layout = "fr"; - variant = ""; - }; - console.keyMap = "fr"; services.desktopManager.plasma6.enable = true; services.displayManager.sddm.enable = true; @@ -46,8 +31,6 @@ xdg.portal.enable = true; xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; - programs.steam.enable = true; - environment.systemPackages = with pkgs; [ mako wofi @@ -70,11 +53,6 @@ hyprlock ]; - stylix.enable = true; - stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/dracula.yaml"; - - programs.fzf.keybindings = true; - services.flatpak = { enable = true; update.onActivation = true; @@ -86,7 +64,4 @@ ]; }; - programs.firefox.enable = true; - - programs.zsh.enable = true; } diff --git a/modules/nix/groups/laptop.nix b/modules/nix/groups/laptop.nix index f37eee7..d862eed 100644 --- a/modules/nix/groups/laptop.nix +++ b/modules/nix/groups/laptop.nix @@ -12,10 +12,12 @@ in config = mkIf config.smayzy.laptop.enable { smayzy = { base = true; + grub-on-lap.enable = true; prism.enable = true; firefox.enable = true; stylix.enable = true; audio.enable = true; }; + services.logind.lidSwitch = "ignore"; }; }