refactor done
This commit is contained in:
parent
32dc0f6994
commit
ce228bf80b
@ -27,7 +27,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
myOptions.niri.enable = true;
|
myOptions.niri.enable = false;
|
||||||
|
|
||||||
networking.hostName = "desktop"; # Define your hostname.
|
networking.hostName = "desktop"; # Define your hostname.
|
||||||
|
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
inputs.home-manager.nixosModules.default
|
inputs.home-manager.nixosModules.default
|
||||||
# ../../modules/nixos/cosmic.nix
|
../../modules/nixos/cosmic.nix
|
||||||
./niri.nix
|
./niri.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
# Select internationalisation properties.
|
# Select internationalisation properties.
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
|
|
||||||
i18n.extraLocaleSettings = {
|
i18n.extraLocaleSettings = {
|
||||||
LC_ADDRESS = "sv_SE.UTF-8";
|
LC_ADDRESS = "sv_SE.UTF-8";
|
||||||
LC_IDENTIFICATION = "sv_SE.UTF-8";
|
LC_IDENTIFICATION = "sv_SE.UTF-8";
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
myOptions,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
lib.mkIf myOptions.niri.enable
|
lib.mkIf config.myOptions.niri.enable
|
||||||
{
|
{
|
||||||
services.displayManager.ly = {
|
services.displayManager.ly = {
|
||||||
x11Support = false;
|
x11Support = false;
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -17,5 +17,4 @@
|
|||||||
];
|
];
|
||||||
services.gnome.gnome-keyring.enable = true;
|
services.gnome.gnome-keyring.enable = true;
|
||||||
security.pam.services.swaylock = {};
|
security.pam.services.swaylock = {};
|
||||||
|
}
|
||||||
}
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user