Fix warnings

This commit is contained in:
Oliver Davies 2024-04-23 22:56:39 +01:00
parent e8835f858e
commit 022fb2d986
2 changed files with 5 additions and 7 deletions

View file

@ -22,11 +22,11 @@
mkNixos = import ./lib/nixos { inherit inputs self username; }; mkNixos = import ./lib/nixos { inherit inputs self username; };
mkWsl = import ./lib/wsl2 { inherit inputs self username; }; mkWsl = import ./lib/wsl2 { inherit inputs self username; };
inherit (pkgs) just mkShell nixfmt; inherit (pkgs) just mkShell;
in { in {
packages.${system}.default = mkShell { buildInputs = [ just ]; }; packages.${system}.default = mkShell { buildInputs = [ just ]; };
formatter.${system} = nixfmt; formatter.${system} = pkgs.nixfmt-classic;
nixosConfigurations = { nixosConfigurations = {
apollo = mkNixos { apollo = mkNixos {

View file

@ -1,11 +1,9 @@
{ inputs, username, ... }: { inputs, username, ... }:
{ pkgs, ... }: { { pkgs, ... }: {
services = { services = {
xserver = { displayManager = {
displayManager = { defaultSession = "sway";
defaultSession = "sway"; sddm.enable = true;
sddm.enable = true;
};
}; };
}; };