does commiting make a difference?
This commit is contained in:
parent
6d3c3fb304
commit
4768034eb8
4 changed files with 122 additions and 27 deletions
|
|
@ -24,29 +24,16 @@
|
|||
"wheel"
|
||||
"networkmanager"
|
||||
];
|
||||
packages = with pkgs; [
|
||||
firefox
|
||||
tmux
|
||||
fzf
|
||||
qutebrowser
|
||||
neomutt
|
||||
khal
|
||||
khard
|
||||
rstudio
|
||||
R
|
||||
ruby
|
||||
nodejs
|
||||
vdirsyncer
|
||||
];
|
||||
packages = with pkgs; [];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
neovim
|
||||
wget
|
||||
pipewire
|
||||
git
|
||||
foot
|
||||
wofi
|
||||
pipewire
|
||||
];
|
||||
|
||||
fonts.fonts = with pkgs; [
|
||||
|
|
@ -59,10 +46,6 @@
|
|||
printing.enable = true;
|
||||
};
|
||||
|
||||
programs.sway.enable = true;
|
||||
programs.fish.enable = true;
|
||||
system.copySystemConfiguration = true;
|
||||
|
||||
system.stateVersion = "22.11";
|
||||
}
|
||||
|
||||
|
|
|
|||
48
flake.lock
generated
Normal file
48
flake.lock
generated
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{
|
||||
"nodes": {
|
||||
"home-manager": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1683651229,
|
||||
"narHash": "sha256-HN0Mw8g1XQIrcdyzqT00YW0Uqi/V/BUUUAgvcK1pcSM=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "983f8a1bb965b261492123cd8e2d07da46d4d50a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1683546353,
|
||||
"narHash": "sha256-zEfx6q4fXK5wq+RCsyM0FyWBKNNhHTKMpCWkEpKDe2g=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "7629f9b0680d87c7775f3261bee746da5dac76d1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-22.11",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"home-manager": "home-manager",
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
||||
21
flake.nix
21
flake.nix
|
|
@ -1,17 +1,20 @@
|
|||
{
|
||||
description = "First stab at a flake for my system config"
|
||||
description = "First stab at a flake for my system config";
|
||||
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
|
||||
home-manager.url = "github:nix-community/home-manager";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, ... }@inputs: {
|
||||
|
||||
outputs = { self, nixpkgs }: {
|
||||
nixosConfigurations = {
|
||||
romulus = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
programs.sway.enable = true;
|
||||
networking.hostName = "romulus";
|
||||
}
|
||||
./hardware-romulus.nix
|
||||
|
|
@ -19,5 +22,15 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
|
||||
homeConfigurations = {
|
||||
"till@romulus" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./home-manager/home.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
51
home-manager/home.nix
Normal file
51
home-manager/home.nix
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
{ config, pkgs, inputs, lib, ... }:
|
||||
|
||||
{
|
||||
home.username = "till";
|
||||
home.homeDirectory = "/home/till";
|
||||
home.stateVersion = "22.11";
|
||||
nixpkgs = {
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
allowUnfreePredicate = (_: true);
|
||||
};
|
||||
};
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
exa
|
||||
firefox
|
||||
fzf
|
||||
jq
|
||||
khal
|
||||
khard
|
||||
neomutt
|
||||
nodejs
|
||||
qutebrowser
|
||||
R
|
||||
rstudio
|
||||
ruby
|
||||
tmux
|
||||
tree
|
||||
vdirsyncer
|
||||
];
|
||||
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# home.sessionVariables = {
|
||||
# EDITOR="nvim";
|
||||
# };
|
||||
# home.shellAliases = {
|
||||
# l = "exa";
|
||||
# ls = "exa";
|
||||
# cat = "bat";
|
||||
# };
|
||||
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue