From deece9317b007a36dd5fa9114c36871648d8cd4f Mon Sep 17 00:00:00 2001 From: max_ag Date: Sun, 21 Sep 2025 20:23:39 +0200 Subject: [PATCH] trying stuff --- configuration/laptop/configuration.nix | 4 ---- configuration/laptop/sddm-theme.nix | 15 +++++++++++++++ flake.nix | 2 +- 3 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 configuration/laptop/sddm-theme.nix diff --git a/configuration/laptop/configuration.nix b/configuration/laptop/configuration.nix index 988c57d..5a84e08 100644 --- a/configuration/laptop/configuration.nix +++ b/configuration/laptop/configuration.nix @@ -3,10 +3,6 @@ inputs, ... }: { - imports = [ - ./verbatim.nix - ]; - nix.settings.experimental-features = ["nix-command" "flakes"]; nixpkgs = { diff --git a/configuration/laptop/sddm-theme.nix b/configuration/laptop/sddm-theme.nix new file mode 100644 index 0000000..ddb44b3 --- /dev/null +++ b/configuration/laptop/sddm-theme.nix @@ -0,0 +1,15 @@ +{pkgs}: +pkgs.stdenv.mkDerivation { + name = "sddm-theme"; + src = pkgs.fetchFromGitHub { + owner = "MarianArlt"; + repo = "sddm-sugar-dark"; + rev = "ceb2c455663429be03ba62d9f898c571650ef7fe"; + sha256 = "0153z1kylbhc9d12nxy9vpn0spxgrhgy36wy37pk6ysq7akaqlvy"; + }; + + installPhase = '' + mkdir -p $out + cp -R ./* $out/ + ''; +} diff --git a/flake.nix b/flake.nix index 036f0e3..be01362 100644 --- a/flake.nix +++ b/flake.nix @@ -27,7 +27,7 @@ outputs = {nixpkgs, ...} @ inputs: { nixosConfigurations = { - max-laptop = { + max-laptop = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit inputs;