From 1461fc1fcf64e27ae217b38e02308747281f6acd Mon Sep 17 00:00:00 2001 From: lucy Date: Fri, 2 Oct 2026 17:14:02 +0200 Subject: [PATCH] add mangowm and add packages needed for screensharing and screenshots --- configuration.nix | 21 ++++++++- flake.lock | 116 ++++++++++++++++++++++++++++++++++++++++++++++ flake.nix | 9 +++- 3 files changed, 142 insertions(+), 4 deletions(-) diff --git a/configuration.nix b/configuration.nix index d3b7a3f..234996a 100755 --- a/configuration.nix +++ b/configuration.nix @@ -4,7 +4,6 @@ imports = [ ./hardware-configuration.nix ]; - nix.package = pkgs.lixPackageSets.stable.lix; hardware.graphics.enable = true; services.xserver.videoDrivers = [ "nvidia" ]; hardware.nvidia = { @@ -13,8 +12,17 @@ package = config.boot.kernelPackages.nvidiaPackages.new_feature; }; environment.sessionVariables.NIXOS_OZONE_WL = "1"; - boot.loader.systemd-boot.enable = true; + boot.loader.systemd-boot.enable = false; boot.loader.efi.canTouchEfiVariables = true; + boot.loader.limine = { + enable = true; + extraEntries = '' + /Windows 11 + protocol: efi + path: uuid(6E25-7E8D):/EFI/Microsoft/Boot/bootmgfw.efi + ''; + + }; boot.kernelPackages = pkgs.linuxPackages_latest; networking.hostName = "nerv"; networking.networkmanager.enable = true; @@ -60,6 +68,7 @@ }; config.enabledThemes = [ "tinted.css" ]; }; + programs.mango.enable = true; users.users."lucy" = { isNormalUser = true; description = "lucy"; @@ -84,6 +93,13 @@ xournalpp btop chromium + fuzzel + quickshell + kdePackages.qtdeclarative + jq + grim + slurp + wl-clipboard ]; }; fonts.packages = with pkgs; [ @@ -92,6 +108,7 @@ noto-fonts noto-fonts-cjk-sans noto-fonts-color-emoji + inter ]; programs.chromium.enable = true; programs.chromium.extensions = [ diff --git a/flake.lock b/flake.lock index ee7b7d7..9218c1a 100755 --- a/flake.lock +++ b/flake.lock @@ -1,5 +1,45 @@ { "nodes": { + "flake-parts": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib" + }, + "locked": { + "lastModified": 1782949081, + "narHash": "sha256-vp6Y/Grm98ESt6ceOkWiHWyZRDV3J1RID4w+6NWK9yA=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "17c9d6cdfc60c64f4ee8d306f9bc0b4ccb51481e", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-utils": { + "inputs": { + "systems": [ + "mangowm", + "scenefx", + "systems" + ] + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "home-manager": { "inputs": { "nixpkgs": [ @@ -22,6 +62,28 @@ "type": "github" } }, + "mangowm": { + "inputs": { + "flake-parts": "flake-parts", + "nixpkgs": [ + "nixpkgs" + ], + "scenefx": "scenefx" + }, + "locked": { + "lastModified": 1790938422, + "narHash": "sha256-xzObO2QvFXziKbCNCPyLHHbGZeZWTC5a+58gbiV3EtM=", + "owner": "mangowm", + "repo": "mango", + "rev": "0fc943479d0c0e32b4af3fc881da0e02abbacd89", + "type": "github" + }, + "original": { + "owner": "mangowm", + "repo": "mango", + "type": "github" + } + }, "nix-darwin": { "inputs": { "nixpkgs": [ @@ -116,6 +178,21 @@ "type": "github" } }, + "nixpkgs-lib": { + "locked": { + "lastModified": 1782614948, + "narHash": "sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC+eBu2zKlp8=", + "owner": "nix-community", + "repo": "nixpkgs.lib", + "rev": "db3f255737b94216eb71cce308e2912cf6bc2d7c", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nixpkgs.lib", + "type": "github" + } + }, "nixpkgs-nixcord": { "locked": { "lastModified": 1790635395, @@ -134,11 +211,50 @@ }, "root": { "inputs": { + "mangowm": "mangowm", "nix-maid": "nix-maid", "nixcord": "nixcord", "nixpkgs": "nixpkgs" } }, + "scenefx": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": [ + "mangowm", + "nixpkgs" + ], + "systems": "systems" + }, + "locked": { + "lastModified": 1782624992, + "narHash": "sha256-vUjLG6eubEhJJVa9LPygIcVmNoHwYbSUTJcWEcbxnU4=", + "owner": "wlrfx", + "repo": "scenefx", + "rev": "37ccd723bef49e6891156ffafce8f549f01446cc", + "type": "github" + }, + "original": { + "owner": "wlrfx", + "repo": "scenefx", + "type": "github" + } + }, + "systems": { + "locked": { + "lastModified": 1689347949, + "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", + "owner": "nix-systems", + "repo": "default-linux", + "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default-linux", + "type": "github" + } + }, "treefmt-nix": { "inputs": { "nixpkgs": [ diff --git a/flake.nix b/flake.nix index 73d74dd..4e061cd 100755 --- a/flake.nix +++ b/flake.nix @@ -7,10 +7,13 @@ url = "github:4evy/nixcord"; inputs.nixpkgs.follows = "nixpkgs"; }; - nix-maid = { url = "git+https://codeberg.org/viperML/nix-maid"; }; + mangowm = { + url = "github:mangowm/mango"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = @@ -19,14 +22,16 @@ nixpkgs, nixcord, nix-maid, + mangowm, }: { nixosConfigurations.nerv = nixpkgs.lib.nixosSystem { specialArgs = { inherit inputs; }; system = "x86_64-linux"; modules = [ - inputs.nixcord.nixosModules.nixcord + nixcord.nixosModules.nixcord nix-maid.nixosModules.default + mangowm.nixosModules.mango ./configuration.nix ./maid.nix ];