commit 9d156cc654a5b41c8c5b868f7d97476c9550992e
parent 9694fb116b33ff5487ca654af37ac9a81ce903e8
Author: GuyClicking <bpaul848@gmail.com>
Date: Thu, 15 Apr 2021 22:10:39 +1000
pure works now yay
Diffstat:
3 files changed, 16 insertions(+), 9 deletions(-)
diff --git a/flake.lock b/flake.lock
@@ -62,18 +62,17 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1617636226,
- "narHash": "sha256-iZhBWrOR2DoDs1C+0FlnM9AQLMol/qoGQ+d+S43CKJM=",
+ "lastModified": 1618306168,
+ "narHash": "sha256-/IOtgzdEaiEqRVn6OhpekuYhRHfCm299Bqts5QqQVko=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "3d1a7716d7f1fccbd7d30ab3b2ed3db831f43bde",
+ "rev": "4c87cb87a2db6b9eb43541c1cf83f2a2f725fa25",
"type": "github"
},
"original": {
- "owner": "NixOS",
- "ref": "nixos-unstable",
- "repo": "nixpkgs",
- "type": "github"
+ "id": "nixpkgs",
+ "ref": "nixpkgs-unstable",
+ "type": "indirect"
}
},
"root": {
diff --git a/flake.nix b/flake.nix
@@ -1,6 +1,8 @@
{
+ description = "NixOS + home-manager configuration";
+
inputs = {
- nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
+ nixpkgs.url = "nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
home-manager = {
@@ -33,6 +35,10 @@
}
];
};
+ apps.x86_64-linux.home = {
+ type = "app";
+ program = "${self.home.activationPackage}/activate";
+ };
home = home-manager.lib.homeManagerConfiguration {
system = "x86_64-linux";
homeDirectory = "/home/benjamin";
diff --git a/home/home.nix b/home/home.nix
@@ -1,13 +1,15 @@
{ pkgs, ... }:
{
+ home.stateVersion = "20.09";
+
home.packages = [
# packages
pkgs.ccls
pkgs.gcc
pkgs.i3lock-color
pkgs.tree-sitter
- ];
+ ];
programs = {
alacritty = import ./alacritty.nix;