home manager fully up
This commit is contained in:
parent
0032452e83
commit
489a217b82
4 changed files with 15 additions and 9 deletions
8
flake.lock
generated
8
flake.lock
generated
|
|
@ -45,16 +45,16 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1782154529,
|
"lastModified": 1781981105,
|
||||||
"narHash": "sha256-mVdyS2SxbPGNHTJX4n4EUMT/S2BPyZJ/ZR2UhkJcSF4=",
|
"narHash": "sha256-/1nNBbA7PrSQpTc9Qazkhl4kIPg+TNl0CjxS3UQJKlw=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "af11a877f238208676b596a5b6c3f3d8dcf5a86b",
|
"rev": "7bfff44b465909f69a442701293bc0badcf476dc",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"ref": "master",
|
"ref": "release-26.05",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
url = "github:zhaofengli/nix-homebrew";
|
url = "github:zhaofengli/nix-homebrew";
|
||||||
};
|
};
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager/master";
|
url = "github:nix-community/home-manager/release-26.05";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
sops-nix = {
|
sops-nix = {
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@
|
||||||
ids.gids.nixbld = 350;
|
ids.gids.nixbld = 350;
|
||||||
programs.fish.enable = true;
|
programs.fish.enable = true;
|
||||||
environment.etc."nix-darwin".source = "/Users/nyxerinys/nix-config";
|
environment.etc."nix-darwin".source = "/Users/nyxerinys/nix-config";
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
# Necessary for using flakes on this system.
|
# Necessary for using flakes on this system.
|
||||||
nix.settings.experimental-features = "nix-command flakes";
|
nix.settings.experimental-features = "nix-command flakes";
|
||||||
|
|
@ -19,7 +20,7 @@
|
||||||
# The platform the configuration will be used on.
|
# The platform the configuration will be used on.
|
||||||
nixpkgs.hostPlatform = "aarch64-darwin";
|
nixpkgs.hostPlatform = "aarch64-darwin";
|
||||||
users.users.nyxerinys = {
|
users.users.nyxerinys = {
|
||||||
name = "Nyx";
|
name = "nyxerinys";
|
||||||
home = "/Users/nyxerinys";
|
home = "/Users/nyxerinys";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
@ -1,10 +1,15 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Home Manager needs a bit of information about you and the
|
# Home Manager needs a bit of information about you and the
|
||||||
# paths it should manage.
|
# paths it should manage.
|
||||||
home.username = "nyxerinys";
|
home.username = "nyxerinys";
|
||||||
home.homeDirectory = "/home/nyxerinys";
|
home.homeDirectory = (
|
||||||
|
if pkgs.stdenv.isDarwin then
|
||||||
|
"/Users/nyxerinys"
|
||||||
|
else
|
||||||
|
"/home/nyxerinys"
|
||||||
|
);
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
discord
|
discord
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue