cleaning_apres_maj_25_05

This commit is contained in:
Nathanaël Leprette 2025-05-26 00:58:40 +02:00
parent 83f9f0d9e6
commit 93ee1d355a
3 changed files with 150 additions and 130 deletions

View File

@ -7,29 +7,44 @@
{
services = {
# Enable the X11 windowing system.
xserver.enable = true;
# Enable the login manager
displayManager.cosmic-greeter.enable = lib.mkDefault true;
# Enable the COSMIC DE itself
desktopManager.cosmic.enable = lib.mkDefault true;
desktopManager.cosmic = {
enable = lib.mkDefault true;
# Enable XWayland support in COSMIC
desktopManager.cosmic.xwayland.enable = lib.mkDefault true;
xwayland.enable = lib.mkDefault true;
};
};
environment.sessionVariables.COSMIC_DATA_CONTROL_ENABLED = 1; # to make Clipboard Manager work
environment.sessionVariables = {
# to make Clipboard Manager work
COSMIC_DATA_CONTROL_ENABLED = 1;
# enable Ozone Wayland support in Chromium and Electron
NIXOS_OZONE_WL = "1";
};
# to allow to open link in web browser from any app
systemd.user.extraConfig = ''DefaultEnvironment="PATH=/run/wrappers/bin:/etc/profiles/per-user/%u/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin"'';
specialisation = {
gnome.configuration = {
# Cosmic conflicts with gnome
services.xserver.desktopManager.gnome.enable = true;
services.desktopManager.cosmic.enable = false;
# Cosmic requires cosmic-greeter
services.xserver.displayManager.gdm.enable = true;
services.displayManager.cosmic-greeter.enable = false;
services = {
# Disable Cosmic
desktopManager.cosmic = {
enable = false;
xwayland.enable = false;
};
displayManager.cosmic-greeter.enable = false;
# Enable Gnome
xserver = {
enable = true;
desktopManager.gnome.enable = true;
displayManager.gdm.enable = true;
};
};
environment.systemPackages = with pkgs; [
adwaita-icon-theme
gnomeExtensions.appindicator
gnomeExtensions.arcmenu
gnomeExtensions.blur-my-shell
@ -46,9 +61,13 @@
gnomeExtensions.transparent-window-moving
gnomeExtensions.unblank
gnomeExtensions.window-state-manager
gnome-settings-daemon
gnome-themes-extra
gnome-tweaks
];
programs.dconf.profiles = {
programs.dconf = {
enable = true;
profiles = {
user.databases = [{
settings = with lib.gvariant; {
"org/gnome/desktop/interface" = {
@ -166,6 +185,7 @@
};
}];
};
};
system.nixos.tags = [ "Gnome" ];
};
};

20
flake.lock generated
View File

@ -36,15 +36,15 @@
"lix": {
"flake": false,
"locked": {
"lastModified": 1737234286,
"narHash": "sha256-pgDJZjj4jpzkFxsqBTI/9Yb0n3gW+DvDtuv9SwQZZcs=",
"rev": "079528098f5998ba13c88821a2eca1005c1695de",
"lastModified": 1746827285,
"narHash": "sha256-hsFe4Tsqqg4l+FfQWphDtjC79WzNCZbEFhHI8j2KJzw=",
"rev": "47aad376c87e2e65967f17099277428e4b3f8e5a",
"type": "tarball",
"url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/079528098f5998ba13c88821a2eca1005c1695de.tar.gz?rev=079528098f5998ba13c88821a2eca1005c1695de"
"url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/47aad376c87e2e65967f17099277428e4b3f8e5a.tar.gz?rev=47aad376c87e2e65967f17099277428e4b3f8e5a"
},
"original": {
"type": "tarball",
"url": "https://git.lix.systems/lix-project/lix/archive/release-2.92.tar.gz"
"url": "https://git.lix.systems/lix-project/lix/archive/2.93.0.tar.gz"
}
},
"lix-module": {
@ -57,15 +57,15 @@
]
},
"locked": {
"lastModified": 1742943028,
"narHash": "sha256-fprwZKE1uMzO9tiWWOrmLWBW3GPkMayQfb0xOvVFIno=",
"rev": "868d97695bab9d21f6070b03957bcace249fbe3c",
"lastModified": 1746838955,
"narHash": "sha256-11R4K3iAx4tLXjUs+hQ5K90JwDABD/XHhsM9nkeS5N8=",
"rev": "cd2a9c028df820a83ca2807dc6c6e7abc3dfa7fc",
"type": "tarball",
"url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/868d97695bab9d21f6070b03957bcace249fbe3c.tar.gz?rev=868d97695bab9d21f6070b03957bcace249fbe3c"
"url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/cd2a9c028df820a83ca2807dc6c6e7abc3dfa7fc.tar.gz?rev=cd2a9c028df820a83ca2807dc6c6e7abc3dfa7fc"
},
"original": {
"type": "tarball",
"url": "https://git.lix.systems/lix-project/nixos-module/archive/2.92.0-3.tar.gz"
"url": "https://git.lix.systems/lix-project/nixos-module/archive/2.93.0.tar.gz"
}
},
"nixpkgs": {

View File

@ -5,7 +5,7 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
# nixpkgs_unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
lix-module = {
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.92.0-3.tar.gz";
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.93.0.tar.gz";
inputs.nixpkgs.follows = "nixpkgs";
};
# affinity-nix.url = "github:mrshmllow/affinity-nix";