summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.lock158
-rw-r--r--flake.nix5
-rw-r--r--nixos/gui.nix1
-rw-r--r--nixos/nix.nix5
4 files changed, 161 insertions, 8 deletions
diff --git a/flake.lock b/flake.lock
index c0fa093..572cb3b 100644
--- a/flake.lock
+++ b/flake.lock
@@ -1,5 +1,64 @@
{
"nodes": {
+ "base16": {
+ "inputs": {
+ "nixpkgs": [
+ "stylix",
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1658847131,
+ "narHash": "sha256-X6Mml7cT0YR3WCD5fkUhpRVV5ZPcwdcDsND8r8xMqTE=",
+ "owner": "SenchoPens",
+ "repo": "base16.nix",
+ "rev": "6b404cda2e04ca3cf5ca7b877af9c469e1386acb",
+ "type": "github"
+ },
+ "original": {
+ "owner": "SenchoPens",
+ "repo": "base16.nix",
+ "type": "github"
+ }
+ },
+ "coricamu": {
+ "inputs": {
+ "nixpkgs": [
+ "stylix",
+ "nixpkgs"
+ ],
+ "utils": "utils_2"
+ },
+ "locked": {
+ "lastModified": 1659649195,
+ "narHash": "sha256-wRpMO4Mm4uizR5M71iipdi8ssSYMEPPAIwWyFYnhnco=",
+ "owner": "danth",
+ "repo": "coricamu",
+ "rev": "cdd2f7326efd91509caf84e69b669a7f9e6782bc",
+ "type": "github"
+ },
+ "original": {
+ "owner": "danth",
+ "repo": "coricamu",
+ "type": "github"
+ }
+ },
+ "flake-compat": {
+ "flake": false,
+ "locked": {
+ "lastModified": 1673956053,
+ "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=",
+ "owner": "edolstra",
+ "repo": "flake-compat",
+ "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9",
+ "type": "github"
+ },
+ "original": {
+ "owner": "edolstra",
+ "repo": "flake-compat",
+ "type": "github"
+ }
+ },
"flake-utils": {
"locked": {
"lastModified": 1676283394,
@@ -32,6 +91,28 @@
"type": "indirect"
}
},
+ "home-manager_2": {
+ "inputs": {
+ "nixpkgs": [
+ "stylix",
+ "nixpkgs"
+ ],
+ "utils": "utils_3"
+ },
+ "locked": {
+ "lastModified": 1658924727,
+ "narHash": "sha256-Fhh9FK9CvuCLxG1WkWJPoendDeXKI4gHYTfezo1n2Zg=",
+ "owner": "nix-community",
+ "repo": "home-manager",
+ "rev": "0e2f7876d2f2ae98a67d89a8bef8c49332aae5af",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-community",
+ "repo": "home-manager",
+ "type": "github"
+ }
+ },
"my-nixpkgs": {
"inputs": {
"flake-utils": "flake-utils",
@@ -39,11 +120,11 @@
"nur": "nur"
},
"locked": {
- "lastModified": 1677675864,
- "narHash": "sha256-8Bz+Wd/e/oSDJ7OIYGt0/6nINXsj2/2PbrN5ZhOPa0k=",
+ "lastModified": 1677683094,
+ "narHash": "sha256-hwxQ7YjxdSuTPjYg2pLkyNUAtK0RcE385efOrQSdv9U=",
"owner": "qaristote",
"repo": "my-nixpkgs",
- "rev": "857b17aa02062cc3e036e4049e37c11eb1a7e707",
+ "rev": "119f588fb9c9d78ac3c49f19bdbc00f67d2cf6b2",
"type": "github"
},
"original": {
@@ -110,6 +191,22 @@
"type": "indirect"
}
},
+ "nixpkgs_4": {
+ "locked": {
+ "lastModified": 1659102345,
+ "narHash": "sha256-Vbzlz254EMZvn28BhpN8JOi5EuKqnHZ3ujFYgFcSGvk=",
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "rev": "11b60e4f80d87794a2a4a8a256391b37c59a1ea7",
+ "type": "github"
+ },
+ "original": {
+ "owner": "NixOS",
+ "ref": "nixpkgs-unstable",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
"nur": {
"locked": {
"lastModified": 1677656154,
@@ -129,7 +226,30 @@
"home-manager": "home-manager",
"my-nixpkgs": "my-nixpkgs",
"nixos-hardware": "nixos-hardware",
- "nixpkgs": "nixpkgs_3"
+ "nixpkgs": "nixpkgs_3",
+ "stylix": "stylix"
+ }
+ },
+ "stylix": {
+ "inputs": {
+ "base16": "base16",
+ "coricamu": "coricamu",
+ "flake-compat": "flake-compat",
+ "home-manager": "home-manager_2",
+ "nixpkgs": "nixpkgs_4"
+ },
+ "locked": {
+ "lastModified": 1677597194,
+ "narHash": "sha256-dYDZv4k8ztRogjJkwibaCvUIyq97exwzHwqvo/DH6ZU=",
+ "owner": "danth",
+ "repo": "stylix",
+ "rev": "f93518ec4857358619ab3cb2e7fc97b15f98a7e3",
+ "type": "github"
+ },
+ "original": {
+ "owner": "danth",
+ "repo": "stylix",
+ "type": "github"
}
},
"utils": {
@@ -146,6 +266,36 @@
"repo": "flake-utils",
"type": "github"
}
+ },
+ "utils_2": {
+ "locked": {
+ "lastModified": 1642700792,
+ "narHash": "sha256-XqHrk7hFb+zBvRg6Ghl+AZDq03ov6OshJLiSWOoX5es=",
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "rev": "846b2ae0fc4cc943637d3d1def4454213e203cba",
+ "type": "github"
+ },
+ "original": {
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "type": "github"
+ }
+ },
+ "utils_3": {
+ "locked": {
+ "lastModified": 1653893745,
+ "narHash": "sha256-0jntwV3Z8//YwuOjzhV2sgJJPt+HY6KhU7VZUL0fKZQ=",
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "rev": "1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1",
+ "type": "github"
+ },
+ "original": {
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "type": "github"
+ }
}
},
"root": "root",
diff --git a/flake.nix b/flake.nix
index 33b2044..b46f4a0 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,9 +1,10 @@
{
inputs = {
my-nixpkgs.url = "github:qaristote/my-nixpkgs";
+ stylix.url = "github:danth/stylix";
};
- outputs = { self, nixpkgs, my-nixpkgs, nixos-hardware, home-manager }:
+ outputs = { self, nixpkgs, my-nixpkgs, nixos-hardware, home-manager, stylix }:
let
system = "x86_64-linux";
overlays-module = { ... }: {
@@ -15,7 +16,7 @@
in {
nixosConfigurations.latitude-7490 = nixpkgs.lib.nixosSystem {
inherit system;
- specialArgs = { inherit nixos-hardware home-manager homeModules; };
+ specialArgs = { inherit nixos-hardware home-manager homeModules stylix; };
modules = nixosModules;
};
diff --git a/nixos/gui.nix b/nixos/gui.nix
index 7c76a43..0342747 100644
--- a/nixos/gui.nix
+++ b/nixos/gui.nix
@@ -6,6 +6,7 @@ in {
enable = true;
xserver.enable = true;
i3.enable = true;
+ stylix.enable = true;
};
services.xserver = {
diff --git a/nixos/nix.nix b/nixos/nix.nix
index 27198ac..0f17fcb 100644
--- a/nixos/nix.nix
+++ b/nixos/nix.nix
@@ -9,10 +9,11 @@
};
system.autoUpgrade.flags = pkgs.personal.lib.updateInputFlags [
- "latitude-7490/nixpkgs"
"latitude-7490/home-manager"
- "latitude-7490/nixos-hardware"
"latitude-7490/my-nixpkgs"
+ "latitude-7490/nixos-hardware"
+ "latitude-7490/nixpkgs"
+ "lattitude-7490/stylix"
];
# make auto-upgrade service lightweight