Switch to Gnome

This commit is contained in:
Filippo Berto 2022-12-02 13:24:40 +01:00
parent 9945e3bdbd
commit 8aef861399
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
5 changed files with 264 additions and 263 deletions

494
flake.lock generated
View file

@ -1,252 +1,252 @@
{ {
"nodes": { "nodes": {
"flake-compat": { "flake-compat": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1668681692, "lastModified": 1668681692,
"narHash": "sha256-Ht91NGdewz8IQLtWZ9LCeNXMSXHUss+9COoqu6JLmXU=", "narHash": "sha256-Ht91NGdewz8IQLtWZ9LCeNXMSXHUss+9COoqu6JLmXU=",
"owner": "edolstra", "owner": "edolstra",
"repo": "flake-compat", "repo": "flake-compat",
"rev": "009399224d5e398d03b22badca40a37ac85412a1", "rev": "009399224d5e398d03b22badca40a37ac85412a1",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "edolstra", "owner": "edolstra",
"repo": "flake-compat", "repo": "flake-compat",
"type": "github" "type": "github"
} }
}, },
"flake-utils": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1667395993, "lastModified": 1667395993,
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"type": "github" "type": "github"
} }
}, },
"gitignore": { "gitignore": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"pre-commit-hooks", "pre-commit-hooks",
"nixpkgs" "nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1660459072, "lastModified": 1660459072,
"narHash": "sha256-8DFJjXG8zqoONA1vXtgeKXy68KdJL5UaXR8NtVMUbx8=", "narHash": "sha256-8DFJjXG8zqoONA1vXtgeKXy68KdJL5UaXR8NtVMUbx8=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "gitignore.nix", "repo": "gitignore.nix",
"rev": "a20de23b925fd8264fd7fad6454652e142fd7f73", "rev": "a20de23b925fd8264fd7fad6454652e142fd7f73",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "gitignore.nix", "repo": "gitignore.nix",
"type": "github" "type": "github"
} }
}, },
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1667907331, "lastModified": 1667907331,
"narHash": "sha256-bHkAwkYlBjkupPUFcQjimNS8gxWSWjOTevEuwdnp5m0=", "narHash": "sha256-bHkAwkYlBjkupPUFcQjimNS8gxWSWjOTevEuwdnp5m0=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "6639e3a837fc5deb6f99554072789724997bc8e5", "rev": "6639e3a837fc5deb6f99554072789724997bc8e5",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "release-22.05", "ref": "release-22.05",
"repo": "home-manager", "repo": "home-manager",
"type": "github" "type": "github"
} }
}, },
"nix-rice": { "nix-rice": {
"inputs": { "inputs": {
"flake-utils": [ "flake-utils": [
"flake-utils" "flake-utils"
], ],
"nixpkgs": [ "nixpkgs": [
"nixpkgs-u" "nixpkgs-u"
], ],
"pre-commit-hooks": "pre-commit-hooks" "pre-commit-hooks": "pre-commit-hooks"
}, },
"locked": { "locked": {
"lastModified": 1666602436, "lastModified": 1666602436,
"narHash": "sha256-1XqDIzbqBjJSCxx+r/qHYxRGJnaeBWMTNoOY1bEY+uc=", "narHash": "sha256-1XqDIzbqBjJSCxx+r/qHYxRGJnaeBWMTNoOY1bEY+uc=",
"owner": "bertof", "owner": "bertof",
"repo": "nix-rice", "repo": "nix-rice",
"rev": "82ec325c24f35d628a41575819c4ae76a853a942", "rev": "82ec325c24f35d628a41575819c4ae76a853a942",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "bertof", "owner": "bertof",
"repo": "nix-rice", "repo": "nix-rice",
"type": "github" "type": "github"
} }
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1669650994, "lastModified": 1669650994,
"narHash": "sha256-uwASLUfedIQ5q01TtMwZDEV2HCZr5nVPZjzVgCG+D5I=", "narHash": "sha256-uwASLUfedIQ5q01TtMwZDEV2HCZr5nVPZjzVgCG+D5I=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "7883883d135ce5b7eae5dce4bfa12262b85c1c46", "rev": "7883883d135ce5b7eae5dce4bfa12262b85c1c46",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"type": "github" "type": "github"
} }
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1669890542, "lastModified": 1669976881,
"narHash": "sha256-UBCbVML/M1skNZOQpokePtkgNs1K+5tZpawYTCoJVJU=", "narHash": "sha256-Hu2QwEsBM4HHTn7jxa2OD1M0Jv3pjOqPL5Koi7CkO9s=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "ebd5e9b80da4b0da94ba87f93d2ed12dc1fac89c", "rev": "4f5b8519ec7273e6a57cea2983d117b80558f2b5",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "release-22.11", "ref": "release-22.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1668984258, "lastModified": 1668984258,
"narHash": "sha256-0gDMJ2T3qf58xgcSbYoXiRGUkPWmKyr5C3vcathWhKs=", "narHash": "sha256-0gDMJ2T3qf58xgcSbYoXiRGUkPWmKyr5C3vcathWhKs=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "cf63ade6f74bbc9d2a017290f1b2e33e8fbfa70a", "rev": "cf63ade6f74bbc9d2a017290f1b2e33e8fbfa70a",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-22.05", "ref": "nixos-22.05",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
}, },
"nixpkgs-u": { "nixpkgs-u": {
"locked": { "locked": {
"lastModified": 1669542132, "lastModified": 1669791787,
"narHash": "sha256-DRlg++NJAwPh8io3ExBJdNW7Djs3plVI5jgYQ+iXAZQ=", "narHash": "sha256-KBfoA2fOI5+wCrm7PR+j7jHqXeTkVRPQ0m5fcKchyuU=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a115bb9bd56831941be3776c8a94005867f316a7", "rev": "e76c78d20685a043d23f5f9e0ccd2203997f1fb1",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-unstable", "ref": "nixos-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
}, },
"pre-commit-hooks": { "pre-commit-hooks": {
"inputs": { "inputs": {
"flake-utils": [ "flake-utils": [
"nix-rice", "nix-rice",
"flake-utils" "flake-utils"
], ],
"nixpkgs": [ "nixpkgs": [
"nix-rice", "nix-rice",
"nixpkgs" "nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1666160137, "lastModified": 1666160137,
"narHash": "sha256-8bQu+6poMzUyS2n3C1v3hkO6ZhRzj8Pf3CDCNckqQE4=", "narHash": "sha256-8bQu+6poMzUyS2n3C1v3hkO6ZhRzj8Pf3CDCNckqQE4=",
"owner": "cachix", "owner": "cachix",
"repo": "pre-commit-hooks.nix", "repo": "pre-commit-hooks.nix",
"rev": "e6c8efee1c108bb27522b9fd25b1cd0eb3288681", "rev": "e6c8efee1c108bb27522b9fd25b1cd0eb3288681",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "cachix", "owner": "cachix",
"repo": "pre-commit-hooks.nix", "repo": "pre-commit-hooks.nix",
"type": "github" "type": "github"
} }
}, },
"pre-commit-hooks_2": { "pre-commit-hooks_2": {
"inputs": { "inputs": {
"flake-compat": "flake-compat", "flake-compat": "flake-compat",
"flake-utils": [ "flake-utils": [
"flake-utils" "flake-utils"
], ],
"gitignore": "gitignore", "gitignore": "gitignore",
"nixpkgs": [ "nixpkgs": [
"nixpkgs-u" "nixpkgs-u"
], ],
"nixpkgs-stable": "nixpkgs-stable" "nixpkgs-stable": "nixpkgs-stable"
}, },
"locked": { "locked": {
"lastModified": 1669829516, "lastModified": 1669829516,
"narHash": "sha256-laWMD/TZzyrulu8xLNoSPertXOxjRD7BrcAVwKl+NyQ=", "narHash": "sha256-laWMD/TZzyrulu8xLNoSPertXOxjRD7BrcAVwKl+NyQ=",
"owner": "cachix", "owner": "cachix",
"repo": "pre-commit-hooks.nix", "repo": "pre-commit-hooks.nix",
"rev": "471c7f1ecace25e39099206431300322632d25c4", "rev": "471c7f1ecace25e39099206431300322632d25c4",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "cachix", "owner": "cachix",
"repo": "pre-commit-hooks.nix", "repo": "pre-commit-hooks.nix",
"type": "github" "type": "github"
} }
}, },
"root": { "root": {
"inputs": { "inputs": {
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"home-manager": "home-manager", "home-manager": "home-manager",
"nix-rice": "nix-rice", "nix-rice": "nix-rice",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixpkgs-u": "nixpkgs-u", "nixpkgs-u": "nixpkgs-u",
"pre-commit-hooks": "pre-commit-hooks_2", "pre-commit-hooks": "pre-commit-hooks_2",
"tex2nix": "tex2nix" "tex2nix": "tex2nix"
} }
}, },
"tex2nix": { "tex2nix": {
"inputs": { "inputs": {
"flake-utils": [ "flake-utils": [
"flake-utils" "flake-utils"
], ],
"nixpkgs": [ "nixpkgs": [
"nixpkgs-u" "nixpkgs-u"
] ]
}, },
"locked": { "locked": {
"lastModified": 1665144382, "lastModified": 1665144382,
"narHash": "sha256-CCnC3YsQCGoKIGdMND+pr5Rl7nufT1Krv1TZPBIEm8o=", "narHash": "sha256-CCnC3YsQCGoKIGdMND+pr5Rl7nufT1Krv1TZPBIEm8o=",
"owner": "Mic92", "owner": "Mic92",
"repo": "tex2nix", "repo": "tex2nix",
"rev": "068e8655c754783d86f442f887f2e92305d9bd4a", "rev": "068e8655c754783d86f442f887f2e92305d9bd4a",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "Mic92", "owner": "Mic92",
"repo": "tex2nix", "repo": "tex2nix",
"type": "github" "type": "github"
} }
} }
}, },
"root": "root", "root": "root",
"version": 7 "version": 7
} }

View file

@ -63,17 +63,17 @@ with lib; {
services.xserver = { services.xserver = {
enable = true; enable = true;
# Enable the GNOME 3 Desktop Environment. # Enable the GNOME 3 Desktop Environment.
# displayManager.gdm = { displayManager.gdm = {
# enable = true; enable = true;
# wayland = true; # wayland = true;
# nvidiaWayland = true; # nvidiaWayland = true;
# }; };
# desktopManager.gnome.enable = true; desktopManager.gnome.enable = true;
# desktopManager.plasma5 = { # desktopManager.plasma5 = {
# enable = true; # enable = true;
# runUsingSystemd = true; # runUsingSystemd = true;
# }; # };
windowManager.bspwm.enable = true; # windowManager.bspwm.enable = true;
displayManager.sddm = { displayManager.sddm = {
enable = true; enable = true;

View file

@ -18,7 +18,7 @@
# element-desktop # matrix client # element-desktop # matrix client
# evince # evince
# evolution # evolution
firefox-bin unstable.firefox
# freecad # freecad
gallery-dl gallery-dl
gnome.eog gnome.eog

View file

@ -162,17 +162,17 @@ with lib; {
xserver = { xserver = {
enable = true; enable = true;
desktopManager = { desktopManager = {
# gnome.enable = true; gnome.enable = true;
# cinnamon.enable = true; # cinnamon.enable = true;
# plasma5 = { enable = true; runUsingSystemd = true; useQtScaling = true; }; # plasma5 = { enable = true; runUsingSystemd = true; useQtScaling = true; };
}; };
windowManager.bspwm = { enable = true; }; windowManager.bspwm = { enable = true; };
# displayManager.gdm = { enable = true; nvidiaWayland = true; }; displayManager.gdm = { enable = true; };
displayManager.sddm = { # displayManager.sddm = {
enable = true; # enable = true;
theme = # theme =
"${pkgs.sddm-theme-clairvoyance}/usr/share/sddm/themes/clairvoyance"; # "${pkgs.sddm-theme-clairvoyance}/usr/share/sddm/themes/clairvoyance";
}; # };
videoDrivers = [ "nvidia" ]; videoDrivers = [ "nvidia" ];
layout = "us,it"; layout = "us,it";

View file

@ -20,7 +20,7 @@
# element-desktop # matrix client # element-desktop # matrix client
# evolution # evolution
filelight filelight
firefox-bin unstable.firefox
# freecad # freecad
gallery-dl gallery-dl
gnome.eog gnome.eog
@ -101,6 +101,7 @@
../hm_modules/cava.nix ../hm_modules/cava.nix
../hm_modules/easyeffects.nix ../hm_modules/easyeffects.nix
# ../hm_modules/dunst.nix # ../hm_modules/dunst.nix
../hm_modules/gnome_shell.nix
# ../hm_modules/grobi.nix # ../hm_modules/grobi.nix
../hm_modules/gtk_theme.nix ../hm_modules/gtk_theme.nix
../hm_modules/heif.nix ../hm_modules/heif.nix