Base home configuration works
This commit is contained in:
parent
03727d9984
commit
22a6fd34e1
13
flake.nix
13
flake.nix
|
@ -16,7 +16,6 @@
|
||||||
# Imported apps
|
# Imported apps
|
||||||
naersk.url = "github:nix-community/naersk";
|
naersk.url = "github:nix-community/naersk";
|
||||||
rnix-lsp.url = "github:nix-community/rnix-lsp";
|
rnix-lsp.url = "github:nix-community/rnix-lsp";
|
||||||
rnix-lsp.inputs.naersk.follows = "naersk";
|
|
||||||
rnix-lsp.inputs.nixpkgs.follows = "nixpkgs-unstable";
|
rnix-lsp.inputs.nixpkgs.follows = "nixpkgs-unstable";
|
||||||
youmubot.url = "github:natsukagami/youmubot";
|
youmubot.url = "github:natsukagami/youmubot";
|
||||||
nix-gaming.url = github:fufexan/nix-gaming;
|
nix-gaming.url = github:fufexan/nix-gaming;
|
||||||
|
@ -102,12 +101,12 @@
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
./nki-x1c1/configuration.nix
|
./nki-x1c1/configuration.nix
|
||||||
nixpkgsAsRegistry
|
nixpkgsAsRegistry
|
||||||
# home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
# {
|
{
|
||||||
# home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
# home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
# home-manager.users.nki = import ./home/kagami-pc-home.nix;
|
home-manager.users.nki = import ./home/nki-x1c1.nix;
|
||||||
# }
|
}
|
||||||
(overlayForSystem "x86_64-linux")
|
(overlayForSystem "x86_64-linux")
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
bottom
|
bottom
|
||||||
|
|
||||||
## To do tunneling with cloudflare
|
## To do tunneling with cloudflare
|
||||||
cloudflared
|
pkgs.unfree.cloudflared
|
||||||
|
|
||||||
# Databases
|
# Databases
|
||||||
postgresql
|
postgresql
|
||||||
|
|
|
@ -39,7 +39,7 @@ let
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = rev;
|
||||||
sha256 = "sha256-xjfYdwDNp2Ak7t0dfp0SWJcFVve2iDcEKzDukcxVmzI=";
|
sha256 = "sha256-xjfYdwDNp2Ak7t0dfp0SWJcFVve2iDcEKzDukcxVmzI=";
|
||||||
# sha256 = lib.fakeSha256;
|
# sha256 = lib.fakeSha256;
|
||||||
};
|
};
|
||||||
|
|
44
home/nki-x1c1.nix
Normal file
44
home/nki-x1c1.nix
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
{ pkgs, config, lib, ... } :
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
# Common configuration
|
||||||
|
./common.nix
|
||||||
|
# Set up X11-specific common configuration
|
||||||
|
# ./X11/default.nix
|
||||||
|
# ./X11/hidpi.nix # Enable hiDPI
|
||||||
|
# We use our own firefox
|
||||||
|
# ./firefox.nix
|
||||||
|
# osu!
|
||||||
|
# ./osu.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
# Home Manager needs a bit of information about you and the
|
||||||
|
# paths it should manage.
|
||||||
|
home.username = "nki";
|
||||||
|
home.homeDirectory = "/home/nki";
|
||||||
|
|
||||||
|
# More packages
|
||||||
|
home.packages = (with pkgs; [
|
||||||
|
# CLI stuff
|
||||||
|
python
|
||||||
|
zip
|
||||||
|
# TeX
|
||||||
|
texlive.combined.scheme-full
|
||||||
|
|
||||||
|
# Java & sbt
|
||||||
|
openjdk11
|
||||||
|
sbt
|
||||||
|
]);
|
||||||
|
|
||||||
|
# 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 = "21.05";
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue