removed work-ntb and useless programs
This commit is contained in:
parent
27bee27627
commit
2d366624df
6 changed files with 10 additions and 97 deletions
|
@ -76,9 +76,7 @@
|
|||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
programs = {
|
||||
tmux.enable = true;
|
||||
zsh.enable = true;
|
||||
git.enable = true;
|
||||
dconf.enable = true;
|
||||
thunderbird.enable = true;
|
||||
firefox.enable = true;
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
}:
|
||||
{
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
inputs.disko.nixosModules.disko
|
||||
inputs.nixos-hardware.nixosModules.common-cpu-intel
|
||||
|
@ -14,8 +13,9 @@
|
|||
];
|
||||
|
||||
zramSwap.enable = true;
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
networking.hostName = "lenar";
|
||||
|
||||
services.power-profiles-daemon.enable = false;
|
||||
services.tlp = {
|
||||
enable = true;
|
||||
|
@ -24,8 +24,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
networking.hostName = "lenar"; # Define your hostname.
|
||||
|
||||
# My own modules configuration
|
||||
krop = {
|
||||
audio = {
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
}:
|
||||
{
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
inputs.disko.nixosModules.disko
|
||||
inputs.nixos-hardware.nixosModules.common-cpu-intel
|
||||
|
@ -14,10 +13,8 @@
|
|||
];
|
||||
|
||||
zramSwap.enable = true;
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
networking.hostName = "wenar-nix"; # Define your hostname.
|
||||
networking.hostName = "wenar-nix";
|
||||
|
||||
# My own modules configuration
|
||||
krop = {
|
||||
|
@ -53,7 +50,7 @@
|
|||
inherit inputs;
|
||||
};
|
||||
users = {
|
||||
"krop" = import ../../users/krop;
|
||||
"krop" = import ./home.nix;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
6
hosts/wenar-nix/home.nix
Normal file
6
hosts/wenar-nix/home.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
home.username = "krop";
|
||||
home.homeDirectory = "/home/krop";
|
||||
home.stateVersion = "24.05";
|
||||
}
|
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
networking.hostName = "work-ntb"; # Define your hostname.
|
||||
|
||||
# My own modules configuration
|
||||
krop = {
|
||||
ide = {
|
||||
enable = true;
|
||||
install-pycharm = true;
|
||||
};
|
||||
python.install-additional = true;
|
||||
};
|
||||
|
||||
home-manager = {
|
||||
extraSpecialArgs = {
|
||||
inherit inputs;
|
||||
};
|
||||
users = {
|
||||
"krop" = import ../../users/krop;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,54 +0,0 @@
|
|||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [
|
||||
"xhci_pci"
|
||||
"ahci"
|
||||
"usb_storage"
|
||||
"sd_mod"
|
||||
"rtsx_pci_sdmmc"
|
||||
];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/360cfb7a-07d9-445b-83e2-6ef19bd55948";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/5F8E-3C09";
|
||||
fsType = "vfat";
|
||||
options = [
|
||||
"fmask=0077"
|
||||
"dmask=0077"
|
||||
];
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
# still possible to use this option, but it's recommended to use it in conjunction
|
||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.eno2.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.wlo1.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
Loading…
Reference in a new issue