Removed useless flake inputs

This commit is contained in:
Alexandre 2025-12-27 01:39:47 +01:00
parent 8efea2a012
commit 3279e6837a
3 changed files with 31 additions and 2 deletions

21
flake.lock generated
View File

@ -508,9 +508,30 @@
"hyprland": "hyprland", "hyprland": "hyprland",
"nix-darwin": "nix-darwin", "nix-darwin": "nix-darwin",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"sops-nix": "sops-nix",
"spicetify-nix": "spicetify-nix" "spicetify-nix": "spicetify-nix"
} }
}, },
"sops-nix": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1766289575,
"narHash": "sha256-BOKCwOQQIP4p9z8DasT5r+qjri3x7sPCOq+FTjY8Z+o=",
"owner": "Mic92",
"repo": "sops-nix",
"rev": "9836912e37aef546029e48c8749834735a6b9dad",
"type": "github"
},
"original": {
"owner": "Mic92",
"repo": "sops-nix",
"type": "github"
}
},
"spicetify-nix": { "spicetify-nix": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_3",

View File

@ -11,6 +11,12 @@
# Spicetify # Spicetify
spicetify-nix.url = "github:Gerg-L/spicetify-nix"; spicetify-nix.url = "github:Gerg-L/spicetify-nix";
# Sops-nix
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-darwin = { nix-darwin = {
url = "github:nix-darwin/nix-darwin/master"; url = "github:nix-darwin/nix-darwin/master";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -21,7 +27,7 @@
}; };
}; };
outputs = { self,nix-darwin ,nixpkgs, home-manager, spicetify-nix, ... }@inputs: { outputs = { self, nix-darwin ,nixpkgs, ... }@inputs: {
# use "nixos", or your hostname as the name of the configuration # use "nixos", or your hostname as the name of the configuration
# it's a better practice than "default" shown in the video # it's a better practice than "default" shown in the video
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem { nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
@ -29,6 +35,7 @@
modules = [ modules = [
./hosts/nixos/configuration.nix ./hosts/nixos/configuration.nix
inputs.home-manager.nixosModules.default inputs.home-manager.nixosModules.default
]; ];
}; };

View File

@ -1,9 +1,10 @@
{ pkgs ,... }: { pkgs, inputs, ... }:
{ {
# This file is used to import all modules required by this setup. # This file is used to import all modules required by this setup.
imports = imports =
[ [
inputs.sops-nix.nixosModules.sops
../../modules/nixos/wireless.nix # For the wifi ../../modules/nixos/wireless.nix # For the wifi
../../modules/nixos/locale.nix # For localisation options ../../modules/nixos/locale.nix # For localisation options
../../modules/nixos/gamming/nvidia.nix # Nvidia (Drivers and Settings) ../../modules/nixos/gamming/nvidia.nix # Nvidia (Drivers and Settings)