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; };
mkWsl = import ./lib/wsl2 { inherit inputs self username; };
inherit (pkgs) just mkShell nixfmt;
inherit (pkgs) just mkShell;
in {
packages.${system}.default = mkShell { buildInputs = [ just ]; };
formatter.${system} = nixfmt;
formatter.${system} = pkgs.nixfmt-classic;
nixosConfigurations = {
apollo = mkNixos {

View file

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