add gnome as module, rollback nixvim
This commit is contained in:
parent
63fd57d7ba
commit
dfdd05a0c6
4 changed files with 21 additions and 10 deletions
|
@ -524,11 +524,11 @@
|
|||
"treefmt-nix": "treefmt-nix"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1725499492,
|
||||
"narHash": "sha256-IjpbYl4ljZ6gffzfH/n2qYbtu7PZ1KM2LW+cVL6w1bk=",
|
||||
"lastModified": 1725478117,
|
||||
"narHash": "sha256-Ly0DgmYniwBtQ+3aW4JO9ETJq9nbPemlISxC6MEDyB8=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixvim",
|
||||
"rev": "e48da949cf41597d43f8e3880fc1389129ad7427",
|
||||
"rev": "2ef974182ef62a6a6992118f0beb54dce812ae9b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
imports = [
|
||||
./system
|
||||
./syncthing
|
||||
./gnome.nix
|
||||
./sops.nix
|
||||
./stylix.nix
|
||||
];
|
||||
modules.gnome.enable = true;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
_:
|
||||
{
|
||||
imports = [ ./nvidia.nix ];
|
||||
imports = [
|
||||
./nvidia.nix
|
||||
./gnome.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,13 +1,20 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
cfg = config.modules.gnome;
|
||||
in
|
||||
{
|
||||
config = {
|
||||
options = {
|
||||
modules.gnome = {
|
||||
enable = lib.mkEnableOption "Enable Gnome";
|
||||
};
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
displayManager.gdm.enable = true;
|
||||
desktopManager.gnome = {
|
||||
enable = true;
|
||||
extraGSettingsOverridePackages = [ pkgs.gnome.mutter ];
|
||||
extraGSettingsOverridePackages = [ pkgs.mutter ];
|
||||
extraGSettingsOverrides = ''
|
||||
[org.gnome.mutter]
|
||||
experimental-features=['scale-monitor-framebuffer']
|
||||
|
@ -24,3 +31,4 @@
|
|||
];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in a new issue