Compare commits
No commits in common. 'b88ad9b5df8f71d6f596ad2ef35600f2ee9fa8ac' and 'a9e5861b3f6b59465732174962005b205a8a361b' have entirely different histories.
b88ad9b5df
...
a9e5861b3f
@ -1,66 +0,0 @@ |
|||||||
{ |
|
||||||
"nodes": { |
|
||||||
"home-manager": { |
|
||||||
"inputs": { |
|
||||||
"nixpkgs": [ |
|
||||||
"nixpkgs" |
|
||||||
] |
|
||||||
}, |
|
||||||
"locked": { |
|
||||||
"lastModified": 1712386041, |
|
||||||
"narHash": "sha256-dA82pOMQNnCJMAsPG7AXG35VmCSMZsJHTFlTHizpKWQ=", |
|
||||||
"owner": "nix-community", |
|
||||||
"repo": "home-manager", |
|
||||||
"rev": "d6bb9f934f2870e5cbc5b94c79e9db22246141ff", |
|
||||||
"type": "github" |
|
||||||
}, |
|
||||||
"original": { |
|
||||||
"owner": "nix-community", |
|
||||||
"ref": "release-23.11", |
|
||||||
"repo": "home-manager", |
|
||||||
"type": "github" |
|
||||||
} |
|
||||||
}, |
|
||||||
"nixpkgs": { |
|
||||||
"locked": { |
|
||||||
"lastModified": 1713145326, |
|
||||||
"narHash": "sha256-m7+IWM6mkWOg22EC5kRUFCycXsXLSU7hWmHdmBfmC3s=", |
|
||||||
"owner": "nixos", |
|
||||||
"repo": "nixpkgs", |
|
||||||
"rev": "53a2c32bc66f5ae41a28d7a9a49d321172af621e", |
|
||||||
"type": "github" |
|
||||||
}, |
|
||||||
"original": { |
|
||||||
"owner": "nixos", |
|
||||||
"ref": "nixos-23.11", |
|
||||||
"repo": "nixpkgs", |
|
||||||
"type": "github" |
|
||||||
} |
|
||||||
}, |
|
||||||
"nixpkgs-unstable": { |
|
||||||
"locked": { |
|
||||||
"lastModified": 1713248628, |
|
||||||
"narHash": "sha256-NLznXB5AOnniUtZsyy/aPWOk8ussTuePp2acb9U+ISA=", |
|
||||||
"owner": "nixos", |
|
||||||
"repo": "nixpkgs", |
|
||||||
"rev": "5672bc9dbf9d88246ddab5ac454e82318d094bb8", |
|
||||||
"type": "github" |
|
||||||
}, |
|
||||||
"original": { |
|
||||||
"owner": "nixos", |
|
||||||
"ref": "nixos-unstable", |
|
||||||
"repo": "nixpkgs", |
|
||||||
"type": "github" |
|
||||||
} |
|
||||||
}, |
|
||||||
"root": { |
|
||||||
"inputs": { |
|
||||||
"home-manager": "home-manager", |
|
||||||
"nixpkgs": "nixpkgs", |
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable" |
|
||||||
} |
|
||||||
} |
|
||||||
}, |
|
||||||
"root": "root", |
|
||||||
"version": 7 |
|
||||||
} |
|
||||||
@ -1,38 +0,0 @@ |
|||||||
{ |
|
||||||
description = "A very basic flake"; |
|
||||||
|
|
||||||
inputs = { |
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11"; |
|
||||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; |
|
||||||
home-manager = { |
|
||||||
url = github:nix-community/home-manager/release-23.11; |
|
||||||
inputs.nixpkgs.follows = "nixpkgs"; |
|
||||||
}; |
|
||||||
}; |
|
||||||
|
|
||||||
outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, ... }@inputs: |
|
||||||
let |
|
||||||
username = "chrigi"; |
|
||||||
lib = nixpkgs.lib; |
|
||||||
system = "x86_64-linux"; |
|
||||||
|
|
||||||
pkgs = import nixpkgs { inherit system; }; |
|
||||||
pkgs-unstable = import nixpkgs-unstable { |
|
||||||
inherit system; |
|
||||||
config.allowUnfree = true; |
|
||||||
}; |
|
||||||
in { |
|
||||||
nixosConfigurations.nix-fw16 = lib.nixosSystem { |
|
||||||
modules = [ |
|
||||||
./configuration.nix |
|
||||||
home-manager.nixosModules.home-manager { |
|
||||||
home-manager.useGlobalPkgs = true; |
|
||||||
home-manager.useUserPackages = true; |
|
||||||
home-manager.users.${username} = import ./home.nix; |
|
||||||
home-manager.extraSpecialArgs = {inherit pkgs-unstable username; }; |
|
||||||
} |
|
||||||
]; |
|
||||||
}; |
|
||||||
}; |
|
||||||
} |
|
||||||
|
|
||||||
@ -1,27 +0,0 @@ |
|||||||
{ config, pkgs, pkgs-unstable, username, ... }: |
|
||||||
|
|
||||||
{ |
|
||||||
# TODO please change the username & home directory to your own |
|
||||||
home.username = "${username}"; |
|
||||||
home.homeDirectory = "/home/${username}"; |
|
||||||
|
|
||||||
# Packages that should be installed to the user profile. |
|
||||||
home.packages = with pkgs; [ |
|
||||||
eza |
|
||||||
pkgs-unstable.obsidian |
|
||||||
jq |
|
||||||
]; |
|
||||||
|
|
||||||
# This value determines the home Manager release that your |
|
||||||
# configuration is compatible with. This helps avoid breakage |
|
||||||
# when a new home Manager release introduces backwards |
|
||||||
# incompatible changes. |
|
||||||
# |
|
||||||
# You can update home Manager without changing this value. See |
|
||||||
# the home Manager release notes for a list of state version |
|
||||||
# changes in each release. |
|
||||||
home.stateVersion = "23.11"; |
|
||||||
|
|
||||||
# Let home Manager install and manage itself. |
|
||||||
# programs.home-manager.enable = true; |
|
||||||
} |
|
||||||
Loading…
Reference in new issue