aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-07-30 20:57:40 +0200
committerschererleander <leander@schererleander.de>2025-07-30 20:57:40 +0200
commit3c2f05ef0cdab9f983deadec5c81cda4fa593c72 (patch)
tree53583c1a71173e5dd578c43f7ffcdf220c45eb0e
parent1c025004f058dfd09185381dd8dbd71d560b2c69 (diff)
feat: change desktop username, sharedModules
-rw-r--r--flake.lock99
-rw-r--r--flake.nix12
2 files changed, 84 insertions, 27 deletions
diff --git a/flake.lock b/flake.lock
index a93cd82..9385b2f 100644
--- a/flake.lock
+++ b/flake.lock
@@ -21,11 +21,11 @@
},
"locked": {
"dir": "pkgs/firefox-addons",
- "lastModified": 1747800214,
- "narHash": "sha256-4zStSk4O6GT0kZhN/zERhMHbcJnwFtYt3rM01t6gNhA=",
+ "lastModified": 1753761817,
+ "narHash": "sha256-FE908x/ihUlr5yn1f+PTMyOjcwotGUodzn7Ej6zZf5U=",
"owner": "rycee",
"repo": "nur-expressions",
- "rev": "54be6f6687f510002f7a1e6c3583278d989f3833",
+ "rev": "b657cfddb78408e9b53b4a8aaeaac71fc7ea182e",
"type": "gitlab"
},
"original": {
@@ -252,11 +252,11 @@
]
},
"locked": {
- "lastModified": 1747556831,
- "narHash": "sha256-Qb84nbYFFk0DzFeqVoHltS2RodAYY5/HZQKE8WnBDsc=",
+ "lastModified": 1753592768,
+ "narHash": "sha256-oV695RvbAE4+R9pcsT9shmp6zE/+IZe6evHWX63f2Qg=",
"owner": "nix-community",
"repo": "home-manager",
- "rev": "d0bbd221482c2713cccb80220f3c9d16a6e20a33",
+ "rev": "fc3add429f21450359369af74c2375cb34a2d204",
"type": "github"
},
"original": {
@@ -299,11 +299,11 @@
"treefmt-nix": "treefmt-nix"
},
"locked": {
- "lastModified": 1753706554,
- "narHash": "sha256-AB+ovamle9InwpAsW+YP2OwvkxciUi10PDBRg2ZIfhA=",
+ "lastModified": 1753774524,
+ "narHash": "sha256-peCRdk+tf903N6UatxDIW+uTXNp/rQSFZXLRu+vxaC4=",
"owner": "nix-community",
"repo": "neovim-nightly-overlay",
- "rev": "06e4d477d5b34a068b407854c9d402601d96878b",
+ "rev": "40bdb4defa71f0e1295cfe176dc8f30605e1e6b3",
"type": "github"
},
"original": {
@@ -315,11 +315,11 @@
"neovim-src": {
"flake": false,
"locked": {
- "lastModified": 1753647000,
- "narHash": "sha256-AAm4YZiKgChqL/82nAga01fcVPuEcDqIgVRElZAIVdg=",
+ "lastModified": 1753733518,
+ "narHash": "sha256-7znjn3plBanVLxYlRP7219mbEalf3EUvCQyd8y8f9wU=",
"owner": "neovim",
"repo": "neovim",
- "rev": "628d569a594c762952b769776b9c79221fdb23d0",
+ "rev": "dc67ba948eec0a5628eff0b15ce87a7d27f58bb3",
"type": "github"
},
"original": {
@@ -335,11 +335,11 @@
]
},
"locked": {
- "lastModified": 1747752302,
- "narHash": "sha256-XqNAcEFfe5tJZGlx+Su0G67ZwRwZmHNWwiMK0fji0Hw=",
+ "lastModified": 1749744770,
+ "narHash": "sha256-MEM9XXHgBF/Cyv1RES1t6gqAX7/tvayBC1r/KPyK1ls=",
"owner": "nix-darwin",
"repo": "nix-darwin",
- "rev": "74ecd01d2c122f8a4a48066ab1d48f3e01671671",
+ "rev": "536f951efb1ccda9b968e3c9dee39fbeb6d3fdeb",
"type": "github"
},
"original": {
@@ -356,15 +356,15 @@
"nixpkgs": "nixpkgs_4"
},
"locked": {
- "lastModified": 1753783312,
- "narHash": "sha256-k2kWm+GExJDGaP8wVudhqL5baFawOoKqSyly7qQlwPk=",
- "owner": "schererleander",
+ "lastModified": 1753754010,
+ "narHash": "sha256-GSMGu6xM/XJNVdXVSfV1j3mCOf6S2mXqO2l5d5p3a5k=",
+ "owner": "kaylorben",
"repo": "nixcord",
- "rev": "07e15a660a97ec9ad399daa59cf4efa4f0ff3477",
+ "rev": "c0c82012c89de6fd46991780efde570145b379f4",
"type": "github"
},
"original": {
- "owner": "schererleander",
+ "owner": "kaylorben",
"repo": "nixcord",
"type": "github"
}
@@ -450,11 +450,11 @@
},
"nixpkgs_5": {
"locked": {
- "lastModified": 1747610100,
- "narHash": "sha256-rpR5ZPMkWzcnCcYYo3lScqfuzEw5Uyfh+R0EKZfroAc=",
+ "lastModified": 1753749649,
+ "narHash": "sha256-+jkEZxs7bfOKfBIk430K+tK9IvXlwzqQQnppC2ZKFj4=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "ca49c4304acf0973078db0a9d200fd2bae75676d",
+ "rev": "1f08a4df998e21f4e8be8fb6fbf61d11a1a5076a",
"type": "github"
},
"original": {
@@ -464,6 +464,22 @@
"type": "github"
}
},
+ "nixpkgs_6": {
+ "locked": {
+ "lastModified": 1753429684,
+ "narHash": "sha256-9h7+4/53cSfQ/uA3pSvCaBepmZaz/dLlLVJnbQ+SJjk=",
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "rev": "7fd36ee82c0275fb545775cc5e4d30542899511d",
+ "type": "github"
+ },
+ "original": {
+ "owner": "NixOS",
+ "ref": "nixos-unstable",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
"root": {
"inputs": {
"firefox-addons": "firefox-addons",
@@ -472,7 +488,27 @@
"neovim-nightly-overlay": "neovim-nightly-overlay",
"nix-darwin": "nix-darwin",
"nixcord": "nixcord",
- "nixpkgs": "nixpkgs_5"
+ "nixpkgs": "nixpkgs_5",
+ "spicetify-nix": "spicetify-nix"
+ }
+ },
+ "spicetify-nix": {
+ "inputs": {
+ "nixpkgs": "nixpkgs_6",
+ "systems": "systems_2"
+ },
+ "locked": {
+ "lastModified": 1753591727,
+ "narHash": "sha256-Ow+qyFckroPS4SQFHcFZ8mKh3HIQ2pQdC6DRjiYF9EE=",
+ "owner": "Gerg-L",
+ "repo": "spicetify-nix",
+ "rev": "26c488b60360e15db372483d826cec89ac532980",
+ "type": "github"
+ },
+ "original": {
+ "owner": "Gerg-L",
+ "repo": "spicetify-nix",
+ "type": "github"
}
},
"systems": {
@@ -490,6 +526,21 @@
"type": "github"
}
},
+ "systems_2": {
+ "locked": {
+ "lastModified": 1681028828,
+ "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
+ "owner": "nix-systems",
+ "repo": "default",
+ "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-systems",
+ "repo": "default",
+ "type": "github"
+ }
+ },
"treefmt-nix": {
"inputs": {
"nixpkgs": [
diff --git a/flake.nix b/flake.nix
index f8ca3f2..bfbffd1 100644
--- a/flake.nix
+++ b/flake.nix
@@ -12,7 +12,9 @@
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
- nixcord.url = "github:schererleander/nixcord";
+ spicetify-nix.url = "github:Gerg-L/spicetify-nix";
+
+ nixcord.url = "github:kaylorben/nixcord";
firefox-addons.url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
@@ -20,7 +22,7 @@
};
outputs =
- { self, nixpkgs, ... }@inputs:
+ { ... }@inputs:
let
linux-system = "x86_64-linux";
darwin-system = "aarch64-darwin";
@@ -34,9 +36,13 @@
nixosConfigurations = {
desktop = lib.mkSystem {
host = "desktop";
- username = username;
+ username = "leander";
system = linux-system;
overlays = overlays;
+ sharedModules = [
+ inputs.nixcord.homeModules.nixcord
+ inputs.spicetify-nix.homeManagerModules.spicetify
+ ];
};
vps = lib.mkSystem {
host = "vps";