Fix warnings
This commit is contained in:
parent
e8835f858e
commit
022fb2d986
|
@ -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 {
|
||||||
|
|
|
@ -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;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue